system-config/modules/openstack_project/files/jenkins_job_builder/config/requirements.yaml
Doug Hellmann ab7e5a9b1a Do not use distribute in requirements gate venv
Remove the --distribute flag so that the virtualenv
is created with vanilla setuptools to avoid conflicts
between packages that try to update setuptools or
distribute.

Change-Id: I63456887027f707a6b42c86ea44e587df0f503de
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Reviewed-on: https://review.openstack.org/35905
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2013-07-06 02:40:07 +00:00

27 lines
875 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 .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