tempest/playbooks/post-tempest.yaml
Andrea Frittoli b57c8a4288 Do not override stage-dir in tempest post
Stage dir used to be /opt/stack but now devstack changed to
use ansible user dir as a stage dir (which is the default
value) so the override is not needed anymore.

Change-Id: Id531271da326413c5a88947d9a8b3ac4da68c47d
2018-01-10 22:10:48 +00:00

24 lines
798 B
YAML

- hosts: all
become: true
vars:
logs_root: "{{ 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