Ensure that role tests pin pip/setuptools/wheel

Currently the role tests use whatever versions of pip,
setuptools and wheel are already installed on the host.

When a version of these tools changes it often causes
problems for our testing.

This will ensure that we use a known good set of pins
which is maintained in the general SHA bumping process.

Change-Id: I5720eb69cfbbe24136ebdfcac9c68893b3595b27
(cherry picked from commit 0ca9a2c45c)
This commit is contained in:
Jesse Pretorius 2017-06-01 11:14:38 +01:00
parent 11009c1d8f
commit c1cd8aa598
2 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,7 @@ swift_proxy_server_workers: 2
pip_install_options: "--no-binary libvirt-python"
# The URL/path of a constraints file to use when installing the additional pip packages.
pip_install_upper_constraints: "http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata"
pip_install_upper_constraints: "http://git.openstack.org/cgit/openstack/openstack-ansible/plain/global-requirement-pins.txt?h=stable/ocata --constraint http://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/ocata"
# As role tests are executed in temporary environments, we don't need
# to always fetch the latest get-pip.py script

View File

@ -99,6 +99,7 @@ commands =
[testenv:ansible]
deps =
{[testenv]deps}
-rhttps://git.openstack.org/cgit/openstack/openstack-ansible/plain/global-requirement-pins.txt?h=stable/ocata
-r{toxinidir}/test-ansible-deps.txt