3596aa0155
This allows us to cache a k8s branch for cri-o 1.0 branch while allowing overriding of k8s branch in master and other newer cri-o branches. Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- setup
|
|
tasks:
|
|
- name: set up the system
|
|
include: system.yml
|
|
|
|
- name: install Golang tools
|
|
include: golang.yml
|
|
vars:
|
|
version: "1.8.4"
|
|
|
|
- name: clone build and install bats
|
|
include: "build/bats.yml"
|
|
|
|
- name: clone build and install cri-tools
|
|
include: "build/cri-tools.yml"
|
|
|
|
- name: clone build and install kubernetes
|
|
include: "build/kubernetes.yml"
|
|
vars:
|
|
k8s_git_version: "cri-o-node-e2e-patched-logs"
|
|
|
|
- name: clone build and install runc
|
|
include: "build/runc.yml"
|
|
|
|
- name: clone build and install networking plugins
|
|
include: "build/plugins.yml"
|
|
|
|
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- integration
|
|
- e2e
|
|
tasks:
|
|
- name: clone build and install cri-o
|
|
include: "build/cri-o.yml"
|
|
|
|
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- integration
|
|
tasks:
|
|
- name: run cri-o integration tests
|
|
include: test.yml
|
|
|
|
- hosts: all
|
|
remote_user: root
|
|
vars_files:
|
|
- "{{ playbook_dir }}/vars.yml"
|
|
tags:
|
|
- e2e
|
|
tasks:
|
|
- name: install Golang tools
|
|
include: golang.yml
|
|
vars:
|
|
version: "1.9.2"
|
|
- name: clone build and install kubernetes
|
|
include: "build/kubernetes.yml"
|
|
vars:
|
|
force_clone: True
|
|
k8s_git_version: "cri-o-patched-1.9"
|
|
|
|
- name: run k8s e2e tests
|
|
include: e2e.yml
|