From e4d38db92fb55249cc3c23a8b7e238b8242188f8 Mon Sep 17 00:00:00 2001 From: Karthik K N Date: Wed, 6 Apr 2022 21:49:00 +0530 Subject: [PATCH] Added job to build and push ibm power vs cloud provider image --- .../k8s-staging-cluster-api.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/config/jobs/image-pushing/k8s-staging-cluster-api.yaml b/config/jobs/image-pushing/k8s-staging-cluster-api.yaml index f4a4230df944..e881b86e2a8c 100644 --- a/config/jobs/image-pushing/k8s-staging-cluster-api.yaml +++ b/config/jobs/image-pushing/k8s-staging-cluster-api.yaml @@ -235,6 +235,38 @@ postsubmits: - --env-passthrough=PULL_BASE_REF - --with-git-dir - . + - name: post-ibm-powervs-cloud-provider-push-images + run_if_changed: 'hack/ccm' + rerun_auth_config: + github_team_slugs: + - org: kubernetes-sigs + slug: cluster-api-provider-ibmcloud-maintainers + github_users: + - mkumatag + - karthik-k-n + cluster: k8s-infra-prow-build-trusted + annotations: + # this is the name of some testgrid dashboard to report to. + testgrid-dashboards: sig-cluster-lifecycle-image-pushes, sig-k8s-infra-gcb + decorate: true + 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:v20220314-46af1b01a6 + 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-capi-ibmcloud + - --scratch-bucket=gs://k8s-staging-capi-ibmcloud-gcb + - --env-passthrough=PULL_BASE_REF + - --with-git-dir + - . periodics: - name: cluster-api-push-images-nightly