diff --git a/jenkins/jobs/networking-bgpvpn.yaml b/jenkins/jobs/networking-bgpvpn.yaml new file mode 100644 index 0000000000..fde9525275 --- /dev/null +++ b/jenkins/jobs/networking-bgpvpn.yaml @@ -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 + diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 95ef67c17e..679bb7c42e 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -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 diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 7e445bc095..e5b99d95ff 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -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: