31 lines
622 B
YAML
31 lines
622 B
YAML
---
|
|
|
|
- hosts: all
|
|
roles:
|
|
- orchestrate-devstack
|
|
|
|
|
|
- hosts: all
|
|
tasks:
|
|
- name: Run integration tests
|
|
command: "tox -e {{tox_envlist}}"
|
|
args:
|
|
chdir: "/opt/stack/os-faults"
|
|
|
|
|
|
- hosts: all
|
|
vars:
|
|
- test_results_path: "/opt/stack/os-faults/.tox/{{tox_envlist}}/log/pytest_results.html"
|
|
tasks:
|
|
- name: Copy job results
|
|
become: yes
|
|
synchronize:
|
|
src: "{{ test_results_path }}"
|
|
dest: "{{ zuul.executor.log_root }}"
|
|
mode: pull
|
|
copy_links: true
|
|
verify_host: true
|
|
rsync_opts:
|
|
- "--include=/**"
|
|
- "--include=*/"
|