Create experimental jobs for networking-l2gw
Change-Id: I99bd9913006651ce938aa825c752df78ad5a49f5
This commit is contained in:
parent
c8937032b0
commit
a9e38f0cfc
56
jenkins/jobs/networking-l2gw.yaml
Normal file
56
jenkins/jobs/networking-l2gw.yaml
Normal 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
|
@ -7349,6 +7349,11 @@
|
|||||||
- translation-jobs
|
- translation-jobs
|
||||||
- 'gate-{name}-python35-db{suffix}':
|
- 'gate-{name}-python35-db{suffix}':
|
||||||
suffix: ''
|
suffix: ''
|
||||||
|
- '{pipeline}-networking-l2gw-dsvm-functional{job-suffix}':
|
||||||
|
pipeline: gate
|
||||||
|
job-suffix: '-nv'
|
||||||
|
node: 'ubuntu-xenial'
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: networking-lenovo
|
name: networking-lenovo
|
||||||
|
@ -2263,6 +2263,9 @@ jobs:
|
|||||||
- name: ^gate-tempest-dsvm-networking-sfc-nv$
|
- name: ^gate-tempest-dsvm-networking-sfc-nv$
|
||||||
branch: ^(?!stable/liberty).*$
|
branch: ^(?!stable/liberty).*$
|
||||||
|
|
||||||
|
- name: ^gate-networking-l2gw-dsvm-functional-nv$
|
||||||
|
branch: ^(?!stable/(liberty|mitaka)).*$
|
||||||
|
|
||||||
# For Gerrit ver 2.8.x and later (using buck)
|
# For Gerrit ver 2.8.x and later (using buck)
|
||||||
- name: ^.*gerrit.*buck$
|
- name: ^.*gerrit.*buck$
|
||||||
branch: ^openstack/(?!2\.4).*$
|
branch: ^openstack/(?!2\.4).*$
|
||||||
@ -11799,6 +11802,8 @@ projects:
|
|||||||
- name: openstack-server-publish-jobs
|
- name: openstack-server-publish-jobs
|
||||||
- name: translation-jobs
|
- name: translation-jobs
|
||||||
- name: python35-db-jobs
|
- name: python35-db-jobs
|
||||||
|
check:
|
||||||
|
- gate-networking-l2gw-dsvm-functional-nv
|
||||||
|
|
||||||
- name: openstack/networking-lenovo
|
- name: openstack/networking-lenovo
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user