k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/k8s-staging-cluster-addons.yaml (about)

     1  postsubmits:
     2    kubernetes-sigs/cluster-addons:
     3      - name: cluster-addons-postsubmit-push-to-staging
     4        cluster: k8s-infra-prow-build-trusted
     5        annotations:
     6          testgrid-dashboards: sig-cluster-lifecycle-cluster-addons, sig-k8s-infra-gcb
     7        decorate: true
     8        branches:
     9          - ^master$
    10          - ^release-.*
    11          # Build tags also
    12          # this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
    13          - ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
    14        spec:
    15          serviceAccountName: gcb-builder
    16          containers:
    17            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    18              command:
    19                - /run.sh
    20              args:
    21                # this is the project GCB will run in, which is the same as the GCR images are pushed to.
    22                - --project=k8s-staging-cluster-addons
    23                - --scratch-bucket=gs://k8s-staging-cluster-addons-gcb
    24                - --env-passthrough=PULL_BASE_REF
    25                - --with-git-dir
    26                - --build-dir=.
    27                - dev/staging/