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:
parent
11009c1d8f
commit
c1cd8aa598
|
@ -446,7 +446,7 @@ swift_proxy_server_workers: 2
|
||||||
pip_install_options: "--no-binary libvirt-python"
|
pip_install_options: "--no-binary libvirt-python"
|
||||||
|
|
||||||
# The URL/path of a constraints file to use when installing the additional pip packages.
|
# 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
|
# As role tests are executed in temporary environments, we don't need
|
||||||
# to always fetch the latest get-pip.py script
|
# to always fetch the latest get-pip.py script
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -99,6 +99,7 @@ commands =
|
||||||
[testenv:ansible]
|
[testenv:ansible]
|
||||||
deps =
|
deps =
|
||||||
{[testenv]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
|
-r{toxinidir}/test-ansible-deps.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue