New job for in-tree lbaasv2 tempest tests

Change-Id: I695171469a3030925f71c5f8d642433b774f6036
This commit is contained in:
Doug Wiegley 2015-03-04 14:44:08 -07:00
parent ec2779df86
commit 8538703bf8
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,43 @@
- job-template:
name: '{pipeline}-neutron-lbaas-dsvm-api{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
$BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
$BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log

View File

@ -404,6 +404,16 @@
- python-jobs
- openstack-publish-jobs
- gate-{name}-pylint
- '{pipeline}-neutron-lbaas-dsvm-api{branch-designator}':
pipeline: check
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- '{pipeline}-neutron-lbaas-dsvm-api{branch-designator}':
pipeline: gate
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project:
name: neutron-specs

View File

@ -1484,6 +1484,8 @@ projects:
- gate-neutron-lbaas-pylint
gate:
- gate-neutron-lbaas-pylint
experimental:
- check-neutron-lbaas-dsvm-api
- name: openstack/neutron-specs
template: