networking-bgpvpn: add devstack job

Adds an experimental jenkins job to check proper installation
of the BGPVPN service plugin with the dummy driver.


Change-Id: I049a521b4e948a042c9b49eaecd9399cf84353d1
Partial-Bug: 1502207
This commit is contained in:
Thomas Morin 2015-10-02 12:23:32 +02:00 committed by Andreas Jaeger
parent 9a0577a698
commit dd2dc79ca9
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,48 @@
# Inspiration largely taken from networking-ovn.yaml
- job-template:
name: '{pipeline}-install-dsvm-networking-bgpvpn{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_TIMEOUT=120
export DEVSTACK_GATE_NEUTRON=1
# For now, simply enable bringing stack.sh up with the BGPVPN service plugin.
# Future jobs will run tempest.
export DEVSTACK_GATE_TEMPEST=0
# Enable only a very minimal set of services
export OVERRIDE_ENABLED_SERVICES=q-svc,q-agt,q-dhcp,q-l3,key,mysql,rabbit
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"
# 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
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

View File

@ -853,6 +853,11 @@
- python-jobs
- openstack-publish-jobs
- pypi-jobs
- '{pipeline}-install-dsvm-networking-bgpvpn{branch-designator}':
pipeline: gate
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project:
name: networking-calico

View File

@ -926,6 +926,9 @@ jobs:
branch: ^(?!stable)
voting: false
- name: gate-install-dsvm-networking-bgpvpn
branch: ^(?!stable/(icehouse|juno|kilo)).*$
- name: gate-networking-odl-python34
branch: ^(?!stable/(icehouse|juno|kilo)).*$
@ -2669,6 +2672,8 @@ projects:
- name: openstack-server-publish-jobs
- name: check-requirements
- name: publish-to-pypi
experimental:
- gate-install-dsvm-networking-bgpvpn
- name: openstack/networking-calico
template: