Create experimental job for all neutron-vpnaas tests
1. Add new experimental jobs to run neutron-vpnaas functional (openswan/strongswan) and api tests with one job template 2. once this new job template verified and tested, remove old functional jobs and templates Note: This idea is chosen based on the community reviews so it should not affect vpn jobs in vpnaas repo and leaving them untouched Change-Id: Id4614ea1103a9ecc9b069f0b9cd47c0e385f9eba
This commit is contained in:
parent
78ddeb7bcc
commit
100e232ca6
@ -87,3 +87,48 @@
|
|||||||
- test-results
|
- test-results
|
||||||
- devstack-logs
|
- devstack-logs
|
||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{pipeline}-neutron-vpnaas-test-dsvm-{vpnaastest}{branch-designator}'
|
||||||
|
node: '{node}'
|
||||||
|
|
||||||
|
wrappers:
|
||||||
|
- build-timeout:
|
||||||
|
timeout: 125
|
||||||
|
- timestamps
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- link-logs
|
||||||
|
- net-info
|
||||||
|
- devstack-checkout
|
||||||
|
- shell: |
|
||||||
|
#!/bin/bash -xe
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export DEVSTACK_GATE_UNSTACK=1
|
||||||
|
export DEVSTACK_GATE_TIMEOUT=120
|
||||||
|
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
|
||||||
|
|
||||||
|
function gate_hook {{
|
||||||
|
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/gate_hook.sh {vpnaastest}
|
||||||
|
}}
|
||||||
|
export -f gate_hook
|
||||||
|
|
||||||
|
function post_test_hook {{
|
||||||
|
bash -xe $BASE/new/neutron-vpnaas/neutron_vpnaas/tests/contrib/post_test_hook.sh {vpnaastest}
|
||||||
|
}}
|
||||||
|
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
|
||||||
|
@ -1104,6 +1104,24 @@
|
|||||||
node: 'devstack-precise || devstack-trusty'
|
node: 'devstack-precise || devstack-trusty'
|
||||||
branch-designator: ''
|
branch-designator: ''
|
||||||
branch-override: default
|
branch-override: default
|
||||||
|
- '{pipeline}-neutron-vpnaas-test-dsvm-{vpnaastest}{branch-designator}':
|
||||||
|
pipeline: gate
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
vpnaastest: functional
|
||||||
|
branch-designator: ''
|
||||||
|
branch-override: default
|
||||||
|
- '{pipeline}-neutron-vpnaas-test-dsvm-{vpnaastest}{branch-designator}':
|
||||||
|
pipeline: gate
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
vpnaastest: functional-sswan
|
||||||
|
branch-designator: ''
|
||||||
|
branch-override: default
|
||||||
|
- '{pipeline}-neutron-vpnaas-test-dsvm-{vpnaastest}{branch-designator}':
|
||||||
|
pipeline: gate
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
vpnaastest: api
|
||||||
|
branch-designator: ''
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: nova
|
name: nova
|
||||||
|
@ -2846,6 +2846,9 @@ projects:
|
|||||||
periodic-qa:
|
periodic-qa:
|
||||||
- gate-tempest-dsvm-neutron-pg-full
|
- gate-tempest-dsvm-neutron-pg-full
|
||||||
experimental:
|
experimental:
|
||||||
|
- gate-neutron-vpnaas-test-dsvm-api
|
||||||
|
- gate-neutron-vpnaas-test-dsvm-functional
|
||||||
|
- gate-neutron-vpnaas-test-dsvm-functional-sswan
|
||||||
- gate-grenade-dsvm-neutron-vpnaas
|
- gate-grenade-dsvm-neutron-vpnaas
|
||||||
- gate-tempest-dsvm-neutron-pg-full
|
- gate-tempest-dsvm-neutron-pg-full
|
||||||
post:
|
post:
|
||||||
|
Loading…
Reference in New Issue
Block a user