Gate jeepyb and openstack/requirements on pbr
Use the pbr integration test to gate jeepyb's run-mirror as well as additions to the openstack/requirements file. Change-Id: Iac1e842bb6bbb4201c439a71c9917d478e5ae110
This commit is contained in:
parent
43a208abb3
commit
27431138f2
@ -1,35 +0,0 @@
|
|||||||
- job-template:
|
|
||||||
name: '{pipeline}-pbr-devstack-vm-rawinstall'
|
|
||||||
node: '{node}'
|
|
||||||
|
|
||||||
wrappers:
|
|
||||||
- timeout:
|
|
||||||
timeout: 120
|
|
||||||
fail: true
|
|
||||||
- timestamps
|
|
||||||
|
|
||||||
builders:
|
|
||||||
- devstack-checkout
|
|
||||||
- shell: |
|
|
||||||
#!/bin/bash -xe
|
|
||||||
export PYTHONUNBUFFERED=true
|
|
||||||
export DEVSTACK_GATE_TEMPEST=0
|
|
||||||
export DEVSTACK_GATE_EXERCISES=0
|
|
||||||
function gate_hook {{
|
|
||||||
bash $GATE_SCRIPT_DIR/devstack-vm-gate.sh && \
|
|
||||||
bash -xe $BASE/new/pbr/tools/integration.sh $PROJECTS $BASE
|
|
||||||
}}
|
|
||||||
export -f gate_hook
|
|
||||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
||||||
./safe-devstack-vm-gate-wrap.sh
|
|
||||||
- link-logs
|
|
||||||
|
|
||||||
publishers:
|
|
||||||
- scp:
|
|
||||||
site: 'static.openstack.org'
|
|
||||||
files:
|
|
||||||
- target: 'logs/$LOG_PATH'
|
|
||||||
source: '**/pip.log'
|
|
||||||
keep-hierarchy: false
|
|
||||||
copy-after-failure: true
|
|
||||||
- console-log
|
|
@ -197,12 +197,6 @@
|
|||||||
- openstack-publish-jobs
|
- openstack-publish-jobs
|
||||||
- python-jobs
|
- python-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
- '{pipeline}-pbr-devstack-vm-rawinstall':
|
|
||||||
pipeline: gate
|
|
||||||
node: devstack-precise
|
|
||||||
- '{pipeline}-pbr-devstack-vm-rawinstall':
|
|
||||||
pipeline: check
|
|
||||||
node: 'devstack-precise || devstack-precise-check'
|
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
@ -922,6 +916,16 @@
|
|||||||
pipeline: check
|
pipeline: check
|
||||||
node: 'devstack-precise || devstack-precise-check'
|
node: 'devstack-precise || devstack-precise-check'
|
||||||
|
|
||||||
|
- project:
|
||||||
|
name: requirements-jobs
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
- '{pipeline}-requirements-integration':
|
||||||
|
pipeline: gate
|
||||||
|
node: devstack-precise
|
||||||
|
- '{pipeline}-requirements-integration':
|
||||||
|
pipeline: check
|
||||||
|
node: 'devstack-precise || devstack-precise-check'
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: tempest
|
name: tempest
|
||||||
|
@ -1,26 +1,32 @@
|
|||||||
- job:
|
- job-template:
|
||||||
name: gate-requirements-install
|
name: '{pipeline}-requirements-integration'
|
||||||
node: precise
|
node: '{node}'
|
||||||
|
|
||||||
|
wrappers:
|
||||||
|
- timeout:
|
||||||
|
timeout: 120
|
||||||
|
fail: true
|
||||||
|
- timestamps
|
||||||
|
|
||||||
builders:
|
builders:
|
||||||
- gerrit-git-prep
|
- devstack-checkout
|
||||||
- shell: |
|
- shell: |
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
source /usr/local/jenkins/slave_scripts/select-mirror.sh openstack requirements
|
export PYTHONUNBUFFERED=true
|
||||||
virtualenv --clear .venv
|
export DEVSTACK_GATE_TEMPEST=0
|
||||||
FILE="global-requirements.txt"
|
export DEVSTACK_GATE_EXERCISES=0
|
||||||
# Ignore lines beginning with https?:// just as the mirror script does.
|
export DEVSTACK_GATE_REQS_INTEGRATION=1
|
||||||
sed -e '/^https\?:\/\//d' $FILE > $FILE.clean
|
function gate_hook {{
|
||||||
# Run the same basic pip command that the mirror script runs.
|
bash $GATE_SCRIPT_DIR/devstack-vm-gate.sh && \
|
||||||
.venv/bin/pip install -M -U --exists-action=w -r $FILE.clean
|
bash -xe $BASE/new/pbr/tools/integration.sh $PROJECTS
|
||||||
if [ -e dev-requirements.txt ] ; then
|
}}
|
||||||
.venv/bin/pip install -M -U --exists-action=w -r dev-requirements.txt
|
export -f gate_hook
|
||||||
fi
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
|
./safe-devstack-vm-gate-wrap.sh
|
||||||
# Print all installed stuff to demonstrate versions
|
- link-logs
|
||||||
.venv/bin/pip freeze
|
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
|
- devstack-logs
|
||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
@ -392,8 +392,10 @@ projects:
|
|||||||
- name: openstack-infra/jeepyb
|
- name: openstack-infra/jeepyb
|
||||||
check:
|
check:
|
||||||
- gate-jeepyb-pep8
|
- gate-jeepyb-pep8
|
||||||
|
- check-requirements-integration
|
||||||
gate:
|
gate:
|
||||||
- gate-jeepyb-pep8
|
- gate-jeepyb-pep8
|
||||||
|
- gate-requirements-integration
|
||||||
pre-release:
|
pre-release:
|
||||||
- jeepyb-tarball
|
- jeepyb-tarball
|
||||||
release:
|
release:
|
||||||
@ -406,8 +408,10 @@ projects:
|
|||||||
- name: openstack-infra/pypi-mirror
|
- name: openstack-infra/pypi-mirror
|
||||||
check:
|
check:
|
||||||
- gate-pypi-mirror-pep8
|
- gate-pypi-mirror-pep8
|
||||||
|
- check-requirements-integration
|
||||||
gate:
|
gate:
|
||||||
- gate-pypi-mirror-pep8
|
- gate-pypi-mirror-pep8
|
||||||
|
- gate-requirements-integration
|
||||||
pre-release:
|
pre-release:
|
||||||
- pypi-mirror-tarball
|
- pypi-mirror-tarball
|
||||||
release:
|
release:
|
||||||
@ -1388,10 +1392,10 @@ projects:
|
|||||||
|
|
||||||
- name: openstack/requirements
|
- name: openstack/requirements
|
||||||
check:
|
check:
|
||||||
- gate-requirements-install
|
|
||||||
- gate-requirements-pep8
|
- gate-requirements-pep8
|
||||||
- gate-requirements-python27
|
- gate-requirements-python27
|
||||||
- gate-requirements-pypy
|
- gate-requirements-pypy
|
||||||
|
- check-requirements-integration
|
||||||
- check-tempest-devstack-vm-full
|
- check-tempest-devstack-vm-full
|
||||||
- check-tempest-devstack-vm-postgres-full
|
- check-tempest-devstack-vm-postgres-full
|
||||||
- check-tempest-devstack-vm-neutron
|
- check-tempest-devstack-vm-neutron
|
||||||
@ -1399,10 +1403,10 @@ projects:
|
|||||||
- check-grenade-devstack-vm
|
- check-grenade-devstack-vm
|
||||||
- check-swift-devstack-vm-functional
|
- check-swift-devstack-vm-functional
|
||||||
gate:
|
gate:
|
||||||
- gate-requirements-install
|
|
||||||
- gate-requirements-pep8
|
- gate-requirements-pep8
|
||||||
- gate-requirements-python27
|
- gate-requirements-python27
|
||||||
- gate-requirements-pypy
|
- gate-requirements-pypy
|
||||||
|
- gate-requirements-integration
|
||||||
- gate-tempest-devstack-vm-full
|
- gate-tempest-devstack-vm-full
|
||||||
- gate-tempest-devstack-vm-postgres-full
|
- gate-tempest-devstack-vm-postgres-full
|
||||||
- gate-tempest-devstack-vm-neutron
|
- gate-tempest-devstack-vm-neutron
|
||||||
@ -1475,7 +1479,7 @@ projects:
|
|||||||
- gate-pbr-python27
|
- gate-pbr-python27
|
||||||
- gate-pbr-python33
|
- gate-pbr-python33
|
||||||
- gate-pbr-pypy
|
- gate-pbr-pypy
|
||||||
- check-pbr-devstack-vm-rawinstall
|
- check-requirements-integration
|
||||||
- check-tempest-devstack-vm-smoke
|
- check-tempest-devstack-vm-smoke
|
||||||
- check-tempest-devstack-vm-full
|
- check-tempest-devstack-vm-full
|
||||||
- check-tempest-devstack-vm-cinder
|
- check-tempest-devstack-vm-cinder
|
||||||
@ -1491,7 +1495,7 @@ projects:
|
|||||||
- gate-pbr-python27
|
- gate-pbr-python27
|
||||||
- gate-pbr-python33
|
- gate-pbr-python33
|
||||||
- gate-pbr-pypy
|
- gate-pbr-pypy
|
||||||
- gate-pbr-devstack-vm-rawinstall
|
- gate-requirements-integration
|
||||||
- gate-tempest-devstack-vm-smoke
|
- gate-tempest-devstack-vm-smoke
|
||||||
- gate-tempest-devstack-vm-full
|
- gate-tempest-devstack-vm-full
|
||||||
- gate-tempest-devstack-vm-cinder
|
- gate-tempest-devstack-vm-cinder
|
||||||
|
Loading…
Reference in New Issue
Block a user