Skip to content

Commit

Permalink
Merge pull request #25319 from Madhan-SWE/cloud-build-changes
Browse files Browse the repository at this point in the history
Added a job for ibm-powervs-block-csi-driver image build and push to GCR
  • Loading branch information
k8s-ci-robot authored Mar 1, 2022
2 parents c84e559 + fe02e10 commit 5236552
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions config/jobs/image-pushing/k8s-staging-cloud-provider-ibm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,36 @@ postsubmits:
- --scratch-bucket=gs://k8s-staging-cloud-provider-ibm-gcb
- --env-passthrough=PULL_BASE_REF
- .

kubernetes-sigs/ibm-powervs-block-csi-driver:
# The name should be changed to match the repo name above
- name: post-ibm-powervs-block-csi-driver-push-images
cluster: k8s-infra-prow-build-trusted
annotations:
# This is the name of some testgrid dashboard to report to.
# If this is the first one for your sig, you may need to create one
testgrid-dashboards: sig-cloud-provider-ibm-powervs-block-csi-driver, sig-k8s-infra-gcb
testgrid-tab-name: post-ibm-powervs-block-csi-driver-image-pushes
decorate: true
# this causes the job to only run on the master branch. Remove it if your
# job makes sense on every branch (unless it's setting a `latest` tag it
# probably does).
branches:
- ^main$
- ^release-.+$
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
- ^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-]+)*))?$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-staging-test-infra/image-builder:v20211014-7ca1952a94
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR
# images are pushed to.
- --project=k8s-staging-cloud-provider-ibm
# This is the same as above, but with -gcb appended.
- --scratch-bucket=gs://k8s-staging-cloud-provider-ibm-gcb
- --env-passthrough=PULL_BASE_REF
- .

0 comments on commit 5236552

Please sign in to comment.