osmith has uploaded this change for review.

View Change

OBS: remove update_obs_eclipse_titan.sh

This script is outdated and not flexible enough to also handle the
"optdir" versions of eclipse-titan we now have to install multiple
versions at the same time. The wiki has been updated to have the direct
steps that are necessary for updating titan, so remove this script.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Upgrading_eclipse-titan_in_the_Osmocom_OBS
Change-Id: I39b8739c16c8bc2177a9ce4f269b946d64565aa4
---
D scripts/obs/update_obs_eclipse_titan.sh
1 file changed, 0 insertions(+), 47 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/56/43956/1
diff --git a/scripts/obs/update_obs_eclipse_titan.sh b/scripts/obs/update_obs_eclipse_titan.sh
deleted file mode 100755
index 2439777..0000000
--- a/scripts/obs/update_obs_eclipse_titan.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh -e
-# https://osmocom.org/projects/cellular-infrastructure/wiki/Upgrading_eclipse-titan_in_the_Osmocom_OBS
-DIR="$(realpath "$(dirname "$0")")"
-PROJ="$1"
-GIT_URL="https://gitea.osmocom.org/osmith/titan.core"
-CHECKOUT="$2"
-
-if [ $# != 2 ]; then
- echo "usage:"
- echo " update_obs_eclipse_titan.sh PROJ CHECKOUT"
- echo "example:"
- echo " update_obs_eclipse_titan.sh home:osmith:latest osmocom/11.0.0"
- exit 1
-fi
-
-prepare_git_repo() {
- cd "$DIR"
- if ! [ -d _cache/eclipse-titan ]; then
- mkdir -p _cache
- git -C _cache clone "$GIT_URL" eclipse-titan
- fi
-
- cd _cache/eclipse-titan
- git fetch
- git clean -fdx
- git checkout -f -B "$CHECKOUT"
- git reset --hard origin/"$CHECKOUT"
-}
-
-update_obs_project() {
- cd "$DIR"
- ./update_obs_project.py \
- --apiurl https://obs.osmocom.org \
- --docker \
- --allow-unknown-package \
- --git-skip-checkout \
- --git-skip-fetch \
- "$PROJ" \
- eclipse-titan
-}
-
-set -x
-prepare_git_repo
-
-if [ -n "$PROJ" ]; then
- update_obs_project
-fi

To view, visit change 43956. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I39b8739c16c8bc2177a9ce4f269b946d64565aa4
Gerrit-Change-Number: 43956
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>