Merge "Use TOX_CONSTRAINTS_FILE"
This commit is contained in:
commit
ffeef7de6f
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue