Skip to content

Commit

Permalink
Enable GCB for CABPK
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Goldstein <goldsteina@vmware.com>
  • Loading branch information
ncdc committed Sep 19, 2019
1 parent 3dfd16c commit 29aac00
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions config/jobs/image-pushing/k8s-staging-cluster-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,33 @@ postsubmits:
- name: creds
secret:
secretName: deployer-service-account
kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm:
- name: post-cluster-api-bootstrap-provider-push-images
cluster: test-infra-trusted
annotations:
# this is the name of some testgrid dashboard to report to.
testgrid-dashboards: sig-cluster-lifecycle-image-pushes
decorate: true
branches:
- ^master$
spec:
containers:
- image: gcr.io/k8s-testimages/image-builder:v20190906-d5d7ce3
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-kubeadm
- --scratch-bucket=gs://k8s-staging-capi-kubeadm-gcb
- --env-passthrough=PULL_BASE_REF
- .
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /creds/service-account.json
volumeMounts:
- name: creds
mountPath: /creds
volumes:
- name: creds
secret:
secretName: deployer-service-account

0 comments on commit 29aac00

Please sign in to comment.