Skip to content

Commit

Permalink
autodeploy docker images for authentikos and genjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Clarke committed Dec 7, 2019
1 parent 5707e77 commit f59cc34
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ postsubmits:
- master
labels:
preset-prow-pusher-service-account: "true"
preset-enable-dind: "true"
annotations:
testgrid-create-test-group: "false"
spec:
Expand All @@ -85,14 +86,56 @@ postsubmits:
- docker/prowbazel
- image
- push-safe

- name: post-test-infra-push-authentikos
cluster: test-infra-trusted
run_if_changed: '^authentikos/Makefile$'
decorate: true
max_concurrency: 1
branches:
- master
labels:
preset-prow-pusher-service-account: "true"
preset-enable-dind: "true"
annotations:
testgrid-create-test-group: "false"
spec:
containers:
- image: gcr.io/istio-testing/build-tools:2019-10-18T22-40-12
command:
- entrypoint
args:
- make
- -C
- authentikos
- deploy
securityContext:
privileged: true

- name: post-test-infra-push-genjobs
cluster: test-infra-trusted
run_if_changed: '^prow/genjobs/Makefile$'
decorate: true
max_concurrency: 1
branches:
- master
labels:
preset-prow-pusher-service-account: "true"
preset-enable-dind: "true"
annotations:
testgrid-create-test-group: "false"
spec:
containers:
- image: gcr.io/istio-testing/build-tools:2019-10-18T22-40-12
command:
- entrypoint
args:
- make
- -C
- prow/genjobs
- deploy
securityContext:
privileged: true
volumeMounts:
- name: docker-root
mountPath: /var/lib/docker
volumes:
- name: docker-root
emptyDir: {}

- name: post-istio-test-infra-upload-testgrid-config
cluster: test-infra-trusted
Expand Down
8 changes: 8 additions & 0 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,14 @@ presets:
configMapKeyRef:
name: release-1.4-deps
key: dependencies
- labels:
preset-enable-dind: "true"
volumeMounts:
- name: docker-root
mountPath: /var/lib/docker
volumes:
- name: docker-root
emptyDir: {}
# Enable GOPROXY by default
- env:
- name: GOPROXY
Expand Down

0 comments on commit f59cc34

Please sign in to comment.