networking-bagpipe: add an experimental fullstack job
This is a first step to enable the fullstack tests of I967ba442ef433b7ada5a1a381f1571ec3cf23517 in the gate. It also adapts the scrip & template for the existing tempest job so that 'tempest' is passed to gate_hook.sh in the case of that job. Change-Id: I29c5d3798f3a3eed48aef6bd744ea71486135c8e
This commit is contained in:
parent
d9675a8495
commit
512e74e985
@ -46,3 +46,48 @@
|
|||||||
publishers:
|
publishers:
|
||||||
- devstack-logs
|
- devstack-logs
|
||||||
- console-log
|
- console-log
|
||||||
|
|
||||||
|
- job-template:
|
||||||
|
name: '{pipeline}-networking-bagpipe-dsvm-fullstack-{node}{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_TEMPEST=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
|
||||||
|
|
||||||
|
export PROJECTS="openstack/networking-bagpipe $PROJECTS"
|
||||||
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin networking-bagpipe git://git.openstack.org/openstack/networking-bagpipe"
|
||||||
|
|
||||||
|
function gate_hook {{
|
||||||
|
bash -xe $BASE/new/networking-bagpipe/devstack/gate_hook.sh fullstack
|
||||||
|
}}
|
||||||
|
export -f gate_hook
|
||||||
|
|
||||||
|
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/networking-bagpipe/devstack/devstack-gate-rc
|
||||||
|
|
||||||
|
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
|
||||||
|
@ -7203,6 +7203,11 @@
|
|||||||
suffix: ''
|
suffix: ''
|
||||||
node: ubuntu-xenial
|
node: ubuntu-xenial
|
||||||
which: ''
|
which: ''
|
||||||
|
- '{pipeline}-networking-bagpipe-dsvm-fullstack-{node}{suffix}':
|
||||||
|
pipeline: gate
|
||||||
|
branch-override: default
|
||||||
|
suffix: -nv
|
||||||
|
node: ubuntu-xenial
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: networking-baremetal
|
name: networking-baremetal
|
||||||
|
@ -2221,6 +2221,9 @@ jobs:
|
|||||||
- name: ^gate-tempest-dsvm-networking-bagpipe$
|
- name: ^gate-tempest-dsvm-networking-bagpipe$
|
||||||
branch: ^(?!stable/(mitaka|newton)).*$
|
branch: ^(?!stable/(mitaka|newton)).*$
|
||||||
|
|
||||||
|
- name: ^gate-networking-bagpipe-dsvm-fullstack-ubuntu-xenial
|
||||||
|
branch: ^(?!stable/(mitaka|newton|ocata)).*$
|
||||||
|
|
||||||
# NOTE(tonyb): networking-bgpvpn is only setup to manage requirements since
|
# NOTE(tonyb): networking-bgpvpn is only setup to manage requirements since
|
||||||
# ocata, so don't run this job on older branches.
|
# ocata, so don't run this job on older branches.
|
||||||
- name: gate-networking-bgpvpn-requirements
|
- name: gate-networking-bgpvpn-requirements
|
||||||
@ -12422,6 +12425,8 @@ projects:
|
|||||||
- gate-tempest-dsvm-networking-bagpipe
|
- gate-tempest-dsvm-networking-bagpipe
|
||||||
- gate-tempest-dsvm-networking-bgpvpn-bagpipe-ubuntu-trusty
|
- gate-tempest-dsvm-networking-bgpvpn-bagpipe-ubuntu-trusty
|
||||||
- gate-tempest-dsvm-networking-bgpvpn-bagpipe-ubuntu-xenial
|
- gate-tempest-dsvm-networking-bgpvpn-bagpipe-ubuntu-xenial
|
||||||
|
experimental:
|
||||||
|
- gate-networking-bagpipe-dsvm-fullstack-ubuntu-xenial-nv
|
||||||
|
|
||||||
- name: openstack/networking-baremetal
|
- name: openstack/networking-baremetal
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user