path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2019-07-11contrib/jenkins.sh: "maintainer-clean" after "publish"Oliver Smith1-1/+1
Run "make maintainer-clean" after publishing manuals, not the other way around. Otherwise jenkins.sh fails when running for the master branch, because docs/manuals/Makefile gets deleted although it is still needed to publish the manuals. Related: OS#3047 Fixes: 471fd92170297f1c857bb448bbf21a162c2ed655 ("contrib/jenkins.sh: run "make maintainer-clean"") Change-Id: I8ba5369b0948b61c68f43d807312c52465119aa5
2019-07-11contrib/jenkins.sh: run "make maintainer-clean"Oliver Smith1-0/+1
Related: OS#3047 Change-Id: I5c257e21376cdccd6e2f413c7df6dd8caef497f1
2018-12-06contrib: fix makedistcheck with disabled systemdOliver Smith1-1/+2
EXTRA_DIST files need to be distributed, no matter if the systemd option is configured or not. Change-Id: Ide5de9383a2a3b957d182dca1187f73dbf1ce982
2018-12-05contrib/jenkins.sh: build and publish manualsOliver Smith1-2/+19
Add new environment variables WITH_MANUALS and PUBLISH to control if the manuals should be built and uploaded. Describe all environment vars on top of the file. When WITH_MANUALS is set, install osmo-gsm-manuals like any other dependency and add --enable-manuals to the configure flags (for "make" and "make distcheck"). Add the bin subdir of the installed files to PATH, so osmo-gsm-manuals-check-depends can be used by ./configure. Related: OS#3385 Change-Id: Ief6ce94013612a968183e82abef421f116ed37c3
2018-09-13Install systemd services with autotoolsPau Espin Pedrol2-0/+6
Change-Id: I015ac3fbe5adc551b76bac5c15ad93d30d0d2b6e
2018-03-23contrib: osmo-bsc.service: Fix osmo-mgw.service dependencyPau Espin Pedrol1-1/+1
Since a while ago, osmo-bsc works only with osmo-mgw. Change-Id: If95d20db4d379b9632342f7e552237066124ac40
2018-03-23contrib: osmo-bsc.service: Update descriptionPau Espin Pedrol1-1/+1
Change-Id: I99d02bd8bd5842580518b34865dd0cbd0433bf27
2018-03-18contrib: jenkins.sh: Add --enable-werror flagPau Espin Pedrol1-2/+2
Change-Id: Ife9ca2a5b835dfd6d03c981dcf0e48265eb861eb
2018-01-02Remove obsolete ./configure optionMax1-1/+1
The '--enable-vty-tests' is just alias to '--enable-external-tests' anyway. Change-Id: I9492d8e988b464aa41f572611cbf2461bb8be3eb
2017-12-27Migrate from OpenSSL to osmo_get_rand_id()Max1-1/+1
This avoids potential licensing incompatibility and makes integration of Debian packaging patches easier. The libosmocore version requirements are fine already but for jenkins tests to pass we have to have Ic77866ce65acf524b768882c751a4f9c0635740b merged into libosmocore master. Change-Id: Ia57bf1300525cf3c247284fe966b1c415c2d53e2 Related: OS#1694
2017-12-21Enable sanitize for CI testsMax1-1/+1
Change-Id: I86f8f29dbe13869fa4a0ac1f55ff697a8975525b
2017-12-19Remove unneeded .py scriptsMax5-971/+0
The ipa.py has been moved to osmo-python-tests as osmo_ipa - use it for vty and ctrl tests instead of local copy. The soap.py and twisted_ipa.py are not BSC-specific: leftovers from repository split which are now available in osmo-python-tests as well. Change-Id: Ia4285b18b152b070c148228604d1e61a8adedba1
2017-10-28jenkins: use osmo-clean-workspace.sh before and after buildNeels Hofmeyr1-1/+4
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale. Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93 Change-Id: I9b6afb59f0a8037d1510a7fddb63927f10d653e5
2017-09-25Further cleanup leftovers from BSC/MSC splitMax1-1/+1
* drop unused header * fix name of jenkins test * remove dead code Change-Id: I986904864741995910b6ba92173b9f7b1b03e2f1
2017-09-06drop files unrelated to osmo-bscNeels Hofmeyr35-1848/+0
These either remain from openbsc.git or slipped in while applying recent patches from openbsc.git and do not belong in osmo-bsc. Empty out contrib: remove things that are either obviously unrelated to osmo-bsc, or seem old and/or esoteric. osmoappdesc.py: drop nitb_e1_configs (and some ws) Change-Id: Ib20064f35e623d99c7d59496a3156e84b8a0d07a
2017-09-03configure.ac: Remove checks for libgtp + c-aresHarald Welte1-1/+0
Those are requirements of sgsn/gtphub and live in osmo-sgsn.git Change-Id: I6054444aba84b37e5c05da065e1e73e5c8669205
2017-09-03configure.ac: Remove --enable-iuHarald Welte1-8/+2
There is no Iu in a BSC, this was from old times with OsmoNITB. This configure option now lives in osmo-msc.git Change-Id: I9cf1c430855fe8a59fea1cf0abb3242c38d45cea
2017-09-03contrib/jenkins.sh: MGCP is unconditional nowHarald Welte1-2/+2
Change-Id: I88338b91eb09554c33c893d86fcaa3d6eb09a22b
2017-09-03configure.ac: remove smpp_mirror, which has no relation to a BSCHarald Welte1-3/+2
smpp_mirror is maintained in osmo-msc.git, so let's remove it (and the associated libsmpp34 build requirement). Change-Id: Ia7b242cc52cf261b1a5dd3c287da2868e1a2b9a8
2017-09-03configure.ac: remove --enable-osmo-bsc, --enable-natHarald Welte1-2/+2
This is the OsmoBSC project. Disabling the build of the BSC would be somewhat odd, so let's remove the option. Also, OsmoBSC depends on libosmo-sccp now, so we must unconditionally depend on it. As a result, we can remove the --enable-nat option, as this was only to avoid a mandatory libosmo-sccp requirement in historical times. Change-Id: Icfee8a904d33b7c13ab8d185d64fb5c2337d8640
2017-09-03jenkins: fix build: osmo-mgw from master, not pre_releaseNeels Hofmeyr1-1/+1
pre_release is gone, we need to build from master now. Change-Id: I985274e48f310e6e38bb54c7e57db28f8e1a6833
2017-08-30move to osmo-mgw.git: osmo-bsc_mgcp and libmgcp as libosmo-legacy-mgcpNeels Hofmeyr1-0/+1
Rewire build and includes to libosmo-legacy-mgcp. Drop osmo-bsc_mgcp and related python tests, now found in osmo-mgw.git. libosmo-legacy-mgcp is installed from osmo-mgw, hence add the dependency to jenkins.sh (so far using the pre_release branch). Change-Id: Ic99d681759edce11564da62500c2aac5cf5fffe2
2017-08-30Implement AoIP, port to M3UA SIGTRAN (large addition and refactoring)Philipp Maier1-7/+2
This was originally a long series of commits converging to the final result seen in this patch. It does not make much sense to review the smaller steps' trial and error, we need to review this entire change as a whole. Implement AoIP in osmo-msc and osmo-bsc. Change over to the new libosmo-sigtran API with support for proper SCCP/M3UA/SCTP stacking, as mandated by 3GPP specifications for the IuCS and IuPS interfaces. From here on, a separate osmo-stp process is required for SCCP routing between OsmoBSC / OsmoHNBGW <-> OsmoMSC / OsmoSGSN jenkins.sh: build from libosmo-sccp and osmo-iuh master branches now for new M3UA SIGTRAN. Patch-by: pmaier, nhofmeyr, laforge Change-Id: I5ae4e05ee7c57cad341ea5e86af37c1f6b0ffa77
2017-08-27jenkins.sh: Proper error message if local environment isn't set upHarald Welte1-0/+7
Change-Id: I79c2302365824d9c8783dadfa378c8eaa07e2ee7
2017-08-27Use value string check from osmo-ciNeels Hofmeyr1-1/+1
Necessary since libosmocore I513835be2d931d0a931cdfc996f361a451bc1a15 removes the script from libosmocore/contrib. Change-Id: I02d7e1c0151c687fd9341d21a09ca15cbf5a1938
2017-08-27contrib: Change systemd requirements so the services connect properlyDaniel Willmann2-2/+6
Change-Id: Ib1b3c640ddd81927a60ee307c4b0cb90fd83eebe
2017-08-27contrib: Add osmo-msc service fileDaniel Willmann1-0/+13
Change-Id: Ifdaf4107167c84af8a616f4ee792d5a34495564b
2017-08-27jenkins: pass proper configure flags to make distcheckNeels Hofmeyr1-1/+3
Enable various components according to the build matrix during make distcheck. Add python tests, osmo-bsc, nat, ... Change-Id: Ic724cf61d44409337414dc58c8795896b4b97a8a
2017-08-27fix make distcheck with python testsNeels Hofmeyr1-0/+1
- bscs.config needed by the vty tests was not picked up as a dist file, because its suffix is not 'cfg'. Rename to *.cfg. Apply this rename in vty_test_runner.py and osmo-bsc_nat.cfg. - Remove restart counters after external tests, otherwise distcheck complains about uncleaned files. - Add contrib/ipa.py to EXTRA_DIST, hence add a Makefile.am to contrib/. Otherwise the python tests cannot find that dependency. Change-Id: I42b55cb1125099afc3a8e3f87c0e398426b2e2a9
2017-08-27jenkins: apply rename to osmo-msc in log markerNeels Hofmeyr1-1/+1
Change-Id: I8ca9a1a8bdb5b9615df5f19f0c1017cb9383f6ee
2017-08-27move openbsc/* to repos rootNeels Hofmeyr41-1/+2983
This is the first step in creating this repository from the legacy openbsc.git. Like all other Osmocom repositories, keep the autoconf and automake files in the repository root. openbsc.git has been the sole exception, which ends now. Change-Id: I9c6f2a448d9cb1cc088cf1cf6918b69d7e69b4e7
2017-08-27jenkins: fix build of --enable-iu: use osmo-iuh tag 'old_sua'Neels Hofmeyr1-1/+2
We are building with libosmo-sccp tag 'old_sua' until the new sigtran has been applied. Since osmo-iuh commit 0f88c110093935305143987638e46dc6db304a3e "migrate osmo-hnbgw to libosmo-sigtran's SCCP/M3UA" osmo-iuh requires libosmo-sccp master. A similar 'old_sua' tag is in place in osmo-iuh.git, to match libosmo-sccp 'old_sua'. Do that to fix the jenkins build of --enable-iu. Change-Id: I70f731db0b74ed48ae6dd713ed4c3247222ef0de
2017-04-10build: iu: use libosmo-sccp tag 'old_sua'Neels Hofmeyr1-1/+5
libosmo-sccp master is moving ahead, openbsc --enable-iu needs an older version. Change-Id: Id74a802fd2ca65f4b6c2079550fbb6b0af3e8340
2017-03-31jenkins.sh: Iu: use libosmo-sccp,-netif masterNeels Hofmeyr1-7/+2
The iu specific branches of libosmo-sccp and libosmo-netif have recently been merged to master. Change-Id: I9465d7b956c3bd65d6e8a387e6710235672352e8
2017-03-16jenkins: add value_string termination checkNeels Hofmeyr1-0/+2
Depends: libosmocore change-id I2bc93ab4781487e7685cfb63091a489cd126b1a8 Change-Id: I4183415cd1ead9d46ae3a556e94243325ef5a844
2016-10-12jenkins.sh: use osmo-build-dep.sh, log test failuresNeels Hofmeyr1-40/+23
Like in libosmo-abis' jenkins.sh Change-Id: I4d6ffd5b230dd095650cc2231678b66056a8e4b5
2016-08-15ci: Attempt to disable doxygen warnings of dependenciesHolger Hans Peter Freyther1-2/+3
We do not want to see doxygen warnings when building the libosmocore dependency. Change-Id: I4640cb5b91d54641e8e5b2f096c3bca49bfff60e
2016-07-13jenkins.sh: add --enable-iu matrix buildNeels Hofmeyr1-3/+14
Change-Id: Ida76f24d0b801fa609f3a128b3b912572cad4297
2016-07-13jenkins.sh: remove code dupNeels Hofmeyr1-52/+51
Have a bash function to build each dependency with the same commands. There is a tradeoff: having each dependency build with the same function means you can't easily tweak one of the dependencies. OTOH having a unified function means a) more readable script, b) that we're sure not to forget some steps and c) no need to do the same edit n times. Set the PKG_CONFIG_PATH globally. Also a tradeoff: if a future addition wouldn't need the same PKG_CONFIG_PATH, this would make things ugly. But that is actually quite unlikely, and the readability improvement is substantial. Use env variables to remember local paths. That means we always are sure to cd to the same absolute base path, which a 'cd ..' can't guarantee; also, we avoid possible typos for e.g. "$deps/install". Change-Id: Ib23f86c6cc1441d882de59bcdde5de87fa4e9fdf
2016-04-13jenkins: Add the build script from jenkins hereHolger Hans Peter Freyther1-0/+57
This can be used to replicate a build issue more easily.