project-config/jenkins/jobs/neutron-lbaas.yaml
Doug Wiegley 41b9d6cb27 Add second job for lbaasv1 API
Necessary to remove lbaas tests from tempest, as requested by QA team.
Unless we have a good way to reconfigure and restart neutron in the middle
of a devstack run, in which case we could recycle the node currently
being used for v2 api tests.

Also pull lbaasv2 api tests from the gate, since it is currently non-voting.

Change-Id: I12fca506d5d763366cfd55b7b2986351dea0e613
2015-05-27 17:17:14 -06:00

44 lines
1.3 KiB
YAML

- job-template:
name: '{pipeline}-neutron-{lbaasversion}-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 {lbaasversion}
}}
export -f gate_hook
function post_test_hook {{
$BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/post_test_hook.sh {lbaasversion}
}}
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