103e5b5605
This patch set adds grenade support to Watcher based on legacy-dsvm-base job. Change-Id: I9e23f59f7415aa350b2da644d8801621533b69b0
25 lines
620 B
Bash
Executable File
25 lines
620 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
|
|
source $GRENADE_DIR/grenaderc
|
|
source $GRENADE_DIR/functions
|
|
|
|
# We need base DevStack functions for this
|
|
source $BASE_DEVSTACK_DIR/functions
|
|
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
|
|
source $BASE_DEVSTACK_DIR/lib/tls
|
|
source $BASE_DEVSTACK_DIR/lib/apache
|
|
|
|
WATCHER_DEVSTACK_DIR=$(dirname $(dirname $0))
|
|
source $WATCHER_DEVSTACK_DIR/settings
|
|
source $WATCHER_DEVSTACK_DIR/plugin.sh
|
|
source $WATCHER_DEVSTACK_DIR/lib/watcher
|
|
|
|
set -o xtrace
|
|
|
|
stop_watcher
|
|
|
|
# sanity check that service is actually down
|
|
ensure_services_stopped watcher-api watcher-decision-engine watcher-applier
|