Create experimental jobs for networking-l2gw

Change-Id: I99bd9913006651ce938aa825c752df78ad5a49f5
This commit is contained in:
Ofer Ben-Yacov 2016-11-15 14:32:27 +02:00
parent c8937032b0
commit a9e38f0cfc
3 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,56 @@
- job-template:
name: '{pipeline}-networking-l2gw-dsvm-functional{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- 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
# Because we are testing a non standard project, add
# our project repository. This makes zuul do the right
# reference magic for testing changes.
export PROJECTS="openstack/networking-l2gw $PROJECTS"
# Note the actual url here is somewhat irrelevant because it
# caches in nodepool, however make it a valid url for
# documentation purposes.
export DEVSTACK_LOCAL_CONFIG="enable_plugin networking-l2gw git://git.openstack.org/openstack/networking-l2gw"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
bash -xe $BASE/new/networking-l2gw/networking_l2gw/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/networking-l2gw/networking_l2gw/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

View File

@ -7349,6 +7349,11 @@
- translation-jobs
- 'gate-{name}-python35-db{suffix}':
suffix: ''
- '{pipeline}-networking-l2gw-dsvm-functional{job-suffix}':
pipeline: gate
job-suffix: '-nv'
node: 'ubuntu-xenial'
branch-override: default
- project:
name: networking-lenovo

View File

@ -2263,6 +2263,9 @@ jobs:
- name: ^gate-tempest-dsvm-networking-sfc-nv$
branch: ^(?!stable/liberty).*$
- name: ^gate-networking-l2gw-dsvm-functional-nv$
branch: ^(?!stable/(liberty|mitaka)).*$
# For Gerrit ver 2.8.x and later (using buck)
- name: ^.*gerrit.*buck$
branch: ^openstack/(?!2\.4).*$
@ -11799,6 +11802,8 @@ projects:
- name: openstack-server-publish-jobs
- name: translation-jobs
- name: python35-db-jobs
check:
- gate-networking-l2gw-dsvm-functional-nv
- name: openstack/networking-lenovo
template: