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