Change in ...docker-playground[master]: Fix ttcn3-sgsn-latest (cs7 instance override)

pespin gerrit-no-reply at lists.osmocom.org
Mon Aug 19 17:14:45 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/15240


Change subject: Fix ttcn3-sgsn-latest (cs7 instance override)
......................................................................

Fix ttcn3-sgsn-latest (cs7 instance override)

Change-Id: Ie45fa7875b409c3955c26d333110c36453c276f9
---
M ttcn3-sgsn-test/jenkins.sh
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/40/15240/1

diff --git a/ttcn3-sgsn-test/jenkins.sh b/ttcn3-sgsn-test/jenkins.sh
index 621ad2e..462c5b2 100755
--- a/ttcn3-sgsn-test/jenkins.sh
+++ b/ttcn3-sgsn-test/jenkins.sh
@@ -16,6 +16,12 @@
 
 mkdir $VOL_BASE_DIR/sgsn
 cp osmo-sgsn.cfg $VOL_BASE_DIR/sgsn/
+# Latest release of osmo-sgsn (1.5.0) uses harcoded default ss7 id 1 from
+# libosmo-sccp (1.1.0). when new osmo-sgsn release is available, these lines
+# below can be dropped:
+if [ "$IMAGE_SUFFIX" = "latest" ]; then
+	sed "s/cs7 instance 0/cs7 instance 1/g" -i $VOL_BASE_DIR/sgsn/osmo-sgsn.cfg
+fi
 
 mkdir $VOL_BASE_DIR/stp
 cp osmo-stp.cfg $VOL_BASE_DIR/stp/

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/15240
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: Ie45fa7875b409c3955c26d333110c36453c276f9
Gerrit-Change-Number: 15240
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190819/26172353/attachment.html>


More information about the gerrit-log mailing list