Merge "Add networking-ovn job to ovsdbapp gate"

This commit is contained in:
Jenkins 2017-07-12 17:11:17 +00:00 committed by Gerrit Code Review
commit fcfce43429
3 changed files with 66 additions and 0 deletions

View File

@ -229,6 +229,66 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-ovs-release-ovsdbapp-src{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin networking-ovn git://git.openstack.org/openstack/networking-ovn
LIBS_FROM_GIT="ovsdbapp"
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=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-ovn $PROJECTS"
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/pre_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/pre_test_hook.sh
fi
}}
export -f pre_test_hook
function post_test_hook {{
if [ -f $BASE/new/networking-ovn/devstack/post_test_hook.sh ] ; then
. $BASE/new/networking-ovn/devstack/post_test_hook.sh
fi
}}
export -f post_test_hook
export DEVSTACK_GATE_SETTINGS="/opt/stack/new/networking-ovn/devstack/devstackgaterc latest-release"
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
- job-template:
name: '{pipeline}-tempest-dsvm-networking-ovn-multinode{suffix}'
node: '{node}'

View File

@ -9979,6 +9979,11 @@
- gate-{name}-tox-{envlist}-{node}:
node: ubuntu-xenial
envlist: functional
- '{pipeline}-tempest-dsvm-networking-ovn-ovs-release-ovsdbapp-src{suffix}':
pipeline: gate
node: ubuntu-xenial
suffix: '-nv'
branch-override: default
- project:
name: packetary

View File

@ -14476,6 +14476,7 @@ projects:
- name: publish-to-pypi
check:
- gate-ovsdbapp-tox-functional-ubuntu-xenial
- gate-tempest-dsvm-networking-ovn-ovs-release-ovsdbapp-src-nv
gate:
- gate-ovsdbapp-tox-functional-ubuntu-xenial