Merge "Collect logs from testing"
This commit is contained in:
commit
e8b754ae13
@ -1,6 +1,7 @@
|
||||
- job:
|
||||
name: ansible-role-nodepool
|
||||
run: tests/test.yaml
|
||||
post-run: tests/collect-logs.yaml
|
||||
required-projects:
|
||||
- name: openstack-infra/nodepool
|
||||
override-branch: feature/zuulv3
|
||||
|
10
tests/collect-logs.yaml
Normal file
10
tests/collect-logs.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Collect nodepool log files
|
||||
synchronize:
|
||||
dest: "{{ zuul.executor.log_root }}/logs"
|
||||
mode: pull
|
||||
rsync_opts:
|
||||
- "--relative"
|
||||
src: /var/log/nodepool
|
||||
verify_host: true
|
Loading…
x
Reference in New Issue
Block a user