Skip to content

Commit

Permalink
Set the right kubelet version for the kubeadm PR job
Browse files Browse the repository at this point in the history
  • Loading branch information
luxas committed Sep 22, 2017
1 parent 93131d3 commit 96119d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion jobs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10532,7 +10532,6 @@
"--gcp-zone=us-central1-f",
"--ginkgo-parallel=30",
"--kubeadm=pull",
"--kubernetes-anywhere-kubelet-ci-version=latest",
"--kubernetes-anywhere-kubernetes-version=ci/latest",
"--provider=kubernetes-anywhere",
"--test_args=--ginkgo.focus=\\[Conformance\\] --ginkgo.skip=\\[Slow\\]|\\[Serial\\]|\\[Disruptive\\]|\\[Flaky\\] --minStartupPods=8",
Expand Down
7 changes: 7 additions & 0 deletions scenarios/kubernetes_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,13 @@ def main(args):
'--kubernetes-anywhere-kubeadm-version=%s' % version,
])

if args.kubeadm == "pull":
# If this is a pull job; the kubelet version should equal
# the kubeadm version here: we should use debs from the PR build
runner_args.extend([
'--kubernetes-anywhere-kubelet-version=%s' % version,
])

if args.aws:
set_up_aws(args, mode, cluster, runner_args)
elif args.gce_ssh:
Expand Down

0 comments on commit 96119d3

Please sign in to comment.