Merge "Add a functional job for neutron-lbaas"

This commit is contained in:
Jenkins 2016-06-17 09:20:20 +00:00 committed by Gerrit Code Review
commit 16fe447728
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

@ -4183,6 +4183,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

@ -1727,6 +1727,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)).*$
@ -8229,6 +8232,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