ae5c7ea776
And reconfigure zuul.openstack.org for gearman. Change-Id: I251135e3b0f2638bcc0d817dadb549c0fc2e0d2f Reviewed-on: https://review.openstack.org/32164 Tested-by: Jenkins Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: James E. Blair <corvus@inaugust.com>
27 lines
887 B
YAML
27 lines
887 B
YAML
- job:
|
|
name: gate-requirements-install
|
|
node: precise
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements
|
|
virtualenv --clear --distribute .venv
|
|
PIP_ARGS=""
|
|
REQ_FILES="tools/pip-requires tools/test-requires requirements.txt test-requirements.txt"
|
|
for FILE in $REQ_FILES
|
|
do
|
|
if [ -e $FILE ]
|
|
then
|
|
# Ignore lines beginning with https?:// just as the mirror script does.
|
|
sed -e '/https\?:\/\//d' $FILE > $FILE.clean
|
|
PIP_ARGS="$PIP_ARGS -r $FILE.clean"
|
|
fi
|
|
done
|
|
# Run the same basic pip command that the mirror script runs.
|
|
.venv/bin/pip install -M -U --exists-action=w $PIP_ARGS
|
|
|
|
publishers:
|
|
- console-log
|