project-config/jenkins/jobs/neutron-dynamic-routing.yaml
vikram.choudhary e6ac70ad77 Adding a new project called "neutron-dynamic-routing"
Scope:
------
This patch propose adding BGP dynamic routing effort for Neutron
as a separate neutron-official project. As a part of this effort,
we would like to address the followings:
 * Getting a new repository named 'neutron-dynamic-routing' created.
 * Move the existing BGP dynamic routing code from the Neutron &
   python-neutronclient master branch to the newer repository.
 * Run the existing tests (py27, py34, API and Functional) successfully
   via the relevant CI jobs.
 * Add devstack support.
 * Proper documentation.
 * Check the feasibility of starting a separate IRC meeting. (Currently,
   we are a part of L3 team meeting. Will start a separate IRC meeting,
   if the L3 team feels so.)

Why a new project:
------------------
Separate repository will provide more flexibility and access
developing dynamic routing functionality in Neutron. In addition
most of us feel having a separate repository will be good.
Details about our discussion can be found @
http://eavesdrop.openstack.org/meetings/neutron_l3/2016/neutron_l3.2016-01-14-15.06.log.html

Project Details:
----------------
pypi project: https://pypi.python.org/pypi?%3Aaction=pkg_edit&name=neutron-dynamic-routing
launchpad project: https://launchpad.net/neutron

Co-Authored-By: Ryan Tidwell <ryan.tidwell@hpe.com>
Implements: blueprint bgp-spinout
Partial-Bug: #1560003
Needed-By: If0380e4d0e30a46f77467945ecba8a698d1930a1
Change-Id: I8be510153edbc496575cde34943ca4c56645e0fb
2016-04-15 06:51:00 +00:00

79 lines
2.3 KiB
YAML

- job-template:
name: '{pipeline}-neutron-dynamic-routing-dsvm-functional{job-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_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
function gate_hook {{
bash -xe $BASE/new/neutron-dynamic-routing/neutron_dynamic_routing/tests/contrib/gate_hook.sh dsvm-functional
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron-dynamic-routing/neutron_dynamic_routing/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
- job-template:
name: '{pipeline}-neutron-dynamic-routing-dsvm-tempest{job-suffix}'
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_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron_dynamic_routing\."
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
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