forked from kubernetes/test-infra
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALlow image push for k8s dns(kubedns, node-cache)
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/dns: | ||
- name: dns-push-images | ||
cluster: test-infra-trusted | ||
annotations: | ||
# this is the name of some testgrid dashboard to report to. | ||
testgrid-dashboards: sig-network-dns | ||
decorate: true | ||
branches: | ||
- ^master$ | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-testimages/image-builder:v20200213-0032cdb | ||
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-dns | ||
- --scratch-bucket=gs://k8s-staging-dns-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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters