project-config/jenkins/jobs/mistral.yaml
Dawid Deja 9713ed4b43 Add mistral gate for testing kombu driver
This patch enables non-voting gate that would check
newly introduced kombu driver.

Change-Id: I34d9b5833c7df4a8314a2910903e818ff3019267
Depends-On: I462aa17107a9a55396a87a8c46fa3a8dac338fac
2016-11-16 14:55:51 +01:00

102 lines
2.9 KiB
YAML

- job-template:
name: '{pipeline}-{component}-devstack-dsvm'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
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
- job:
name: 'gate-mistral-docker-buildimage'
node: ubuntu-trusty
builders:
- link-logs
- net-info
- gerrit-git-prep
- install-distro-packages
- shell: |
./docker_image_build.sh
publishers:
- scp:
site: 'tarballs.openstack.org'
files:
- source: 'mistral-docker.tar.gz'
target: 'tarballs/mistral/images'
keep-hierarchy: false
copy-after-failure: false
- console-log
- job-template:
name: 'gate-mistral-devstack-dsvm-kombu{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
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"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"MISTRAL_RPC_IMPLEMENTATION=kombu"
function post_test_hook {{
cd /opt/stack/new/mistral/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