Add tempest-dsvm-networking-bgpvpn-bagpipe jobs
This commit defines job template to run tempest against networking-bgpvpn with the bagpipe reference implementation. Change-Id: Ibdc3e6163c265f70b5befb1dbfea1f1d69e3395a
This commit is contained in:
parent
71ff7b2b5b
commit
eed416b490
@ -116,3 +116,64 @@
|
|||||||
publishers:
|
publishers:
|
||||||
- devstack-logs
|
- devstack-logs
|
||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{pipeline}-tempest-dsvm-networking-bgpvpn-bagpipe{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_NEUTRON=1
|
||||||
|
# Make sure tempest is installed and performed
|
||||||
|
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-bgpvpn $PROJECTS"
|
||||||
|
export PROJECTS="openstack/networking-bagpipe $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-bgpvpn git://git.openstack.org/openstack/networking-bgpvpn"
|
||||||
|
|
||||||
|
# Keep localrc to be able to set some vars in pre_test_hook
|
||||||
|
export KEEP_LOCALRC=1
|
||||||
|
|
||||||
|
function pre_test_hook {{
|
||||||
|
. $BASE/new/networking-bgpvpn/devstack/pre_test_hook.sh
|
||||||
|
}}
|
||||||
|
export -f pre_test_hook
|
||||||
|
|
||||||
|
function gate_hook {{
|
||||||
|
. $BASE/new/networking-bgpvpn/devstack/gate_hook.sh
|
||||||
|
}}
|
||||||
|
export -f gate_hook
|
||||||
|
|
||||||
|
function post_test_hook {{
|
||||||
|
. $BASE/new/networking-bgpvpn/devstack/post_test_hook.sh
|
||||||
|
}}
|
||||||
|
export -f post_test_hook
|
||||||
|
|
||||||
|
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bgpvpn/devstack/devstack-gate-bagpipe-rc
|
||||||
|
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
|
||||||
|
@ -3314,6 +3314,11 @@
|
|||||||
node: ubuntu-trusty
|
node: ubuntu-trusty
|
||||||
job-suffix: ''
|
job-suffix: ''
|
||||||
branch-override: default
|
branch-override: default
|
||||||
|
- '{pipeline}-tempest-dsvm-networking-bgpvpn-bagpipe{job-suffix}':
|
||||||
|
pipeline: gate
|
||||||
|
node: ubuntu-trusty
|
||||||
|
job-suffix: ''
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: networking-bigswitch
|
name: networking-bigswitch
|
||||||
|
@ -7256,6 +7256,7 @@ projects:
|
|||||||
experimental:
|
experimental:
|
||||||
- gate-install-dsvm-networking-bgpvpn
|
- gate-install-dsvm-networking-bgpvpn
|
||||||
- gate-install-dsvm-networking-bgpvpn-bagpipe
|
- gate-install-dsvm-networking-bgpvpn-bagpipe
|
||||||
|
- gate-tempest-dsvm-networking-bgpvpn-bagpipe
|
||||||
|
|
||||||
- name: openstack/networking-bigswitch
|
- name: openstack/networking-bigswitch
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user