7f2c8e5bf1
All jobs previously using a quantal node label are now using a precise node label instead. Documentation has also been updated to reflect the change in preferred release/image name. Change-Id: I636416a9d9dc6714cd9751e2210882db2cbf786e Reviewed-on: https://review.openstack.org/28861 Reviewed-by: James E. Blair <corvus@inaugust.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Jeremy Stanley <fungi@yuggoth.org> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Tested-by: Jenkins
30 lines
915 B
YAML
30 lines
915 B
YAML
- job:
|
|
name: gate-requirements-install
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul
|
|
|
|
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
|