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:
parent
aa376ddf54
commit
6b2887e645
@ -34,6 +34,12 @@
|
|||||||
# Keep localrc to be able to set some vars in post_test_hook
|
# Keep localrc to be able to set some vars in post_test_hook
|
||||||
export KEEP_LOCALRC=1
|
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 {{
|
function post_test_hook {{
|
||||||
source $BASE/new/devstack/accrc/admin/admin
|
source $BASE/new/devstack/accrc/admin/admin
|
||||||
cd /opt/stack/new/magnum/
|
cd /opt/stack/new/magnum/
|
||||||
|
@ -2570,6 +2570,12 @@
|
|||||||
coe: 'swarm'
|
coe: 'swarm'
|
||||||
job-suffix: ''
|
job-suffix: ''
|
||||||
branch-override: default
|
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}':
|
- 'gate-{name}-tox-{envlist}':
|
||||||
envlist: bandit
|
envlist: bandit
|
||||||
|
|
||||||
|
@ -1110,6 +1110,10 @@ jobs:
|
|||||||
- name: gate-functional-dsvm-magnum-swarm
|
- name: gate-functional-dsvm-magnum-swarm
|
||||||
branch: ^(?!stable/kilo).*$
|
branch: ^(?!stable/kilo).*$
|
||||||
|
|
||||||
|
- name: gate-functional-dsvm-magnum-mesos
|
||||||
|
branch: ^(?!stable/(kilo|liberty)).*$
|
||||||
|
voting: false
|
||||||
|
|
||||||
- name: gate-tempest-dsvm-centos7
|
- name: gate-tempest-dsvm-centos7
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
@ -5945,6 +5949,7 @@ projects:
|
|||||||
- gate-functional-dsvm-magnum-api
|
- gate-functional-dsvm-magnum-api
|
||||||
- gate-functional-dsvm-magnum-k8s
|
- gate-functional-dsvm-magnum-k8s
|
||||||
- gate-functional-dsvm-magnum-swarm
|
- gate-functional-dsvm-magnum-swarm
|
||||||
|
- gate-functional-dsvm-magnum-mesos
|
||||||
- gate-magnum-tox-bandit
|
- gate-magnum-tox-bandit
|
||||||
- magnum-coverage
|
- magnum-coverage
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user