From 52f13a4087ef8b49640053bebd6a5046d55c63fe Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 12 Nov 2014 06:33:36 -0500 Subject: [PATCH] remove the trove exercise The trove cli has been changed in an incompatible way. Exercises are the requirements of projects to keep functioning, if they aren't we should fast delete them. Related-Bug: #1391840 Change-Id: I3b61194ff220525aed202c7f7851faa0be446646 --- exercises/trove.sh | 49 ---------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100755 exercises/trove.sh diff --git a/exercises/trove.sh b/exercises/trove.sh deleted file mode 100755 index 053f872361..0000000000 --- a/exercises/trove.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env bash - -# **trove.sh** - -# Sanity check that trove started if enabled - -echo "*********************************************************************" -echo "Begin DevStack Exercise: $0" -echo "*********************************************************************" - -# This script exits on an error so that errors don't compound and you see -# only the first error that occurred. -set -o errexit - -# Print the commands being run so that we can see the command that triggers -# an error. It is also useful for following allowing as the install occurs. -set -o xtrace - - -# Settings -# ======== - -# Keep track of the current directory -EXERCISE_DIR=$(cd $(dirname "$0") && pwd) -TOP_DIR=$(cd $EXERCISE_DIR/..; pwd) - -# Import common functions -source $TOP_DIR/functions - -# Import configuration -source $TOP_DIR/openrc - -# Import exercise configuration -source $TOP_DIR/exerciserc - -is_service_enabled trove || exit 55 - -# can try to get datastore id -DSTORE_ID=$(trove datastore-list | tail -n +4 |head -3 | get_field 1) -die_if_not_set $LINENO DSTORE_ID "Trove API not functioning!" - -DV_ID=$(trove datastore-version-list $DSTORE_ID | tail -n +4 | get_field 1) -die_if_not_set $LINENO DV_ID "Trove API not functioning!" - -set +o xtrace -echo "*********************************************************************" -echo "SUCCESS: End DevStack Exercise: $0" -echo "*********************************************************************" -