f96d170932
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
16 lines
596 B
ReStructuredText
16 lines
596 B
ReStructuredText
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**
|
|
|
|
.. zuul:rolevar:: git_cache_root
|
|
:default: {{ansible_user_dir }}/git-cache"
|
|
|
|
Directory where the git cache should be prepared. Usually this should not
|
|
be changed.
|