
Use zuul_workspace_root as the destination folder for preparing and mirroring the workspace, which points to ansible_user_dir by default. (As is currently the case). The override of this variable can be useful when using a static node with multiple slots to use a separate workspace for each slot. Change-Id: I2014b9c876907cfc17a0ec7fa2b6d4e67cb2331c
20 lines
593 B
ReStructuredText
20 lines
593 B
ReStructuredText
Mirror the local git repos to remote nodes
|
|
|
|
This role uses git operations (unlike :zuul:role:`prepare-workspace`
|
|
which uses rsync) to mirror the local prepared git repos to the remote
|
|
nodes. This may be useful if the remote node already has a copy of
|
|
some or all of the git repos.
|
|
|
|
**Role Variables**
|
|
|
|
.. zuul:rolevar:: mirror_workspace_quiet
|
|
:default: false
|
|
|
|
If `true` git operations will be silenced and won't print every
|
|
changed reference.
|
|
|
|
.. zuul:rolevar:: zuul_workspace_root
|
|
:default: "{{ ansible_user_dir }}"
|
|
|
|
The root of the workspace in which the repos are mirrored.
|