From f55c13c2fe6aea5dcc77f1c86d9b0c11aa5fcf8f Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Wed, 4 Jan 2017 08:48:49 +1100 Subject: [PATCH] Remove tox environments that no longer work Remove neutronclient-stable and openstackclient-stable which are designed to run the latest cliff code/change under review against those 2 libraries to reduce the chances of regressions. At some point in the past they ceased to function as expected and rather then correct them remove them as they're not used in the gate anyway. Change-Id: I8fa88134c730ed55afc40c6513f135912cbed5e6 --- integration-tests/neutronclient-stable.sh | 26 --------------------- integration-tests/openstackclient-stable.sh | 26 --------------------- tox.ini | 8 ------- 3 files changed, 60 deletions(-) delete mode 100755 integration-tests/neutronclient-stable.sh delete mode 100755 integration-tests/openstackclient-stable.sh diff --git a/integration-tests/neutronclient-stable.sh b/integration-tests/neutronclient-stable.sh deleted file mode 100755 index 0a04d340..00000000 --- a/integration-tests/neutronclient-stable.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -x - -set -e - -envdir=$1 - -# Manually download the source from PyPI and build it with the --editable flag. -# This gives us access to run the tests. -pip install --pre --no-deps --no-install --no-clean --no-use-wheel python-neutronclient - -# This is where the source will end up after pip is done downloading and building it -srcdir=$envdir/build/python-neutronclient/ -cd $srcdir - -# Install the source safely -pip install --no-clean -ve . - -# Install the test requirements -pip install --no-clean -r $srcdir/test-requirements.txt - -# Force a known hash seed value to avoid sorting errors from tox -# giving us a random one. -export PYTHONHASHSEED=0 - -# Run testr -python setup.py testr diff --git a/integration-tests/openstackclient-stable.sh b/integration-tests/openstackclient-stable.sh deleted file mode 100755 index 3b30d450..00000000 --- a/integration-tests/openstackclient-stable.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -x - -set -e - -envdir=$1 - -# Manually download the source from PyPI and build it with the --editable flag. -# This gives us access to run the tests. -pip install --pre --no-deps --no-install --no-clean --no-use-wheel python-openstackclient - -# This is where the source will end up after pip is done downloading and building it -srcdir=$envdir/build/python-openstackclient/ -cd $srcdir - -# Install the source safely -pip install --no-clean -ve . - -# Install the test requirements -pip install --no-clean -r $srcdir/test-requirements.txt - -# Force a known hash seed value to avoid sorting errors from tox -# giving us a random one. -export PYTHONHASHSEED=0 - -# Run testr -python setup.py testr diff --git a/tox.ini b/tox.ini index 96bf3539..d54dac7d 100644 --- a/tox.ini +++ b/tox.ini @@ -14,19 +14,11 @@ commands = flake8 cliff doc/source/conf.py setup.py [testenv:venv] commands = {posargs} -[testenv:neutronclient-stable] -basepython = python2.7 -commands = {toxinidir}/integration-tests/neutronclient-stable.sh {envdir} - [testenv:neutronclient-tip] basepython = python2.7 deps = -egit+https://git.openstack.org/openstack/python-neutronclient#egg=neutronclient commands = {toxinidir}/integration-tests/neutronclient-tip.sh {envdir} -[testenv:openstackclient-stable] -basepython = python2.7 -commands = {toxinidir}/integration-tests/openstackclient-stable.sh {envdir} - [testenv:openstackclient-tip] basepython = python2.7 deps = -egit+https://git.openstack.org/openstack/python-openstackclient#egg=openstackclient