Replace deprecated UPPER_CONSTRAINTS_FILE variable
Change-Id: Id06f4f0d593b0a9867387797ba0474f744d15727
This commit is contained in:
parent
48913db38d
commit
88634fd929
@ -187,7 +187,7 @@ REQS_REPO_HOME="${TESTING_HOME}/src/opendev.org/openstack/requirements"
|
||||
if [[ -d "${REQS_REPO_HOME}" ]]; then
|
||||
PIP_OPTS+=" --constraint ${REQS_REPO_HOME}/upper-constraints.txt"
|
||||
else
|
||||
PIP_OPTS+=" --constraint ${UPPER_CONSTRAINTS_FILE:-https://opendev.org/openstack/requirements/raw/${TESTING_BRANCH}/upper-constraints.txt}"
|
||||
PIP_OPTS+=" --constraint ${TOX_CONSTRAINTS_FILE:-https://opendev.org/openstack/requirements/raw/${TESTING_BRANCH}/upper-constraints.txt}"
|
||||
fi
|
||||
|
||||
source /etc/os-release || source /usr/lib/os-release
|
||||
|
2
tox.ini
2
tox.ini
@ -26,7 +26,7 @@ setenv =
|
||||
|
||||
[testenv:docs]
|
||||
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}/doc/requirements.txt
|
||||
commands =
|
||||
bash -c "rm -rf doc/build"
|
||||
|
Loading…
Reference in New Issue
Block a user