Update TOX_CONSTRAINTS_FILE

UPPER_CONSTRAINTS_FILE is old name and deprecated
-https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
This allows to use lower-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I20c7c90e1d6b56e00bb28b1854dee1a629aa09c5
This commit is contained in:
wu.shiming 2020-12-18 17:30:33 +08:00
parent ba3fb0c5fa
commit 0183ecc648
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ setenv =
VIRTUAL_ENV={envdir}
PYTHONUNBUFFERED = 1
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
@ -47,7 +47,7 @@ commands =
npm install
npm run {posargs:test}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:venv]