e3e73c60f3
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
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
- job-template:
|
|
name: '{pipeline}-{component}-devstack-dsvm'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 65
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
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-dashboard $PROJECTS"
|
|
export PROJECTS="openstack/python-mistralclient $PROJECTS"
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin mistral https://git.openstack.org/openstack/mistral"
|
|
|
|
function post_test_hook {{
|
|
cd /opt/stack/new/{component}/functionaltests
|
|
./post_test_hook.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:
|
|
- devstack-logs
|
|
- console-log
|