2014-02-25 14:24:36 -08:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-oslo.messaging-dsvm-functional-{version}-{driver}-{node}{suffix}'
|
2014-02-25 14:24:36 -08:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 100
|
2014-02-25 14:24:36 -08:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2014-03-19 00:06:03 +00:00
|
|
|
- link-logs
|
|
|
|
- net-info
|
2014-02-25 14:24:36 -08:00
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
|
|
|
|
function post_test_hook {{
|
2016-12-08 08:43:41 +01:00
|
|
|
cd /opt/stack/new/oslo.messaging/oslo_messaging/tests/functional/gate
|
|
|
|
./post_test_hook.sh {driver} {version}
|
2014-02-25 14:24:36 -08:00
|
|
|
}}
|
|
|
|
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:
|
2016-12-08 08:43:41 +01:00
|
|
|
- test-results
|
2014-02-25 14:24:36 -08:00
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
2014-03-28 07:23:18 -07:00
|
|
|
|
2016-12-08 08:43:41 +01:00
|
|
|
# A Template to run a oslo.messaging devstack-plugin with oslo.messaging
|
|
|
|
# code picked up from source
|
2014-10-22 23:44:12 +02:00
|
|
|
- job-template:
|
2017-05-05 18:08:09 -04:00
|
|
|
name: '{pipeline}-oslo.messaging-src-dsvm-full-{plugin}-{config}-{node}{suffix}'
|
2014-10-22 23:44:12 +02:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-12-08 08:43:41 +01:00
|
|
|
timeout: 180
|
2014-10-22 23:44:12 +02:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2014-10-22 23:44:12 +02:00
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
2016-12-08 08:43:41 +01:00
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
2017-04-30 16:48:07 +02:00
|
|
|
export PROJECTS="{plugin-repo} $PROJECTS"
|
2016-12-08 08:43:41 +01:00
|
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin devstack-plugin-{plugin} git://git.openstack.org/{plugin-repo}"
|
2017-04-30 16:48:07 +02:00
|
|
|
export DEVSTACK_PROJECT_FROM_GIT="oslo.messaging"
|
2014-10-22 23:44:12 +02:00
|
|
|
|
2017-05-05 18:08:09 -04:00
|
|
|
if [ "{plugin}" == "amqp1" ]; then
|
|
|
|
# The AMQP 1.0 plugin supports a couple of different message bus configurations
|
|
|
|
# 'hybrid' - use RabbitMQ for Notifications, qdrouterd for RPC
|
|
|
|
# 'dual' - use qpidd for Notifications, qdrouterd for RPC
|
|
|
|
# default: use qpidd for Notifications and for RPC
|
|
|
|
case "{config}" in
|
|
|
|
hybrid)
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-hybrid"
|
|
|
|
;;
|
|
|
|
dual)
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-dual"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
2014-10-22 23:44:12 +02:00
|
|
|
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
|