Add post step to Tempest base job
Stage three tempest conf and log files for archival using the stage-output role. Depends-on: Id45a50821539985710da7172a9185fd91e803603 Change-Id: Id67dbf3df5af52e848b8d378bc13aaa1c02cdd29
This commit is contained in:
parent
7d5445dae2
commit
74810553a0
@ -11,6 +11,7 @@
|
||||
devstack_services:
|
||||
tempest: True
|
||||
run: playbooks/devstack-tempest.yaml
|
||||
post-run: playbooks/post-tempest.yaml
|
||||
|
||||
- project:
|
||||
name: openstack/tempest
|
||||
|
16
playbooks/post-tempest.yaml
Normal file
16
playbooks/post-tempest.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
- hosts: all
|
||||
become: true
|
||||
vars:
|
||||
logs_root: "{{ devstack_base_dir|default('/opt/stack') }}"
|
||||
stage_dir: "{{ devstack_base_dir|default('/opt/stack') }}"
|
||||
roles:
|
||||
- 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' }
|
||||
extensions_to_txt:
|
||||
- conf
|
||||
- log
|
||||
- yaml
|
||||
- yml
|
Loading…
Reference in New Issue
Block a user