Skip to content

Commit

Permalink
Add image push job for Cluster API Add-on Provider for Helm
Browse files Browse the repository at this point in the history
  • Loading branch information
Jont828 committed Mar 1, 2023
1 parent e1255e8 commit a312ec4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions config/jobs/image-pushing/k8s-staging-cluster-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,31 @@ postsubmits:
- --env-passthrough=PULL_BASE_REF
- --with-git-dir
- .
kubernetes-sigs/cluster-api-addon-provider-helm:
- name: post-cluster-api-addon-provider-helm-push-images
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
testgrid-alert-email: sig-cluster-lifecycle-cluster-api-helm-alerts@kubernetes.io
decorate: true
branches:
- ^main
# 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:v20230111-cd1b3caf9c
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-cluster-api-helm
- --scratch-bucket=gs://k8s-staging-cluster-api-helm-gcb
- --env-passthrough=PULL_BASE_REF
- --with-git-dir
- .
kubernetes-sigs/cluster-api-provider-aws:
- name: post-cluster-api-provider-aws-push-images
cluster: k8s-infra-prow-build-trusted
Expand Down

0 comments on commit a312ec4

Please sign in to comment.