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

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/.

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


pespin has submitted this change and it was merged. ( 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(-)

Approvals:
  pespin: Looks good to me, approved; Verified



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-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190819/f9a7f794/attachment.htm>


More information about the gerrit-log mailing list