projects
/
arvados-dev.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65e0ee
)
Parameterize the instance to run the diagnostics suite against.
author
Ward Vandewege <ward@curoverse.com>
Wed, 8 Oct 2014 00:34:07 +0000
(20:34 -0400)
committer
Ward Vandewege <ward@curoverse.com>
Wed, 8 Oct 2014 00:34:07 +0000
(20:34 -0400)
No issue #
jenkins/run-diagnostics-suite.sh
patch
|
blob
|
history
diff --git
a/jenkins/run-diagnostics-suite.sh
b/jenkins/run-diagnostics-suite.sh
index be4e5592943fbc61852c03cc78988ae6f0ca1f3f..83e20be6e78e0287bc01361e2e39c6bdd39a0d7f 100755
(executable)
--- 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