zuul-jobs/roles/fetch-output-openshift/README.rst
Tristan Cacqueray 67e2abda5b fetch-output-openshift: initial role
This change adds a new fetch-output-openshift role to be able to
fetch-output from pod.

Change-Id: I45d5115a10254432805a02a77e0ebb35d7fd2dd4
2020-01-30 20:00:14 +00:00

27 lines
804 B
ReStructuredText

Collect output from build pods
This role can be used instead of the :zuul:role:`fetch-output` role when the
synchronize module doesn't work with kubectl connection.
This role requires the origin-client `oc` to be installed.
**Role Variables**
.. zuul:rolevar:: zuul_output_dir
:default: {{ ansible_user_dir }}/zuul-output
Base directory for collecting job output.
.. zuul:rolevar:: openshift_pods
:default: {{ zuul.resources }}
The dictionary of pod name, pod information to copy the sources to.
.. zuul:rolevar:: zuul_log_verbose
:default: false
The synchronize task in this role outputs a lot of information. By
default, no_log is set to avoid overwhelming a reader of the logs.
Set this to true to disable that behavior if it becomes necessary
to debug this role.