diff --git a/playbooks/ironic-python-agent-build-image/extra-logs.yaml b/playbooks/ironic-python-agent-build-image/extra-logs.yaml new file mode 100644 index 0000000..84af66e --- /dev/null +++ b/playbooks/ironic-python-agent-build-image/extra-logs.yaml @@ -0,0 +1,7 @@ +- hosts: all + + tasks: + + - name: Collect disk usage info + shell: "df > {{ zuul_output_dir }}/logs/df.txt" + become: yes diff --git a/zuul.d/ironic-python-agent-builder-jobs.yaml b/zuul.d/ironic-python-agent-builder-jobs.yaml index f833be2..bce5c1d 100644 --- a/zuul.d/ironic-python-agent-builder-jobs.yaml +++ b/zuul.d/ironic-python-agent-builder-jobs.yaml @@ -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