zuul-jobs/roles/git-prepare-nodecache
Tobias Henkel f96d170932
Add role git-prepare-nodecache
The git-prepare-nodecache is a companion role that can be used to
create a git cache suitable to be used by the prepare-workspace-git
role.

Change-Id: I623eb8abc64d956069b4f18d7a1d61383a705ac9
2018-11-09 15:57:03 +01:00
..
defaults Add role git-prepare-nodecache 2018-11-09 15:57:03 +01:00
tasks Add role git-prepare-nodecache 2018-11-09 15:57:03 +01:00
README.rst Add role git-prepare-nodecache 2018-11-09 15:57:03 +01:00

Prepare an archive containing all repositories that are part of the job. This can be used to prepare the repos archive suitable for caching in the node image to be used by prepare-workspace-git.

The path to the resulting archive file will be stored in the git_cache_file variable. That variable can be used to push the archive to a place where it will be picked up to be baked into the node image.

Role variables