From 56eb3d580fdb2718f6be99ca50a452c116dd5793 Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Tue, 23 Aug 2011 14:17:46 +0000
Subject: [PATCH] LMS-2471 first version of nightly-upgrade-generic-openbis.sh

SVN: 22616
---
 openbis_all/source/bash/fetch-ci-artifacts.sh       |  3 +--
 .../source/bash/nightly-upgrade-generic-openbis.sh  | 13 +++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 openbis_all/source/bash/nightly-upgrade-generic-openbis.sh

diff --git a/openbis_all/source/bash/fetch-ci-artifacts.sh b/openbis_all/source/bash/fetch-ci-artifacts.sh
index e23d4424095..83b75c25de8 100755
--- a/openbis_all/source/bash/fetch-ci-artifacts.sh
+++ b/openbis_all/source/bash/fetch-ci-artifacts.sh
@@ -13,8 +13,7 @@
 CI_HOST=cisd-ci.ethz.ch:8090
 
 if [ $# -lt 1 ]; then
-    echo "Usage: fetch-ci-artifacts.sh [-d <output folder>] \
-                 [-p <regular expression for filtering artifact names>] <project>"
+    echo "Usage: fetch-ci-artifacts.sh [-d <output folder>] [-p <regular expression for filtering artifact names>] <project>"
     exit 1
 fi
 
diff --git a/openbis_all/source/bash/nightly-upgrade-generic-openbis.sh b/openbis_all/source/bash/nightly-upgrade-generic-openbis.sh
new file mode 100644
index 00000000000..320b4e331d3
--- /dev/null
+++ b/openbis_all/source/bash/nightly-upgrade-generic-openbis.sh
@@ -0,0 +1,13 @@
+#! /bin/bash
+# 
+# This script does the following:
+# - Install generic openBIS sprint servers based on latest builds on Hudson.
+# - Restore store and databases from latest snapshot
+# - Restart AS and DSS
+# 
+fetch-ci-artifacts.sh openbis
+fetch-ci-artifacts.sh -p server datastore_server
+fetch-ci-artifacts.sh rtd_yeastx
+sprint_install.sh
+servers-startup-from-latest-snapshot.sh snapshots
+
-- 
GitLab