zuul-jobs/roles/prepare-workspace-openshift/README.rst
Andreas Jaeger 9b655c8d5d Update roles/prepare-workspace-openshift/README.rst
Use a proper link to the referenced role and mention in the short
description that this is related to OpenShift.

While it might work with any Kubernetes, it uses an
openshift tool, oc.

Change-Id: Ia4fba00c8a3adec4dc26a2d32a21df8ff548a120
2020-01-23 17:09:03 +01:00

17 lines
549 B
ReStructuredText

Prepare remote workspaces in OpenShift
This role can be used instead of the :zuul:role:`prepare-workspace`
role when the synchronize module doesn't work with kubectl connection.
It copies the prepared source repos to the pods' cwd using the `oc
rsync` command.
This role is intended to run once before any other role in a Zuul job.
This role requires the origin-clients to be installed.
**Role Variables**
.. zuul:rolevar:: openshift_pods
:default: {{ zuul.resources }}
The dictionary of pod name, pod information to copy the sources to.