zuul-jobs/roles/test-prepare-workspace-git
James E. Blair d6ae964f47 Avoid fstrings in test-prepare-workspace-git
Fstrings are not supported in python3.5 which is in use on Xenial.
We don't claim to support Xenial, but this is an easy regression
to avoid.

Also, add test jobs for this role so that we get feedback before
copying it to the prod roles.

Also, add a xenial test job to exercise it since we still have
Xenial nodes available.

Change-Id: Ifc773aa688adb1a01cfe691b3bdca0b3086658cd
2024-08-28 09:55:55 -07:00
..
defaults prepare-workspace-git: Add ability to define synced pojects 2024-02-28 10:56:48 -08:00
library Avoid fstrings in test-prepare-workspace-git 2024-08-28 09:55:55 -07:00
module_utils Avoid fstrings in test-prepare-workspace-git 2024-08-28 09:55:55 -07:00
tasks Update test-prepare-workspace-git to use a module 2024-08-02 11:47:37 -07:00
README.rst Update test-prepare-workspace-git to use a module 2024-08-02 11:47:37 -07:00

Mirror the local git repos to remote nodes

This role uses git operations (unlike :zuulprepare-workspace which uses rsync) to mirror the locally prepared git repos to the remote nodes while taking advantage of cached repos on the node if they exist. This role works generically regardless of the existence of a cached repo on the node.

The cached repos need to be placed using the canonical name under the cached_repos_root directory.

Role Variables

This value is ignored; it should be removed from job configuration.