Vincent Francoise 5eb57c7bae Mutlinode fixup - let Watcher plugin install CLI
The Watcher multinode experimental job is currently not working due
to the fact that the DEVSTACK_PROJECT_FROM_GIT variable is actually
shared by both the primary node and the subnodes. Therefore, I removed
it from the multinode job to let the Watcher plugin deal with this
using 'is_service_enabled' to detect whether we are on the primary
node or not.

Change-Id: I292d109c89c9f07b1440a215d6c50b9243df9abe
2016-04-08 10:21:54 +02:00

43 lines
1.4 KiB
YAML

- job-template:
name: '{pipeline}-watcher-dsvm-multinode{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
DEVSTACK_LOCAL_CONFIG="enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer"
# Enable watcher devstack plugin.
DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin watcher git://git.openstack.org/openstack/watcher"
export DEVSTACK_LOCAL_CONFIG
export DEVSTACK_SUBNODE_CONFIG=" "
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
export DEVSTACK_GATE_TEMPEST_REGEX="watcher_tempest_plugin"
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TOPOLOGY="multinode"
export PROJECTS="openstack/watcher $PROJECTS"
export PROJECTS="openstack/python-watcherclient $PROJECTS"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log