Capture probe test logs
Change-Id: Ib2f3aa1d70e6d28e00570fe21352031dc41325d0
This commit is contained in:
parent
e5ce83b967
commit
1b546f6b77
@ -117,6 +117,7 @@
|
||||
- playbooks/saio_single_node_setup/setup_saio.yaml
|
||||
- playbooks/saio_single_node_setup/make_rings.yaml
|
||||
run: playbooks/probetests/run.yaml
|
||||
post-run: playbooks/probetests/post.yaml
|
||||
|
||||
- project:
|
||||
check:
|
||||
|
16
playbooks/probetests/post.yaml
Normal file
16
playbooks/probetests/post.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
- hosts: all
|
||||
become: true
|
||||
tasks:
|
||||
- name: Ensure swift logs are readable before syncing
|
||||
file:
|
||||
path: '/var/log/swift'
|
||||
mode: u=rwX,g=rX,o=rX
|
||||
state: directory
|
||||
recurse: yes
|
||||
- name: Copy swift logs from worker nodes to executor node
|
||||
synchronize:
|
||||
src: '/var/log/swift'
|
||||
dest: '{{ zuul.executor.log_root }}'
|
||||
mode: pull
|
||||
copy_links: true
|
||||
verify_host: true
|
Loading…
Reference in New Issue
Block a user