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

     1  postsubmits:
     2    # This is the github repo we'll build from. This block needs to be repeated for each repo.
     3    kubernetes/cloud-provider-openstack:
     4      - name: cloud-provider-openstack-push-images
     5        cluster: k8s-infra-prow-build-trusted
     6        annotations:
     7          testgrid-dashboards: provider-openstack-openstack-cloud-controller-manager, provider-openstack-openstack-csi-cinder, provider-openstack-manila-csi-plugin, provider-openstack-keystone-authentication-authorization, sig-k8s-infra-gcb
     8          testgrid-tab-name: cloud-provider-openstack-image-pushes
     9        decorate: true
    10        branches:
    11          # For publishing canary images.
    12          - ^master$
    13          - ^release-
    14          # For publishing tagged images. Those will only get built once, i.e.
    15          # existing images are not getting overwritten. A new tag must be set to
    16          # trigger another image build. Images are only built for tags that follow
    17          # the semver format (regex from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string).
    18          - ^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-]+)*))?$
    19        spec:
    20          serviceAccountName: gcb-builder
    21          containers:
    22            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    23              command:
    24                - /run.sh
    25              args:
    26                # this is the project GCB will run in, which is the same as the GCR
    27                # images are pushed to.
    28                - --project=k8s-staging-provider-os
    29                # This is the same as above, but with -gcb appended.
    30                - --scratch-bucket=gs://k8s-staging-provider-os-gcb
    31                - --env-passthrough=PULL_BASE_REF
    32                - --with-git-dir
    33                - .