Ensure log collection always runs

Move log collection to a post run job which always runs
irrespective of whether the main part succeeds

Change-Id: I41b145b5df0f785a7acf1495b0f54f5401d63464
This commit is contained in:
Liam Young 2022-10-28 10:05:52 +00:00
parent 3c4120fc28
commit 82801d4cc2
3 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,3 @@
- hosts: all
roles:
- collect-run-data

View File

@ -3,4 +3,3 @@
- use-docker-mirror
- microk8s-cloud
- zaza-smoke-test
- collect-run-data

View File

@ -7,6 +7,7 @@
- job:
name: zaza-smoke-test
run: playbooks/zaza-smoke-test.yaml
post-run: playbooks/collect-run-data.yaml
requires: charm
dependencies:
- name: charmbuild