Merge pull request #1153 from mrunalp/add_kube_version_var

test: Add a version var for kube branches
This commit is contained in:
Antonio Murdaca 2017-11-14 23:06:01 +01:00 committed by GitHub
commit 429a687ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -5,7 +5,7 @@
repo: "https://github.com/runcom/kubernetes.git" repo: "https://github.com/runcom/kubernetes.git"
dest: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes" dest: "{{ ansible_env.GOPATH }}/src/k8s.io/kubernetes"
# based on kube v1.9.0-alpha.2, update as needed # based on kube v1.9.0-alpha.2, update as needed
version: "cri-o-patched-1.9" version: "{{ k8s_git_version }}"
force: "{{ force_clone | default(False) | bool}}" force: "{{ force_clone | default(False) | bool}}"
- name: install etcd - name: install etcd

View file

@ -21,6 +21,8 @@
- name: clone build and install kubernetes - name: clone build and install kubernetes
include: "build/kubernetes.yml" include: "build/kubernetes.yml"
vars:
k8s_git_version: "cri-o-node-e2e-patched-logs"
- name: clone build and install runc - name: clone build and install runc
include: "build/runc.yml" include: "build/runc.yml"
@ -64,6 +66,7 @@
include: "build/kubernetes.yml" include: "build/kubernetes.yml"
vars: vars:
force_clone: True force_clone: True
k8s_git_version: "cri-o-patched-1.9"
- name: run k8s e2e tests - name: run k8s e2e tests
include: e2e.yml include: e2e.yml