k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/config/jobs/image-pushing/k8s-staging-cloud-provider-vsphere.yaml (about) 1 postsubmits: 2 kubernetes/cloud-provider-vsphere: 3 - name: post-cloud-provider-vsphere-push-images 4 cluster: k8s-infra-prow-build-trusted 5 annotations: 6 testgrid-dashboards: vmware-postsubmits-cloud-provider-vsphere, sig-k8s-infra-gcb 7 testgrid-tab-name: post-cloud-provider-vsphere-push-images 8 testgrid-alert-email: k8s-infra-staging-cloud-pv-vsphere@kubernetes.io 9 testgrid-num-failures-to-alert: "2" 10 decorate: true 11 branches: 12 - ^master$ 13 - ^release-.* 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 24 # images are pushed to. 25 - --project=k8s-staging-cloud-pv-vsphere 26 - --scratch-bucket=gs://k8s-staging-cloud-pv-vsphere-gcb 27 - --env-passthrough=PULL_BASE_REF 28 - --with-git-dir 29 - . 30 31 periodics: 32 - name: cloud-provider-vsphere-push-images-nightly 33 cluster: k8s-infra-prow-build-trusted 34 decorate: true 35 cron: '0 16 * * *' # everyday at 0:00 GMT+8 (16:00 UTC) 36 extra_refs: 37 - org: kubernetes 38 repo: cloud-provider-vsphere 39 base_ref: master 40 path_alias: k8s.io/cloud-provider-vsphere 41 spec: 42 serviceAccountName: gcb-builder 43 containers: 44 - image: gcr.io/k8s-staging-test-infra/image-builder:v20230711-e33377c2b4 45 command: 46 - /run.sh 47 args: 48 # this is the project GCB will run in, which is the same as the GCR images are pushed to. 49 - --project=k8s-staging-cloud-pv-vsphere 50 - --scratch-bucket=gs://k8s-staging-cloud-pv-vsphere-gcb 51 - --env-passthrough=PULL_BASE_REF 52 - --gcb-config=cloudbuild-nightly.yaml 53 - --with-git-dir 54 - . 55 env: 56 # We need to emulate a pull job for the cloud build to work the same 57 # way as it usually does. 58 - name: PULL_BASE_REF 59 value: master 60 annotations: 61 # this is the name of some testgrid dashboard to report to. 62 testgrid-dashboards: sig-k8s-infra-gcb 63 testgrid-tab-name: cloud-provider-vsphere-push-images-nightly 64 testgrid-alert-email: k8s-infra-staging-cloud-pv-vsphere@kubernetes.io