Replace deprecated UPPER_CONSTRAINTS_FILE variable

Change-Id: Id06f4f0d593b0a9867387797ba0474f744d15727
This commit is contained in:
zhoulinhui 2020-11-10 13:12:08 +08:00
parent 48913db38d
commit 88634fd929
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"