Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run kubeadm job as a standalone job #2568

Merged
merged 1 commit into from
Apr 25, 2017
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
156 changes: 78 additions & 78 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 Expand Up @@ -253,48 +253,48 @@ presubmits:
- name: cache-ssd
hostPath:
path: /mnt/disks/ssd0
run_after_success:
- name: pull-security-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-security-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-security-kubernetes-cross
context: pull-security-kubernetes-cross
Expand Down