Ansible role to manage the building of python venvs
Go to file
Jesse Pretorius 381f3ffba2 Use the same wheel path as the repo_build
Once we remove the repo build process, this needs to point
to the location where wheels are served by pypiserver.

For now we use this to ensure that we don't rebuild the wheels
that were already built by the repo build process. It has also
been found that pypiserver hangs when it encounters duplicated
wheels.

Change-Id: I86510cb7407e4ee69a376fc64ba5b8f5676f0bff
2018-09-02 16:01:38 +01:00
defaults Use the same wheel path as the repo_build 2018-09-02 16:01:38 +01:00
doc Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
handlers Revise the role to properly cater to use-cases 2018-05-04 18:03:59 +01:00
meta Add Bionic testing 2018-07-30 13:10:31 +00:00
releasenotes Update reno for stable/rocky 2018-08-10 16:44:00 +00:00
tasks Use updated syntax for task changed result 2018-09-02 15:40:43 +01:00
tests Simplify builds/installs by eliminating venv packaging 2018-09-01 16:38:42 +00:00
zuul.d switch documentation job to new PTI 2018-08-21 13:21:41 +00:00
.gitignore Updated from OpenStack Ansible Tests 2018-03-28 09:23:18 +00:00
.gitreview Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
LICENSE Initial commit 2018-03-09 17:50:21 +00:00
README.rst Use the virtualenv's pip to build the wheels 2018-08-19 20:15:37 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2018-06-06 00:46:34 +00:00
bindep.txt Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
run_tests.sh Updated from OpenStack Ansible Tests 2018-04-30 05:18:18 +00:00
setup.cfg Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
setup.py Add CI/docs/releasenotes scaffolding and basic test 2018-03-24 22:42:06 +00:00
tox.ini Use the TESTING_BRANCH env var for constraints 2018-08-19 19:17:32 +00:00

README.rst

Team and repository tags

image

OpenStack-Ansible python_venv_build

This Ansible role prepares a python venv for use in OpenStack-Ansible.

The role requires the following to be present prior to execution:

  • virtualenv >= 1.10 (to support using the never-download option)
  • pip >= 7.1 (to support using the constraints option) in the virtualenv once it has been created.

Use-cases

This role is built to cater to the following use-cases:

# Execute a build against a build host, then serve the venvs from a web

server.

# Execute a build against the first host in a group, then serving the

venvs from the deployment host.

References

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-python_venv_build/latest/

The project home is at:

http://launchpad.net/openstack-ansible

Release notes for the project can be found at:

https://docs.openstack.org/releasenotes/ansible-role-python_venv_build/