zuul-jobs/roles/collect-container-logs
Ian Wienand 9b17d6c9df collect-container-logs: don't copy on failure
After a docker failure on a recent job I noticed a single file called
"Got" in the container logs directory; turns out this had tried to
parse the error message "Got permission denied while trying to connect
to the Docker daemon socket ..." as containers.

We don't want this to fail the job hence the ignores here.  However,
we shouldn't try to collect any logs if listing the containers fails.
Move creating the directory first as that is safe.

Change-Id: I41db956964f695cfcc15e30cab8cd4f8c31d3706
2021-04-20 12:10:02 +10:00
..
defaults yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
tasks collect-container-logs: don't copy on failure 2021-04-20 12:10:02 +10:00
README.rst collect-container-logs: add role 2020-01-09 19:52:01 -05:00

An ansible role to collect all container logs.

Role Variables