e4fdd2fece
Add a role to build the stackviz report and include it in the tempest post play. Change-Id: I085460fc7a4fe6baee2d85c8ab3ea3a2128ea54d
25 lines
861 B
YAML
25 lines
861 B
YAML
- hosts: all
|
|
become: true
|
|
vars:
|
|
logs_root: "{{ devstack_base_dir|default('/opt/stack') }}"
|
|
stage_dir: "{{ devstack_base_dir|default('/opt/stack') }}"
|
|
test_results_stage_name: 'test_results'
|
|
roles:
|
|
- role: process-test-results
|
|
test_results_dir: '{{ logs_root }}/tempest'
|
|
tox_envdir: tempest
|
|
- role: process-stackviz
|
|
- role: stage-output
|
|
zuul_copy_output:
|
|
{ '{{ logs_root }}/tempest/etc/tempest.conf': 'logs',
|
|
'{{ logs_root }}/tempest/etc/accounts.yaml': 'logs',
|
|
'{{ logs_root }}/tempest/tempest.log': 'logs',
|
|
'{{ stage_dir }}/{{ test_results_stage_name }}.subunit': 'logs',
|
|
'{{ stage_dir }}/{{ test_results_stage_name }}.html': 'logs',
|
|
'{{ stage_dir }}/stackviz': 'logs' }
|
|
extensions_to_txt:
|
|
- conf
|
|
- log
|
|
- yaml
|
|
- yml
|