From ca963c9959f64fe8a30fb537f3eb1ac5cf3ed469 Mon Sep 17 00:00:00 2001 From: Johnny Bieren Date: Tue, 16 May 2017 15:11:54 -0400 Subject: [PATCH] Update playbook so simply changingg xunit to true will function properly Signed-off-by: Johnny Bieren --- contrib/test/crio-integration-playbook.yaml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/contrib/test/crio-integration-playbook.yaml b/contrib/test/crio-integration-playbook.yaml index 943106e7..0083ee65 100644 --- a/contrib/test/crio-integration-playbook.yaml +++ b/contrib/test/crio-integration-playbook.yaml @@ -1,3 +1,6 @@ +## This playbook expects --extra-vars "commit=" +## and either --extra-vars "pullrequest=" or +## --skip-tags pr - hosts: all remote_user: root vars: @@ -195,6 +198,14 @@ poll: 10 ignore_errors: yes when: ansible_distribution == 'RedHat' + - name: run integration tests RHEL with xunit results + shell: 'STORAGE_OPTS="--storage-driver=overlay2 --storage-opt overlay2.override_kernel_check=1" make localintegration' + args: + chdir: /root/src/github.com/kubernetes-incubator/cri-o + async: 3600 + poll: 10 + ignore_errors: yes + when: (ansible_distribution == 'RedHat' and xunit) - name: run integration tests Fedora shell: 'STORAGE_OPTS="--storage-driver=overlay2" make localintegration > testout.txt' args: @@ -203,6 +214,14 @@ poll: 10 ignore_errors: yes when: ansible_distribution == 'Fedora' + - name: run integration tests Fedora with xunit results + shell: 'STORAGE_OPTS="--storage-driver=overlay2" make localintegration' + args: + chdir: /root/src/github.com/kubernetes-incubator/cri-o + async: 3600 + poll: 10 + ignore_errors: yes + when: (ansible_distribution == 'Fedora' and xunit) - name: run integration tests with devicemapper shell: 'make localintegration > testout.txt' args: @@ -211,6 +230,14 @@ poll: 10 ignore_errors: yes when: ansible_distribution == 'CentOS' + - name: run integration tests with devicemapper with xunit results + shell: 'make localintegration' + args: + chdir: /root/src/github.com/kubernetes-incubator/cri-o + async: 3600 + poll: 10 + ignore_errors: yes + when: (ansible_distribution == 'CentOS' and xunit) - name: Make testing output directory file: path: /root/src/github.com/kubernetes-incubator/cri-o/reports