Update tox build settings
Remove heatclient and magnumclient from install-tips We do not consume them anymore, so do not need to install them as part of our tips testing. Install from pip using upper-constraints. To ensure we work with OpenStack releases. Change-Id: I98f39d2e2a591eb84a1ebcd033eb51e1758f1f39
This commit is contained in:
parent
8aa8688ba8
commit
bb4eededb0
@ -16,15 +16,13 @@
|
|||||||
|
|
||||||
for lib in \
|
for lib in \
|
||||||
os-client-config \
|
os-client-config \
|
||||||
keystoneauth \
|
|
||||||
python-novaclient \
|
python-novaclient \
|
||||||
python-keystoneclient \
|
python-keystoneclient \
|
||||||
python-cinderclient \
|
python-cinderclient \
|
||||||
python-neutronclient \
|
python-neutronclient \
|
||||||
python-ironicclient \
|
python-ironicclient \
|
||||||
python-heatclient \
|
|
||||||
python-designateclient \
|
python-designateclient \
|
||||||
python-magnumclient
|
keystoneauth
|
||||||
do
|
do
|
||||||
egg=$(echo $lib | tr '-' '_' | sed 's/python-//')
|
egg=$(echo $lib | tr '-' '_' | sed 's/python-//')
|
||||||
if [ -d /opt/stack/new/$lib ] ; then
|
if [ -d /opt/stack/new/$lib ] ; then
|
||||||
|
19
tox.ini
19
tox.ini
@ -5,30 +5,15 @@ skipsdist = True
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
LANG=en_US.UTF-8
|
LANG=en_US.UTF-8
|
||||||
LANGUAGE=en_US:en
|
LANGUAGE=en_US:en
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:record]
|
|
||||||
usedevelop = True
|
|
||||||
install_command = pip install -U {opts} {packages}
|
|
||||||
setenv =
|
|
||||||
VIRTUAL_ENV={envdir}
|
|
||||||
LANG=en_US.UTF-8
|
|
||||||
LANGUAGE=en_US:en
|
|
||||||
LC_ALL=C
|
|
||||||
BETAMAX_RECORD_FIXTURES=1
|
|
||||||
passenv = SHADE_OS_CLOUD
|
|
||||||
deps = -r{toxinidir}/requirements.txt
|
|
||||||
-r{toxinidir}/test-requirements.txt
|
|
||||||
commands = python setup.py testr --slowest --testr-args='--concurrency=1 {posargs}'
|
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
setenv =
|
setenv =
|
||||||
OS_TEST_PATH = ./shade/tests/functional
|
OS_TEST_PATH = ./shade/tests/functional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user