e0e3f3b81c
We currently run 'git gc' on repos before creating the tarball for the node cache. On busy repos this is not enough to cut down the size of the repo. With more aggressive pruning and packing one of our repos in the cache got down from 6GB to 1.8GB. Change-Id: I7ef428c25fde713efabd966d59b5bd97ec248d7e |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
README.rst |
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