Update jobs for mistral
Updated mistral gates configuration, substitute job definition to job template, split one mistral-devstack gate into two which will run different suite of tests. Change-Id: Ie4e6e550c0f9a63d42fe0bde1969341b5979f1d8
This commit is contained in:
parent
9273b3983e
commit
e3e73c60f3
@ -1,6 +1,6 @@
|
|||||||
- job:
|
- job-template:
|
||||||
name: gate-mistral-devstack-dsvm
|
name: '{pipeline}-{component}-devstack-dsvm'
|
||||||
node: 'devstack-precise || devstack-trusty'
|
node: '{node}'
|
||||||
|
|
||||||
wrappers:
|
wrappers:
|
||||||
- build-timeout:
|
- build-timeout:
|
||||||
@ -15,18 +15,22 @@
|
|||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
export PYTHONUNBUFFERED=true
|
export PYTHONUNBUFFERED=true
|
||||||
export DEVSTACK_GATE_TIMEOUT=60
|
export DEVSTACK_GATE_TIMEOUT=60
|
||||||
export DEVSTACK_GATE_TEMPEST=1
|
|
||||||
export DEVSTACK_GATE_NEUTRON=1
|
export DEVSTACK_GATE_NEUTRON=1
|
||||||
export ENABLED_SERVICES=h-api,h-api-cfn,h-api-cw,h-eng,heat
|
|
||||||
|
if [ "{component}" = "python-mistralclient" ] ; then
|
||||||
|
export DEVSTACK_PROJECT_FROM_GIT="python-mistralclient"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export ENABLED_SERVICES=h-api,h-api-cfn,h-api-cw,h-eng,heat,tempest
|
||||||
export PROJECTS="openstack/mistral $PROJECTS"
|
export PROJECTS="openstack/mistral $PROJECTS"
|
||||||
export PROJECTS="openstack/mistral-dashboard $PROJECTS"
|
export PROJECTS="openstack/mistral-dashboard $PROJECTS"
|
||||||
export PROJECTS="openstack/python-mistralclient $PROJECTS"
|
export PROJECTS="openstack/python-mistralclient $PROJECTS"
|
||||||
export DEVSTACK_LOCAL_CONFIG="enable_plugin mistral https://git.openstack.org/openstack/mistral"
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin mistral https://git.openstack.org/openstack/mistral"
|
||||||
|
|
||||||
function post_test_hook {
|
function post_test_hook {{
|
||||||
cd /opt/stack/new/mistral/functionaltests
|
cd /opt/stack/new/{component}/functionaltests
|
||||||
./post_test_hook.sh
|
./post_test_hook.sh
|
||||||
}
|
}}
|
||||||
export -f post_test_hook
|
export -f post_test_hook
|
||||||
|
|
||||||
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
|
@ -2489,6 +2489,10 @@
|
|||||||
- python-jobs
|
- python-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
- openstack-publish-jobs
|
- openstack-publish-jobs
|
||||||
|
- '{pipeline}-{component}-devstack-dsvm':
|
||||||
|
pipeline: gate
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
component: mistral
|
||||||
- gate-rally-dsvm-mistral-{name}:
|
- gate-rally-dsvm-mistral-{name}:
|
||||||
name: task
|
name: task
|
||||||
- gate-{name}-tox-{envlist}:
|
- gate-{name}-tox-{envlist}:
|
||||||
@ -5794,6 +5798,10 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- python-jobs
|
- python-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
|
- '{pipeline}-{component}-devstack-dsvm':
|
||||||
|
pipeline: gate
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
component: python-mistralclient
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: python-monascaclient
|
name: python-monascaclient
|
||||||
|
@ -1451,6 +1451,9 @@ jobs:
|
|||||||
- name: gate-mistral-devstack-dsvm
|
- name: gate-mistral-devstack-dsvm
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
|
- name: gate-python-mistralclient-devstack-dsvm
|
||||||
|
voting: false
|
||||||
|
|
||||||
- name: gate-mistral-dashboard-python34
|
- name: gate-mistral-dashboard-python34
|
||||||
voting: false
|
voting: false
|
||||||
|
|
||||||
@ -8121,7 +8124,7 @@ projects:
|
|||||||
- name: python3-jobs
|
- name: python3-jobs
|
||||||
- name: check-requirements
|
- name: check-requirements
|
||||||
check:
|
check:
|
||||||
- gate-mistral-devstack-dsvm
|
- gate-python-mistralclient-devstack-dsvm
|
||||||
|
|
||||||
- name: openstack/python-monascaclient
|
- name: openstack/python-monascaclient
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user