Add constraint for local testing
This change adds a constraint argument to the local test script. This will ensure we're not installing un-contained requirements when attempting to reproduce the CI. Change-Id: I6bc16981d9fa725278477ef6c82ab4fc898cf46e Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
parent
6b6f4b5fb3
commit
d45c757665
|
@ -32,6 +32,7 @@ export UPPER_CONSTRAINTS_FILE=${UPPER_CONSTRAINTS_FILE:-"https://opendev.org/ope
|
|||
function run_pip {
|
||||
"${HOME}/test-python/bin/pip" install \
|
||||
-c "${UPPER_CONSTRAINTS_FILE}" \
|
||||
-c "${PROJECT_DIR}/ansible-requirements.txt" \
|
||||
-r "${PROJECT_DIR}/requirements.txt" \
|
||||
-r "${PROJECT_DIR}/test-requirements.txt" \
|
||||
-r "${PROJECT_DIR}/molecule-requirements.txt" ${@:-}
|
||||
|
|
Loading…
Reference in New Issue