Collect disk usage info post CI jobs run

Add extra-logs playbook to collect more logs in the post phase.

Change-Id: I4f9144f45a8c38b098ed67b2fdacffd3a596ae0d
This commit is contained in:
Riccardo Pittau 2023-04-07 09:17:04 +02:00
parent aa1757438d
commit f997078c99
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,7 @@
- hosts: all
tasks:
- name: Collect disk usage info
shell: "df > {{ zuul_output_dir }}/logs/df.txt"
become: yes

View File

@ -3,7 +3,9 @@
parent: publish-openstack-artifacts
pre-run: playbooks/ironic-python-agent-build-image/pre.yaml
run: playbooks/ironic-python-agent-build-image/run.yaml
post-run: playbooks/ironic-python-agent-build-image/post.yaml
post-run:
- playbooks/ironic-python-agent-build-image/post.yaml
- playbooks/ironic-python-agent-build-image/extra-logs.yaml
timeout: 1800
required-projects:
- openstack/requirements
@ -46,6 +48,7 @@
nodeset: ubuntu-focal
pre-run: playbooks/ironic-python-agent-build-image/pre.yaml
run: playbooks/ironic-python-agent-build-image/run.yaml
post-run: playbooks/ironic-python-agent-build-image/extra-logs.yaml
timeout: 1800
required-projects:
- openstack/requirements