Skip to content

Commit

Permalink
Run kubeadm job as a standalone job
Browse files Browse the repository at this point in the history
  • Loading branch information
fejta committed Apr 25, 2017
1 parent 6605c98 commit 733c20e
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,48 +77,48 @@ presubmits:
- name: cache-ssd
hostPath:
path: /mnt/disks/ssd0
run_after_success:
- name: pull-kubernetes-e2e-kubeadm-gce
context: Jenkins kubeadm e2e
always_run: false
skip_report: true
rerun_command: "@k8s-bot kubeadm e2e test this"
trigger: "@k8s-bot (kubeadm e2e )?test this"
spec:
containers:
- image: gcr.io/k8s-testimages/e2e-kubeadm:0.4
args:
- "--pull=$(PULL_REFS)"
- "--upload=gs://kubernetes-jenkins/pr-logs"
- "--git-cache=/root/.cache/git"
- "--clean"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
- name: JENKINS_GCE_SSH_PRIVATE_KEY_FILE
value: /etc/ssh-key-secret/ssh-private
- name: JENKINS_GCE_SSH_PUBLIC_KEY_FILE
value: /etc/ssh-key-secret/ssh-public
volumeMounts:
- name: service
mountPath: /etc/service-account
readOnly: true
- name: ssh
mountPath: /etc/ssh-key-secret
readOnly: true
- name: cache-ssd
mountPath: /root/.cache
volumes:

- name: pull-kubernetes-e2e-kubeadm-gce
context: Jenkins kubeadm e2e
always_run: false
skip_report: true
rerun_command: "@k8s-bot kubeadm e2e test this"
trigger: "@k8s-bot (kubeadm e2e )?test this"
spec:
containers:
- image: gcr.io/k8s-testimages/e2e-kubeadm:0.4
args:
- "--pull=$(PULL_REFS)"
- "--upload=gs://kubernetes-jenkins/pr-logs"
- "--git-cache=/root/.cache/git"
- "--clean"
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /etc/service-account/service-account.json
- name: JENKINS_GCE_SSH_PRIVATE_KEY_FILE
value: /etc/ssh-key-secret/ssh-private
- name: JENKINS_GCE_SSH_PUBLIC_KEY_FILE
value: /etc/ssh-key-secret/ssh-public
volumeMounts:
- name: service
secret:
secretName: service-account
mountPath: /etc/service-account
readOnly: true
- name: ssh
secret:
secretName: ssh-key-secret
defaultMode: 0400
mountPath: /etc/ssh-key-secret
readOnly: true
- name: cache-ssd
hostPath:
path: /mnt/disks/ssd0
mountPath: /root/.cache
volumes:
- name: service
secret:
secretName: service-account
- name: ssh
secret:
secretName: ssh-key-secret
defaultMode: 0400
- name: cache-ssd
hostPath:
path: /mnt/disks/ssd0

- name: pull-kubernetes-cross
context: pull-kubernetes-cross
Expand Down

0 comments on commit 733c20e

Please sign in to comment.