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:
parent
3c4120fc28
commit
82801d4cc2
3
playbooks/collect-run-data.yaml
Normal file
3
playbooks/collect-run-data.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- collect-run-data
|
@ -3,4 +3,3 @@
|
|||||||
- use-docker-mirror
|
- use-docker-mirror
|
||||||
- microk8s-cloud
|
- microk8s-cloud
|
||||||
- zaza-smoke-test
|
- zaza-smoke-test
|
||||||
- collect-run-data
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
- job:
|
- job:
|
||||||
name: zaza-smoke-test
|
name: zaza-smoke-test
|
||||||
run: playbooks/zaza-smoke-test.yaml
|
run: playbooks/zaza-smoke-test.yaml
|
||||||
|
post-run: playbooks/collect-run-data.yaml
|
||||||
requires: charm
|
requires: charm
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: charmbuild
|
- name: charmbuild
|
||||||
|
Loading…
x
Reference in New Issue
Block a user