From 96991ebe40589d08b0fd1a3d4cab4239320a1646 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 29 Jun 2022 15:15:34 +1000 Subject: [PATCH] project-config-grafana: collect container logs Add a post step to collect the logs of the grafana and selenium container for debugging purposes. Change-Id: I8224046d265aebbfbec4bf5d0b0f2c2ac18f1076 --- playbooks/grafana/post.yaml | 3 +++ zuul.d/jobs.yaml | 1 + 2 files changed, 4 insertions(+) create mode 100644 playbooks/grafana/post.yaml diff --git a/playbooks/grafana/post.yaml b/playbooks/grafana/post.yaml new file mode 100644 index 00000000..5242b7bf --- /dev/null +++ b/playbooks/grafana/post.yaml @@ -0,0 +1,3 @@ +- hosts: all + roles: + - collect-container-logs diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 122546d7..de3bc8b8 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -1292,6 +1292,7 @@ Validates import and creates screenshots of project-config defined graphs. run: playbooks/grafana/main.yaml + post-run: playbooks/grafana/post.yaml required-projects: - openstack/project-config dependencies: