Gate requirements on ability to install deps.

Gate openstack/requirements on its ability to install the requirements
it specifies. This will help ensure that the mirror scripts can use this
repository to seed the mirror(s).

Change-Id: I5647a0ca32fd141c94a7e6afce1759fb1ad34442
Reviewed-on: https://review.openstack.org/23751
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
This commit is contained in:
Clark Boylan 2013-03-06 14:20:46 -08:00 committed by Jenkins
parent c7f41fd9b8
commit 60b92dbad7
2 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,21 @@
- 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
# Ignore lines beginning with https?:// just as the mirror script does.
sed -e '/https\?:\/\//d' tools/pip-requires > tools/pip-requires.clean
sed -e '/https\?:\/\//d' tools/test-requires > tools/test-requires.clean
# Run the same basic pip command that the mirror script runs.
.venv/bin/pip install -M -U --exists-action=w -r tools/pip-requires.clean -r tools/test-requires.clean
publishers:
- console-log

View File

@ -841,9 +841,9 @@ projects:
- name: openstack/requirements
check:
- gate-noop
- gate-requirements-install
gate:
- gate-noop
- gate-requirements-install
post:
- periodic-mirror-python26
- periodic-mirror-python27