Add Dragonflow Rally integration job
Add dragonflow rally job and update branch conditions for Dragonflow jobs Change-Id: I4181004b2422d603eb2fe3d93adc7333e3a12a46
This commit is contained in:
parent
a1e04a7e52
commit
e18a7b6c50
|
@ -42,3 +42,48 @@
|
|||
publishers:
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-dragonflow-dsvm-rally{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_TIMEOUT=120
|
||||
export DEVSTACK_GATE_NEUTRON=1
|
||||
export DEVSTACK_GATE_TEMPEST=1
|
||||
export BRANCH_OVERRIDE={branch-override}
|
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||
fi
|
||||
export PROJECTS="openstack/dragonflow $PROJECTS"
|
||||
export PROJECTS="openstack/rally $PROJECTS"
|
||||
|
||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin dragonflow git://git.openstack.org/openstack/dragonflow"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"Q_ENABLE_DRAGONFLOW_LOCAL_CONTROLLER=True"
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin rally git://git.openstack.org/openstack/rally"
|
||||
|
||||
export OVERRIDE_ENABLED_SERVICES=key,n-api,n-cpu,n-cond,n-sch,n-crt,n-cauth,n-obj,g-api,g-reg,c-sch,c-api,c-vol,horizon,rabbit,tempest,mysql,dstat,df-controller,df-etcd,df-etcd-server,q-svc,q-l3
|
||||
|
||||
function post_test_hook {{
|
||||
$BASE/new/rally/tests/ci/rally-gate.sh
|
||||
}}
|
||||
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
|
||||
|
|
|
@ -1212,6 +1212,11 @@
|
|||
node: 'devstack-precise || devstack-trusty'
|
||||
job-suffix: ''
|
||||
branch-override: default
|
||||
- '{pipeline}-dragonflow-dsvm-rally{job-suffix}':
|
||||
pipeline: gate
|
||||
node: 'devstack-precise || devstack-trusty'
|
||||
job-suffix: '-nv'
|
||||
branch-override: default
|
||||
|
||||
- project:
|
||||
name: drbd-devstack
|
||||
|
|
|
@ -1138,9 +1138,12 @@ jobs:
|
|||
voting: false
|
||||
|
||||
- name: ^gate-tempest-dsvm-dragonflow
|
||||
branch: ^(?!stable)
|
||||
branch: ^(?!stable/(kilo)).*$
|
||||
voting: false
|
||||
|
||||
- name: gate-dragonflow-dsvm-rally-nv
|
||||
branch: ^(?!stable/(kilo)).*$
|
||||
|
||||
- name: ^gate-neutron-fwaas-dsvm-functional$
|
||||
voting: false
|
||||
|
||||
|
@ -4529,6 +4532,7 @@ projects:
|
|||
- name: openstack-server-publish-jobs
|
||||
check:
|
||||
- gate-tempest-dsvm-dragonflow
|
||||
- gate-dragonflow-dsvm-rally-nv
|
||||
|
||||
- name: openstack/drbd-devstack
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue