zuul-jobs/roles/merge-output-to-logs
Monty Taylor 3b9e295a37
Use find instead of ls for determining dir emptiness
ls foo/* isn't a great way to do this - but find, as is usually
the case, solves all problems.

Change-Id: Ic30b36ccee41e9b74e187eb3cdab0359f659a1c9
2019-01-21 17:24:51 +00:00
..
tasks Use find instead of ls for determining dir emptiness 2019-01-21 17:24:51 +00:00
README.rst Add role to move docs and artifacts to log root 2019-01-10 22:48:30 +00:00

Put artifacts and docs into the executor log dir

Note

This role only works in a trusted context. It is intended to be used in the post playbook of a base job.

This role moves artifacts and docs into the logs dir when zuul.change is defined so that they can be uploaded to the log server for developer preview and validation.

Artifacts and docs are left in place when zuul.change is not defined so that normal publication jobs can publish them to final locations.