[PATCH] osmo-gsm-tester[master]: jenkins: remove unused file: jenkins-remote-update.sh

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Fri Jun 2 13:57:47 UTC 2017


Review at  https://gerrit.osmocom.org/2827

jenkins: remove unused file: jenkins-remote-update.sh

Change-Id: I2858331393722d13e05d194656d8ee4dc17253f9
---
D contrib/jenkins-remote-update.sh
1 file changed, 0 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/27/2827/1

diff --git a/contrib/jenkins-remote-update.sh b/contrib/jenkins-remote-update.sh
deleted file mode 100755
index f30855e..0000000
--- a/contrib/jenkins-remote-update.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-set -e -x
-
-if [ -z "$OSMO_GSM_TESTER_REMOTE_MAIN_UNIT" ]; then
-  echo "To run the tests from jenkins, a main unit host must be defined."
-  echo "e.g. OSMO_GSM_TESTER_REMOTE_MAIN_UNIT=\"user at 10.9.8.7\""
-fi
-
-osmo_gsm_tester_host="$OSMO_GSM_TESTER_REMOTE_MAIN_UNIT"
-osmo_gsm_tester_src="${OSMO_GSM_TESTER_REMOTE_SRC:-/usr/local/src/osmo-gsm-tester}"
-
-if ssh "$osmo_gsm_tester_host" "test -d \"$osmo_gsm_tester_src\"" ; then
-  # exists
-  status="$(ssh "$osmo_gsm_tester_host" "git -C \"$osmo_gsm_tester_src\" status --porcelain")"
-  if [ "x$status" != "x" ]; then
-    echo "Remote osmo-gsm-tester is not clean: $osmo_gsm_tester_host:$osmo_gsm_tester_src"
-    echo "$status"
-    exit 1
-  fi
-  ssh "$osmo_gsm_tester_host" "cd \"$osmo_gsm_tester_src\"; git clean -fdx; git fetch; git reset --hard origin/master"
-else
-  osmo_gsm_tester_src_dirname="$(dirname "$osmo_gsm_tester_src")"
-  ssh "$osmo_gsm_tester_host" "git clone git://git.osmocom.org/osmo-gsm-tester.git \"$osmo_gsm_tester_src\""
-fi

-- 
To view, visit https://gerrit.osmocom.org/2827
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2858331393722d13e05d194656d8ee4dc17253f9
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list