Use tools/ci/tox script for running tests and making reports
Move infrared plugin role to roles/infrared Change-Id: I7ca5505122bbbff1ea78e974f575e2bda1752d76changes/99/700999/2
parent
008c9fcca0
commit
89dba0a8fa
@ -1,15 +0,0 @@
|
||||
- name: Create Tobiko report
|
||||
shell: |
|
||||
cd "{{ test.dir }}"
|
||||
source "{{ test.venv }}/bin/activate"
|
||||
tox -e report
|
||||
|
||||
- fetch:
|
||||
src: "{{ test.dir }}/{{ item }}"
|
||||
dest: "{{ inventory_dir }}/tobiko_results_{{ test.results_dir_suffix }}/"
|
||||
flat: yes
|
||||
loop:
|
||||
- tobiko.conf
|
||||
- tobiko.log
|
||||
- tobiko_results.html
|
||||
- tobiko_results.xml
|
@ -1,6 +0,0 @@
|
||||
- name: Run Tobiko Tests
|
||||
shell: |
|
||||
cd "{{ test.dir }}"
|
||||
source "{{ test.overcloudrc }}"
|
||||
source "{{ test.venv }}/bin/activate"
|
||||
tox -e {{ test.tests }}
|
@ -0,0 +1,19 @@
|
||||
---
|
||||
|
||||
- name: Create Tobiko report
|
||||
shell:
|
||||
chdir: "{{ test.dir }}"
|
||||
cmd: |
|
||||
source "{{ test.overcloudrc }}"
|
||||
tools/ci/tox -e report
|
||||
|
||||
|
||||
- fetch:
|
||||
src: "{{ test.dir }}/{{ item }}"
|
||||
dest: "{{ inventory_dir }}/tobiko_results_{{ test.results_dir_suffix }}/"
|
||||
flat: yes
|
||||
loop:
|
||||
- tobiko.conf
|
||||
- tobiko.log
|
||||
- tobiko_results.html
|
||||
- tobiko_results.xml
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
|
||||
- name: Run Tobiko Tests
|
||||
shell:
|
||||
chdir: "{{ test.dir }}"
|
||||
cmd: |
|
||||
source "{{ test.overcloudrc }}"
|
||||
tools/ci/tox -e "{{ test.tests }}"
|
Loading…
Reference in New Issue