openstack-ansible/releasenotes/notes/git-cache-staged-b9cb0e277478b19a.yaml
Jesse Pretorius adebdb884a Allow the use of a pre-staged git cache
This patch provides the ability for the repo server to take advantage
of a pre-staged git cache on the deployment host, such as that provided
on OpenStack-CI's nodes.

This reduces the execution time of the build process by ensuring that
the git clone process only has to complete an update, instead of a
fresh clone.

The patch includes a change to the AIO bootstrap which checks for the
existance of a git cache in the location it is typically found in
OpenStack-CI. If that path exists it sets the repo_build_git_cache
variable. In a case where the AIO is not being built in OpenStack-CI
then the deployer may either use the same path, or provide the path
as an extra option when bootstrapping.

Change-Id: I0c9d574a7f694cd3772a68fcdc71673616ea8e3b
2016-08-22 15:16:38 +01:00

10 lines
505 B
YAML

---
features:
- The repo build process is now able to synchronize a git cache from the
deployment node to the repo server. The git cache path on the deployment
node is set using the variable ``repo_build_git_cache``. If the
deployment node hosts the repo container, then the folder will be
symlinked into the bind mount for the repo container. If the deployment
node does not host the repo container, then the contents of the folder
will be synchronised into the repo container.