k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/k8s-staging-metrics-server.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/metrics-server: 4 - name: post-metrics-server-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-instrumentation-image-pushes, sig-k8s-infra-gcb 9 decorate: true 10 branches: 11 - ^main$ 12 # this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string 13 - ^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-]+)*))?$ 14 spec: 15 serviceAccountName: gcb-builder 16 containers: 17 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 18 command: 19 - /run.sh 20 args: 21 # this is the project GCB will run in, which is the same as the GCR images are pushed to. 22 - --project=k8s-staging-metrics-server 23 - --scratch-bucket=gs://k8s-staging-metrics-server-gcb 24 - --env-passthrough=PULL_BASE_REF,PULL_BASE_SHA 25 - .