diff options
author | Hervé Beraud <hberaud@redhat.com> | 2020-11-04 10:52:27 +0100 |
---|---|---|
committer | Hervé Beraud <hberaud@redhat.com> | 2021-01-14 11:04:24 +0100 |
commit | 46bcafb74ede40b4b2d6f2d9b5b872b5c42c36ce (patch) | |
tree | 306b74b6af2d744c0cbf119c844ef4ab409df568 | |
parent | f7fceeb9295cdecc0409fad9298590060aba2fc3 (diff) | |
download | oslo-vmware-46bcafb74ede40b4b2d6f2d9b5b872b5c42c36ce.tar.gz |
Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
[1] https://review.opendev.org/#/c/722814/
[2] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
Change-Id: I69cb454902b1c153ca09bfb713d5748aa0dd532a
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ basepython = python3 whitelist_externals = find deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = stestr run --slowest {posargs} @@ -62,7 +62,7 @@ paths = ./oslo_vmware/hacking [testenv:releasenotes] whitelist_externals = rm deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} + -c{env:TOX_CONSTRAINTS_FILE:ttps://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt commands = rm -rf releasenotes/build |