Change how we gate requirements installs
dev-requirements may conflict with the other two files... so install them first, then install dev-requirements.txt Change-Id: I16698b35b90639297a75c1fed84acf6e3497ec66
This commit is contained in:
parent
a16059c112
commit
9370e68f55
@ -9,7 +9,7 @@
|
|||||||
/usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements
|
/usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements
|
||||||
virtualenv --clear .venv
|
virtualenv --clear .venv
|
||||||
PIP_ARGS=""
|
PIP_ARGS=""
|
||||||
REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-requirements.txt dev-requirements.txt"
|
REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-requirements.txt"
|
||||||
for FILE in $REQ_FILES
|
for FILE in $REQ_FILES
|
||||||
do
|
do
|
||||||
if [ -e $FILE ]
|
if [ -e $FILE ]
|
||||||
@ -21,6 +21,9 @@
|
|||||||
done
|
done
|
||||||
# Run the same basic pip command that the mirror script runs.
|
# Run the same basic pip command that the mirror script runs.
|
||||||
.venv/bin/pip install -M -U --exists-action=w $PIP_ARGS
|
.venv/bin/pip install -M -U --exists-action=w $PIP_ARGS
|
||||||
|
if [ -e dev-requirements.txt ] ; then
|
||||||
|
.venv/bin/pip install -M -U --exists-action=w dev-requirements.txt
|
||||||
|
fi
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
- console-log
|
- console-log
|
||||||
|
Loading…
x
Reference in New Issue
Block a user