k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/k8s-staging-kwok.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/kwok:
     4      - name: post-kwok-push-images
     5        cluster: k8s-infra-prow-build-trusted
     6        annotations:
     7          # this is the name of some testgrid dashboard to report to.
     8          testgrid-dashboards: sig-scheduling, sig-k8s-infra-gcb
     9        decorate: true
    10        branches:
    11          - ^main$
    12          - ^release-.*
    13          # Build tags also
    14          # this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
    15          - ^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-]+)*))?$
    16        spec:
    17          serviceAccountName: gcb-builder
    18          containers:
    19            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    20              command:
    21                - /run.sh
    22              args:
    23                # this is the project GCB will run in, which is the same as the GCR images are pushed to.
    24                - --project=k8s-staging-kwok
    25                - --scratch-bucket=gs://k8s-staging-kwok-gcb
    26                - --env-passthrough=PULL_BASE_REF
    27                - .