diff --git a/contrib/test/integration/build/kubernetes.yml b/contrib/test/integration/build/kubernetes.yml index f724230c..f0b929a7 100644 --- a/contrib/test/integration/build/kubernetes.yml +++ b/contrib/test/integration/build/kubernetes.yml @@ -5,6 +5,7 @@ repo: "https://github.com/runcom/kubernetes.git" dest: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes" version: "cri-o-patched-1.8" + force: "{{ force_clone | default(False) | bool}}" - name: install etcd command: "hack/install-etcd.sh" diff --git a/contrib/test/integration/e2e.yml b/contrib/test/integration/e2e.yml index 41f92757..5c4d656e 100644 --- a/contrib/test/integration/e2e.yml +++ b/contrib/test/integration/e2e.yml @@ -1,8 +1,5 @@ --- -- name: clone build and install kubernetes - include: "build/kubernetes.yml" - - name: enable and start CRI-O systemd: name: crio diff --git a/contrib/test/integration/main.yml b/contrib/test/integration/main.yml index ce4a206f..19dd5b3e 100644 --- a/contrib/test/integration/main.yml +++ b/contrib/test/integration/main.yml @@ -54,5 +54,10 @@ tags: - e2e tasks: + - name: clone build and install kubernetes + include: "build/kubernetes.yml" + vars: + force_clone: True + - name: run k8s e2e tests include: e2e.yml