introduce experimental ovs-dpdk ci job
- This change creates a new ovs dpdk ci job for testing integration of ovs-dpdk with OpenStack. - This change will enable development of the networking-ovs-dpdk devstackgaterc, pre_test_hook.sh and post_test_hook.sh files required to correctly deoploy openstack with ovs-dpdk in the upstream ci enviornment. Change-Id: Ibe7dac8da71339fd3a5f42214adab2dcfe10166e
This commit is contained in:
parent
156d8184e3
commit
c3bde42831
58
jenkins/jobs/networking-ovs-dpdk.yaml
Normal file
58
jenkins/jobs/networking-ovs-dpdk.yaml
Normal file
@ -0,0 +1,58 @@
|
||||
- job-template:
|
||||
name: '{pipeline}-tempest-dsvm-networking-ovs-dpdk{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
|
||||
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-ovs-dpdk $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-ovs-dpdk git://git.openstack.org/openstack/networking-ovs-dpdk"
|
||||
|
||||
# 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-ovs-dpdk/devstack/gate/pre_test_hook.sh ] ; then
|
||||
. $BASE/new/networking-ovs-dpdk/devstack/gate/pre_test_hook.sh
|
||||
fi
|
||||
}}
|
||||
export -f pre_test_hook
|
||||
|
||||
function post_test_hook {{
|
||||
if [ -f $BASE/new/networking-ovs-dpdk/devstack/gate/post_test_hook.sh ] ; then
|
||||
. $BASE/new/networking-ovs-dpdk/devstack/gate/post_test_hook.sh
|
||||
fi
|
||||
}}
|
||||
export -f post_test_hook
|
||||
|
||||
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-ovs-dpdk/devstack/gate/devstackgaterc
|
||||
|
||||
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
|
@ -7465,6 +7465,11 @@
|
||||
|
||||
jobs:
|
||||
- python-jobs
|
||||
- '{pipeline}-tempest-dsvm-networking-ovs-dpdk{suffix}':
|
||||
pipeline: gate
|
||||
node: ubuntu-xenial
|
||||
suffix: '-nv'
|
||||
branch-override: default
|
||||
|
||||
- project:
|
||||
name: networking-peregrine
|
||||
|
@ -12373,6 +12373,8 @@ projects:
|
||||
template:
|
||||
- name: merge-check
|
||||
- name: python-jobs
|
||||
experimental:
|
||||
- gate-tempest-dsvm-networking-ovs-dpdk-nv
|
||||
|
||||
- name: openstack/networking-peregrine
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user