project-config/roles/use-cached-repos/README.rst
James E. Blair 0d94dbf838 Zuul v3: Add use-cached-repos role
This adds a role to clone the cached repos into the workspace,
and alters base-test to use it as well as follow-up roles to
synchronize their states and start zuul_console, instead of the
default prepare-workspace role which uses rsync and is less
efficient.

Change-Id: Ifb0fedf1df1d50444ecb1f3fb03f21b112c9dad9
Depends-On: Ib50ddff0198411e7cd5857d5bfbb915f02baadf1
2017-08-29 16:44:01 -07:00

372 B

Clone repos from the image cache into the workspace

Clon any repos cached on the remote node (via the image build process) that this job uses into the workspace. If a repo doesn't exist, clone it from its source.

These repos are neither up to date, nor do they contain the changes that Zuul has prepared. A separate role should synchronize the local and remote repos.