27ec4a229d
The venv build process currently executes on every build, destroying all existing venvs for the distribution/architecture of the repo server it executes on, then rebuilds them. It is also terribly difficult to troubleshoot due to the fact that it is executed in parallel through a single bash script using backgrounded processes. This patch breaks the build process up into two parts - the per-venv options files, and the script that uses the options to build the venvs. With this breakdown we're able to do the following: - Only execute a venv rebuild if the venv options (indexes, requirements) have changed. - Use the Ansible asynchonous execution to execute parallel venv builds. As a very welcome side-effect, this also means that the venv build execution provides individual output for success or failures, making it much easier to see what went wrong when failing. As part of the patch, the removal of the *.in, *.txt and *.html files on each wheel build is taken out. This is to protect the venv options files. The removal of those files was unnecessary anyway as they're templated and therefore replaced by Ansible if they need to be changed. Change-Id: I063c3addb6fbabb01d620be33aac2cab29a02750 |
||
---|---|---|
defaults | ||
doc | ||
examples | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
Vagrantfile | ||
bindep.txt | ||
manual-test.rc | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
OpenStack-Ansible repo_build
Ansible role that builds a repository of Git repositories, Python wheels, and virtualenvs.
- Documentation for the project can be found at:
-
http://docs.openstack.org/developer/openstack-ansible-repo_build
- The project home is at: