Use the TESTING_BRANCH env var for constraints
The TESTING_BRANCH environment variable is provided by the run_tests.sh script and is derived from the .gitreview file. This ensures that once the master branch becomes a stable branch, the constraints from the stable branch in the integrated repository will automatically get used once the .gitreview file is updated. To ensure that the required environment variables are present we export them appropriately in run_tests.sh and modify the tox configuration to pass them into the tox test. Change-Id: Id60990bad2e47d89190eaf6cbe3fe1faf69af734 Needed-By: https://review.openstack.org/579371
This commit is contained in:
parent
b0b2a1ebcd
commit
63b0b0a596
5
tox.ini
5
tox.ini
@ -11,14 +11,17 @@ install_command =
|
|||||||
commands =
|
commands =
|
||||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||||
passenv =
|
passenv =
|
||||||
|
COMMON_TESTS_PATH
|
||||||
HOME
|
HOME
|
||||||
USER
|
|
||||||
http_proxy
|
http_proxy
|
||||||
HTTP_PROXY
|
HTTP_PROXY
|
||||||
https_proxy
|
https_proxy
|
||||||
HTTPS_PROXY
|
HTTPS_PROXY
|
||||||
no_proxy
|
no_proxy
|
||||||
NO_PROXY
|
NO_PROXY
|
||||||
|
TESTING_BRANCH
|
||||||
|
TESTING_HOME
|
||||||
|
USER
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
bash
|
bash
|
||||||
setenv =
|
setenv =
|
||||||
|
Loading…
Reference in New Issue
Block a user