From a425d056c30e5823e96ad106d21f0f9cebf47f2b Mon Sep 17 00:00:00 2001 From: likui Date: Mon, 15 Mar 2021 18:21:37 +0800 Subject: [PATCH] Use 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 Change-Id: Ic179655650eee7cc0e762d64a542124eca61d3c2 --- scripts/run-local-test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run-local-test b/scripts/run-local-test index c9437258a..e6af011ff 100755 --- a/scripts/run-local-test +++ b/scripts/run-local-test @@ -25,13 +25,13 @@ set -xeuo export PROJECT_DIR="$(dirname $(readlink -f ${BASH_SOURCE[0]}))/../" export ROLE_NAME="${ROLE_NAME:-$1}" export TRIPLEO_JOB_ANSIBLE_ARGS=${TRIPLEO_JOB_ANSIBLE_ARGS:-""} -export UPPER_CONSTRAINTS_FILE=${UPPER_CONSTRAINTS_FILE:-"https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt"} +export TOX_CONSTRAINTS_FILE=${TOX_CONSTRAINTS_FILE:-"https://releases.openstack.org/constraints/upper/master"} ## Functions ----------------------------------------------------------------- function run_pip { "${HOME}/test-python/bin/pip" install \ - -c "${UPPER_CONSTRAINTS_FILE}" \ + -c "${TOX_CONSTRAINTS_FILE}" \ -c "${PROJECT_DIR}/ansible-requirements.txt" \ -r "${PROJECT_DIR}/requirements.txt" \ -r "${PROJECT_DIR}/test-requirements.txt" \