Merge "Collect logs from testing"
This commit is contained in:
commit
e8b754ae13
|
@ -1,6 +1,7 @@
|
||||||
- job:
|
- job:
|
||||||
name: ansible-role-nodepool
|
name: ansible-role-nodepool
|
||||||
run: tests/test.yaml
|
run: tests/test.yaml
|
||||||
|
post-run: tests/collect-logs.yaml
|
||||||
required-projects:
|
required-projects:
|
||||||
- name: openstack-infra/nodepool
|
- name: openstack-infra/nodepool
|
||||||
override-branch: feature/zuulv3
|
override-branch: feature/zuulv3
|
||||||
|
|
|
@ -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…
Reference in New Issue