James E. Blair a74ff55816 Add generate-zuul-manifest role
Also, pin gitpython since it's gone py3-only.

Change-Id: I0d626945908ec4df785aea793f6243c6fdfbdb14
2019-07-23 09:43:55 -07:00

29 lines
754 B
ReStructuredText

Generate a Zuul manifest file for log uploading
This generates a manifest file in preparation for uploading along
with logs. The Zuul web interface can fetch this file in order to
display logs from a build.
**Role Variables**
.. zuul:rolevar:: generate_zuul_manifest_root
:default: {{ zuul.executor.log_dir }}
The root directory to index.
.. zuul:rolevar:: generate_zuul_manifest_filename
:default: zuul-manifest.json
The name of the manifest file.
.. zuul:rolevar:: generate_zuul_manifest_output
:default: {{ zuul.executor.log_dir }}/{{ generate_zuul_manifest_filename }}
The path to the output manifest file.
.. zuul:rolevar:: generate_zuul_manifest_type
:default: zuul_manifest
The artifact type to return to Zuul.