Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions config/jobs/image-pushing/k8s-staging-capi-openstack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
postsubmits:
# this is the github repo we'll build from; this block needs to be repeated for each repo.
kubernetes-sigs/cluster-api-provider-openstack:
- name: post-capi-openstack-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-openstack
- --scratch-bucket=gs://k8s-staging-capi-openstack-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