Refactor the CRI-O test playbook to be more modular

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
This commit is contained in:
Steve Kuznetsov 2017-09-19 15:50:37 -07:00
parent 89f18fa7b5
commit e160796d4e
No known key found for this signature in database
GPG key ID: 366E054B30FC03A2
12 changed files with 550 additions and 618 deletions

View file

@ -0,0 +1,56 @@
- hosts: all
remote_user: root
vars:
xunit: false
tags:
- setup
tasks:
- name: set up the system
include: system.yml
- name: install Golang tools
include: golang.yml
- 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"
- 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:
xunit: false
tags:
- integration
- e2e
tasks:
- name: clone build and install cri-o
include: "build/cri-o.yml"
- hosts: all
remote_user: root
vars:
xunit: false
tags:
- integration
tasks:
- name: run cri-o integration tests
include: test.yml
- hosts: all
remote_user: root
tags:
- e2e
tasks:
- name: run k8s e2e tests
include: e2e.yml