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

enable kind at prow preset #11510

Merged
merged 2 commits into from
Feb 26, 2019
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions config/jobs/kubernetes-sigs/cluster-api/cluster-api-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ periodics:
preset-service-account: "true"
spec:
containers:
- image: gcr.io/k8s-testimages/cluster-api:v20180927-f09bc3b1b
- image: gcr.io/k8s-testimages/cluster-api:v20190114-652973a54
args:
- "--repo=sigs.k8s.io/cluster-api"
- "--root=/go/src"
Expand All @@ -19,7 +19,7 @@ periodics:
preset-service-account: "true"
spec:
containers:
- image: gcr.io/k8s-testimages/cluster-api:v20180720-d52d72975
- image: gcr.io/k8s-testimages/cluster-api:v20190114-652973a54
args:
- "--repo=sigs.k8s.io/cluster-api"
- "--root=/go/src"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ presubmits:
labels:
preset-dind-enabled: "true"
preset-service-account: "true"
preset-kind-volume-mounts: "true"
always_run: false
optional: true
skip_report: true
Expand Down
18 changes: 18 additions & 0 deletions prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,3 +615,21 @@ presets:
volumeMounts:
- name: docker-graph
mountPath: /docker-graph
# volume mounts for kind
- labels:
preset-kind-volume-mounts: "true"
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
volumes:
- name: modules
hostPath:
path: /lib/modules
type: Directory
- name: cgroup
hostPath:
path: /sys/fs/cgroup
type: Directory