zuul-jobs/roles/prepare-workspace-git
Paul Belanger 1e92a67db6 Revert "Ensure git is installed in prepare-workspace-git role"
This is breaking jobs in zuul.ansible.com, as there is an issue with
order with DNS.  In our base jobs, we first configure ensure git repos
are installed on the node, then configure the node for infra things
like dns, package mirrors, etc.  In our case, dns hasn't been fully
configured, which makes the package install fail.

I would propose we revert this change and re-release diskimage-builder. Or
have git considered an image based dependency.

A workaround for now has been to revert DIB, to rebuild images adding
back git.  However, this was exposed due to us missing one image.

This reverts commit 5d09503c88.

Change-Id: I533cbec83f7525175b9a94d70a61ba7424154aa6
2020-08-20 16:13:35 +00:00
..
defaults Add prepare-workspace-git role 2018-10-31 06:11:41 +01:00
tasks Revert "Ensure git is installed in prepare-workspace-git role" 2020-08-20 16:13:35 +00:00
README.rst Add prepare-workspace-git role 2018-10-31 06:11:41 +01: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