[ARVADOS-DEV] updated: 2923ce9f48f072119e8c5d0771ae3480a2679864
git at public.curoverse.com
git at public.curoverse.com
Tue Oct 7 20:34:14 EDT 2014
Summary of changes:
jenkins/run-diagnostics-suite.sh | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
via 2923ce9f48f072119e8c5d0771ae3480a2679864 (commit)
from c65e0ee82ed25c9161dfa63e3d1ff298bd0c4c17 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 2923ce9f48f072119e8c5d0771ae3480a2679864
Author: Ward Vandewege <ward at curoverse.com>
Date: Tue Oct 7 20:34:07 2014 -0400
Parameterize the instance to run the diagnostics suite against.
No issue #
diff --git a/jenkins/run-diagnostics-suite.sh b/jenkins/run-diagnostics-suite.sh
index be4e559..83e20be 100755
--- a/jenkins/run-diagnostics-suite.sh
+++ b/jenkins/run-diagnostics-suite.sh
@@ -2,6 +2,13 @@
EXITCODE=0
+INSTANCE=$1
+
+if [[ "$INSTANCE" == '' ]]; then
+ echo "Syntax: $0 <instance>"
+ exit 1
+fi
+
# Sanity check
if ! [[ -n "$WORKSPACE" ]]; then
echo "WORKSPACE environment variable not set"
@@ -29,7 +36,7 @@ timer_reset
cd $WORKSPACE
-cp -f /home/jenkins/diagnostics/arvados-workbench/application.yml $WORKSPACE/apps/workbench/config/
+cp -f /home/jenkins/diagnostics/arvados-workbench/$INSTANCE-application.yml $WORKSPACE/apps/workbench/config/
cd $WORKSPACE/apps/workbench
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list