k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/k8s-staging-cloud-provider-gcp.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-sigs/gcp-filestore-csi-driver:
     4      - name: post-gcp-filestore-push-images
     5        cluster: k8s-infra-prow-build-trusted
     6        annotations:
     7          testgrid-dashboards: provider-gcp-filestore-csi-driver, sig-k8s-infra-gcb
     8        decorate: true
     9        branches:
    10          # For publishing canary images.
    11          - ^master$
    12          - ^release-
    13          # For publishing tagged images. Those will only get built once, i.e.
    14          # existing images are not getting overwritten. A new tag must be set to
    15          # trigger another image build. Images are only built for tags that follow
    16          # the semver format (regex from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string).
    17          - ^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-]+)*))?$
    18        spec:
    19          serviceAccountName: gcb-builder
    20          containers:
    21            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    22              command:
    23                - /run.sh
    24              args:
    25                # this is the project GCB will run in, which is the same as the GCR
    26                # images are pushed to.
    27                - --project=k8s-staging-cloud-provider-gcp
    28                # This is the same as above, but with -gcb appended.
    29                - --scratch-bucket=gs://k8s-staging-cloud-provider-gcp-gcb
    30                - --env-passthrough=PULL_BASE_REF
    31                - .
    32    kubernetes-sigs/gcp-compute-persistent-disk-csi-driver:
    33      - name: post-gcp-compute-persistent-disk-csi-driver-push-images
    34        cluster: k8s-infra-prow-build-trusted
    35        annotations:
    36          testgrid-dashboards: provider-gcp-compute-persistent-disk-csi-driver, sig-k8s-infra-gcb
    37          testgrid-tab-name: post-image-k8s-staging-cloud-provider-gcp
    38        decorate: true
    39        branches:
    40          # For publishing canary images.
    41          - ^master$
    42          - ^release-
    43          # For publishing tagged images. Those will only get built once, i.e.
    44          # existing images are not getting overwritten. A new tag must be set to
    45          # trigger another image build. Images are only built for tags that follow
    46          # the semver format (regex from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string).
    47          - ^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-]+)*))?$
    48        spec:
    49          serviceAccountName: gcb-builder
    50          containers:
    51            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    52              command:
    53                - /run.sh
    54              args:
    55                # this is the project GCB will run in, which is the same as the GCR
    56                # images are pushed to.
    57                - --project=k8s-staging-cloud-provider-gcp
    58                - --scratch-bucket=gs://k8s-staging-cloud-provider-gcp-gcb
    59                - --env-passthrough=PULL_BASE_REF
    60                - .
    61  
    62    kubernetes/cloud-provider-gcp:
    63      - name: post-cloud-provider-gcp-push-images
    64        cluster: k8s-infra-prow-build-trusted
    65        annotations:
    66          testgrid-dashboards: provider-gcp-postsubmits, sig-k8s-infra-gcb
    67        decorate: true
    68        branches:
    69          # For publishing canary images.
    70          - ^master$
    71          - ^release-
    72          # For publishing tagged images. Those will only get built once, i.e.
    73          # existing images are not getting overwritten. A new tag must be set to
    74          # trigger another image build. Images are only built for tags that follow
    75          # the repository specific format https://github.com/kubernetes/cloud-provider-gcp#tagging-for-new-cloud-controller-manager-versions
    76          # the semver format (regex from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string).
    77          - 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-]+)*))?$
    78        spec:
    79          serviceAccountName: gcb-builder
    80          containers:
    81            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    82              command:
    83                - /run.sh
    84              args:
    85                # this is the project GCB will run in, which is the same as the GCR
    86                # images are pushed to.
    87                - --project=k8s-staging-cloud-provider-gcp
    88                - --scratch-bucket=gs://k8s-staging-cloud-provider-gcp-gcb
    89                - --env-passthrough=PULL_BASE_REF
    90                - --with-git-dir
    91                - .
    92              env:
    93                - name: LOG_TO_STDOUT
    94                  value: "y"