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.orgReview at https://gerrit.osmocom.org/3887 jenkins: build from new osmo-{msc,bsc,mgw,sgsn} repositories The idea is to build each binary separately: even though osmo-msc requires libosmo-sccp, which already includes the osmo-stp binary, we still want osmo-stp to be built from a separate script. The reason: to track down regressions, we can change the versions each binary is built from separately. The additional build effort and jenkins script multitude is acceptable. Change-Id: I194ad5169dbe013c8e1cf9d631033cb2576744dd --- A contrib/jenkins-build-osmo-bsc.sh A contrib/jenkins-build-osmo-ggsn.sh A contrib/jenkins-build-osmo-mgw.sh M contrib/jenkins-build-osmo-msc.sh A contrib/jenkins-build-osmo-sgsn.sh A contrib/jenkins-build-osmo-stp.sh M src/osmo_gsm_tester/osmo_bsc.py M src/osmo_gsm_tester/osmo_mgcpgw.py M src/osmo_gsm_tester/osmo_stp.py 9 files changed, 67 insertions(+), 12 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/87/3887/1 diff --git a/contrib/jenkins-build-osmo-bsc.sh b/contrib/jenkins-build-osmo-bsc.sh new file mode 100755 index 0000000..ee58c9d --- /dev/null +++ b/contrib/jenkins-build-osmo-bsc.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e -x +base="$PWD" +name="osmo-bsc" +. "$(dirname "$0")/jenkins-build-common.sh" + +build_repo libosmocore --disable-doxygen +build_repo libosmo-abis +build_repo libosmo-netif --disable-doxygen +build_repo libosmo-sccp +build_repo osmo-mgw +build_repo osmo-bsc + +create_bin_tgz osmo-bsc diff --git a/contrib/jenkins-build-osmo-ggsn.sh b/contrib/jenkins-build-osmo-ggsn.sh new file mode 100755 index 0000000..a46c3aa --- /dev/null +++ b/contrib/jenkins-build-osmo-ggsn.sh @@ -0,0 +1,10 @@ +#!/bin/sh +set -e -x +base="$PWD" +name="osmo-ggsn" +. "$(dirname "$0")/jenkins-build-common.sh" + +build_repo libosmocore --disable-doxygen +build_repo osmo-ggsn + +create_bin_tgz osmo-ggsn diff --git a/contrib/jenkins-build-osmo-mgw.sh b/contrib/jenkins-build-osmo-mgw.sh new file mode 100755 index 0000000..4ca1e45 --- /dev/null +++ b/contrib/jenkins-build-osmo-mgw.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -e -x +base="$PWD" +name="osmo-mgw" +. "$(dirname "$0")/jenkins-build-common.sh" + +build_repo libosmocore --disable-doxygen +build_repo libosmo-abis +build_repo libosmo-netif --disable-doxygen +build_repo osmo-mgw + +create_bin_tgz osmo-bsc_mgcp diff --git a/contrib/jenkins-build-osmo-msc.sh b/contrib/jenkins-build-osmo-msc.sh index 8025ca2..c0faf78 100755 --- a/contrib/jenkins-build-osmo-msc.sh +++ b/contrib/jenkins-build-osmo-msc.sh @@ -7,11 +7,9 @@ build_repo libosmocore --disable-doxygen build_repo libosmo-abis build_repo libosmo-netif --disable-doxygen -build_repo openggsn build_repo libsmpp34 build_repo libosmo-sccp -build_repo libasn1c -build_repo osmo-iuh neels/sigtran # TEMPORARY BRANCH -build_repo openbsc aoip --enable-smpp --enable-osmo-bsc --enable-nat --enable-iu +build_repo osmo-mgw +build_repo osmo-msc --enable-smpp --disable-iu create_bin_tgz osmo-msc diff --git a/contrib/jenkins-build-osmo-sgsn.sh b/contrib/jenkins-build-osmo-sgsn.sh new file mode 100755 index 0000000..1979e8c --- /dev/null +++ b/contrib/jenkins-build-osmo-sgsn.sh @@ -0,0 +1,14 @@ +#!/bin/sh +set -e -x +base="$PWD" +name="osmo-sgsn" +. "$(dirname "$0")/jenkins-build-common.sh" + +build_repo libosmocore --disable-doxygen +build_repo libosmo-abis +build_repo libosmo-netif --disable-doxygen +build_repo libosmo-sccp +build_repo openggsn +build_repo osmo-sgsn --disable-iu + +create_bin_tgz osmo-sgsn diff --git a/contrib/jenkins-build-osmo-stp.sh b/contrib/jenkins-build-osmo-stp.sh new file mode 100755 index 0000000..86cbe3d --- /dev/null +++ b/contrib/jenkins-build-osmo-stp.sh @@ -0,0 +1,12 @@ +#!/bin/sh +set -e -x +base="$PWD" +name="osmo-stp" +. "$(dirname "$0")/jenkins-build-common.sh" + +build_repo libosmocore --disable-doxygen +build_repo libosmo-abis +build_repo libosmo-netif --disable-doxygen +build_repo libosmo-sccp + +create_bin_tgz osmo-stp diff --git a/src/osmo_gsm_tester/osmo_bsc.py b/src/osmo_gsm_tester/osmo_bsc.py index 2eb23fb..f9eb858 100644 --- a/src/osmo_gsm_tester/osmo_bsc.py +++ b/src/osmo_gsm_tester/osmo_bsc.py @@ -43,10 +43,7 @@ self.run_dir = util.Dir(self.suite_run.get_test_run_dir().new_dir(self.name())) self.configure() - # NOTE: While OsmoMSC and OsmoBSC live in the same git repository, the - # osmo-msc build will also provide the OsmoBSC binary. As soon as the - # repositories are separate, there shall be a separate artifact. - inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-msc'))) + inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-bsc'))) binary = inst.child('bin', 'osmo-bsc') if not os.path.isfile(binary): diff --git a/src/osmo_gsm_tester/osmo_mgcpgw.py b/src/osmo_gsm_tester/osmo_mgcpgw.py index db41dff..93c3a7c 100644 --- a/src/osmo_gsm_tester/osmo_mgcpgw.py +++ b/src/osmo_gsm_tester/osmo_mgcpgw.py @@ -40,7 +40,7 @@ self.log('Starting osmo-mgcpgw') self.run_dir = util.Dir(self.suite_run.get_test_run_dir().new_dir(self.name())) self.configure() - inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-msc'))) + inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-mgw'))) binary = inst.child('bin', 'osmo-bsc_mgcp') if not os.path.isfile(binary): raise RuntimeError('Binary missing: %r' % binary) diff --git a/src/osmo_gsm_tester/osmo_stp.py b/src/osmo_gsm_tester/osmo_stp.py index 1aeb879..cc3906f 100644 --- a/src/osmo_gsm_tester/osmo_stp.py +++ b/src/osmo_gsm_tester/osmo_stp.py @@ -39,9 +39,7 @@ self.run_dir = util.Dir(self.suite_run.get_test_run_dir().new_dir(self.name())) self.configure() - # NOTE: libosmo-sccp provides osmo-stp and is built as a dependency of - # OsmoMSC. - inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-msc'))) + inst = util.Dir(os.path.abspath(self.suite_run.trial.get_inst('osmo-stp'))) binary = inst.child('bin', 'osmo-stp') if not os.path.isfile(binary): -- To view, visit https://gerrit.osmocom.org/3887 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I194ad5169dbe013c8e1cf9d631033cb2576744dd Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>