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

     1  postsubmits:
     2    # This is the github repo we'll build from. This block needs to be repeated
     3    # for each repo.
     4    kubernetes-sigs/scheduler-plugins:
     5      # The name should be changed to match the repo name above
     6      - name: post-scheduler-plugins-push-images
     7        cluster: k8s-infra-prow-build-trusted
     8        annotations:
     9          # This is the name of some testgrid dashboard to report to.
    10          testgrid-dashboards: sig-scheduling, sig-k8s-infra-gcb
    11        decorate: true
    12        branches:
    13          - ^master$
    14          - ^release-.*
    15          # this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
    16          - ^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-]+)*))?$
    17        spec:
    18          serviceAccountName: gcb-builder
    19          containers:
    20            - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4
    21              command:
    22                - /run.sh
    23              args:
    24                # this is the project GCB will run in, which is the same as the GCR
    25                # images are pushed to.
    26                - --project=k8s-staging-scheduler-plugins
    27                # This is the same as above, but with -gcb appended.
    28                - --scratch-bucket=gs://k8s-staging-scheduler-plugins-gcb
    29                - --env-passthrough=PULL_BASE_REF
    30                - .