Magnum: Add new job to do mesos functional testing

Adds gate_hook to magnum jobs.
Adds new pipe line to do mesos functional testing, set it to non-voting
first.

Implements: blueprint mesos-functional-testing
Depend-On: I8ee53de4d34aa79d037901e599fc6409a7de2e72
Change-Id: I9574c349e5f7a4f3fa3f8c4fdf53328fe35e0dee
This commit is contained in:
Eli Qiao 2015-12-28 14:14:44 +08:00
parent aa376ddf54
commit 6b2887e645
3 changed files with 17 additions and 0 deletions

View File

@ -34,6 +34,12 @@
# Keep localrc to be able to set some vars in post_test_hook
export KEEP_LOCALRC=1
function gate_hook {{
cd /opt/stack/new/magnum/
./magnum/tests/contrib/gate_hook.sh {coe}
}}
export -f gate_hook
function post_test_hook {{
source $BASE/new/devstack/accrc/admin/admin
cd /opt/stack/new/magnum/

View File

@ -2570,6 +2570,12 @@
coe: 'swarm'
job-suffix: ''
branch-override: default
- '{pipeline}-functional-dsvm-magnum-{coe}{job-suffix}':
pipeline: gate
node: devstack-trusty
coe: 'mesos'
job-suffix: ''
branch-override: default
- 'gate-{name}-tox-{envlist}':
envlist: bandit

View File

@ -1110,6 +1110,10 @@ jobs:
- name: gate-functional-dsvm-magnum-swarm
branch: ^(?!stable/kilo).*$
- name: gate-functional-dsvm-magnum-mesos
branch: ^(?!stable/(kilo|liberty)).*$
voting: false
- name: gate-tempest-dsvm-centos7
voting: false
@ -5945,6 +5949,7 @@ projects:
- gate-functional-dsvm-magnum-api
- gate-functional-dsvm-magnum-k8s
- gate-functional-dsvm-magnum-swarm
- gate-functional-dsvm-magnum-mesos
- gate-magnum-tox-bandit
- magnum-coverage