contrib: test: run CentOS tests with overlay2

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-05-17 18:05:07 +02:00
parent 26a080ad88
commit 87ca182f5c
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -219,7 +219,7 @@
async: 3600 async: 3600
poll: 10 poll: 10
ignore_errors: yes ignore_errors: yes
when: ansible_distribution == 'RedHat' when: ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS'
- name: run integration tests RHEL with xunit results - name: run integration tests RHEL with xunit results
shell: 'STORAGE_OPTS="--storage-driver=overlay2 --storage-opt overlay2.override_kernel_check=1" make localintegration' shell: 'STORAGE_OPTS="--storage-driver=overlay2 --storage-opt overlay2.override_kernel_check=1" make localintegration'
args: args:
@ -227,7 +227,7 @@
async: 3600 async: 3600
poll: 10 poll: 10
ignore_errors: yes ignore_errors: yes
when: (ansible_distribution == 'RedHat' and xunit) when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and xunit
- name: run integration tests Fedora - name: run integration tests Fedora
shell: 'STORAGE_OPTS="--storage-driver=overlay2" make localintegration > testout.txt' shell: 'STORAGE_OPTS="--storage-driver=overlay2" make localintegration > testout.txt'
args: args:
@ -244,22 +244,6 @@
poll: 10 poll: 10
ignore_errors: yes ignore_errors: yes
when: (ansible_distribution == 'Fedora' and xunit) when: (ansible_distribution == 'Fedora' and xunit)
- name: run integration tests with devicemapper
shell: 'make localintegration > testout.txt'
args:
chdir: /root/src/github.com/kubernetes-incubator/cri-o
async: 3600
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 - name: Make testing output directory
file: file:
path: /root/src/github.com/kubernetes-incubator/cri-o/reports path: /root/src/github.com/kubernetes-incubator/cri-o/reports