Add a functional job for neutron-lbaas

Setup a non-voting job to run neutron-lbaas functional tests.

Change-Id: Ibd2e58c429a138af6949fdcd587b2792fcf866f0
Needed-By: Ic39805ea0ed330ef7da82043f77077e8a5617ca0
Related-Bug: #1585116
This commit is contained in:
Elena Ezhova 2016-05-30 15:59:06 +03:00
parent ed9f94b790
commit d7e68469f0
3 changed files with 55 additions and 0 deletions

View File

@ -45,6 +45,52 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-neutron-lbaas-dsvm-functional{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
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 {{
bash -xe $BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-lbaas/neutron_lbaas/tests/contrib/post_test_hook.sh dsvm-functional
}}
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:
- test-results
- devstack-logs
- console-log
- job:
name: gate-neutron-lbaas-dashboard-dsvm-integration
node: ubuntu-trusty

View File

@ -4177,6 +4177,11 @@
branch-override: default
lbaasversion: lbaasv2
lbaastest: 'api-namespace'
- '{pipeline}-neutron-lbaas-dsvm-functional{job-suffix}':
pipeline: gate
node: ubuntu-trusty
job-suffix: '-nv'
branch-override: default
- project:
name: neutron-lbaas-dashboard

View File

@ -1723,6 +1723,9 @@ jobs:
branch: ^(?!stable/kilo).*$
voting: false
- name: ^gate-neutron-lbaas-dsvm-functional.*$
branch: ^(?!stable/kilo).*$
- name: gate-tempest-dsvm-octavia
branch: ^(?!stable/(kilo|liberty)).*$
@ -8219,6 +8222,7 @@ projects:
- name: release-notes-jobs
- name: translation-jobs
check:
- gate-neutron-lbaas-dsvm-functional-nv
- gate-neutron-lbaasv1-dsvm-api
- gate-neutron-lbaasv2-dsvm-api-namespace-nv
- gate-neutron-lbaasv2-dsvm-healthmonitor