Browse Source

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>
changes/23/756923/1
Kevin Carter 12 months ago
parent
commit
d45c757665
No known key found for this signature in database GPG Key ID: CE94BD890A47B20A
  1. 1
      scripts/run-local-test

1
scripts/run-local-test

@ -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…
Cancel
Save