Skip to content

Commit

Permalink
ALlow image push for k8s dns(kubedns, node-cache)
Browse files Browse the repository at this point in the history
  • Loading branch information
prameshj committed Apr 7, 2020
1 parent 711c9dd commit 970ae6c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions config/jobs/image-pushing/k8s-staging-dns.yaml
@@ -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
2 changes: 2 additions & 0 deletions config/testgrids/kubernetes/sig-network/config.yaml
Expand Up @@ -2,6 +2,7 @@ dashboard_groups:
- name: sig-network
dashboard_names:
- sig-network-dualstack-azure-e2e
- sig-network-dns
- sig-network-external-dns
- sig-network-gce
- sig-network-gke
Expand All @@ -11,6 +12,7 @@ dashboard_groups:
- sig-network-service-apis

dashboards:
- name: sig-network-dns
- name: sig-network-dualstack-azure-e2e
- name: sig-network-external-dns
- name: sig-network-gce
Expand Down

0 comments on commit 970ae6c

Please sign in to comment.