aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2021-11-16Bump version: 1.3.0.348-f42287-dirty → 1.4.01.4.0Pau Espin Pedrol1-8/+8
Change-Id: Ibf3ce0bfd0cf67148229dd988ebde6e6b8d744cc
2021-08-18jenkins: enable new flag --enable-external-testsNeels Hofmeyr3-0/+3
Change-Id: Iac47ce865c833d892c84425b49e9420838e100ca
2021-02-23Bump version: 1.2.0.444-8777-dirty → 1.3.01.3.0Pau Espin Pedrol1-8/+8
Change-Id: I206af3596a714e5e9038b22e84ae6c20dc360e13
2021-01-13contrib/jenkins: don't build osmo-gsm-manualsOliver Smith1-1/+0
Related: OS#4912 Change-Id: I8ab46680f9b753408e7ac6ef1635f997747325e5
2020-10-12contrib/jenkins: Enable parallel make in make distcheckPau Espin Pedrol1-2/+2
Change-Id: Ib91fb2e09d5260bef03dec653e26eeb4378e8e74 Related: OS#4421
2020-06-24osmo-bts.spec.in: Use %config(noreplace) to retain current config fileHarald Welte1-2/+2
Change-Id: I8d92cfddaa5bbfa33e36f37b48033b468c7d72cf
2020-06-05doc/examples: remove virtual/openbsc-virtual.cfgVadim Yanitskiy1-1/+0
This is not the right place to ship configuration examples for other projects, and definitely not for abandoned ones. Change-Id: Ib165b16f948126df8023bb42ad5d6d4b2fc11e6a
2020-05-20contrib: integrate RPM specOliver Smith1-5/+7
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: Ia160d1a04b95e9efeb6c26eabd28c3697968d177
2020-05-19contrib: import RPM specOliver Smith1-0/+116
Copy the RPM spec file from: https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly Related: OS#4550 Change-Id: I932d5965a713a3018d8819d1b244ff8ca3144fb1
2019-07-10contrib/jenkins.sh: run "make maintainer-clean"Oliver Smith1-0/+2
Related: OS#3047 Change-Id: I9d9b2412f005e4bda0ed35ba715cfb4dca1b04c1
2019-05-29osmo-bts-lc15: Change LED behaviour to be the same as oc2gDaniel Willmann1-4/+1
It looks like the status LED on the sysmobts2100 never worked correctly since lc15bts-mgr expects osmo-bts-lc15 to create and manage /var/run/osmo-bts/state, but there is nothing to do so in osmo-bts. This patch copies the functions from oc2g to manage the state file in lc15. Change-Id: Iad32a22fc72e2aba45e4f1b9ae585f6e0b8757ed Related: SYS#4493
2019-05-29osmo-bts-oc2g: Fix status LED responsibilitiesDaniel Willmann1-4/+1
osmo-bts-oc2g no longer modifies the status LED and instead leaves that to the bts manager. The service file now also creates a directory in /var/run needed for osmo-bts to communicate with oc2gbts-mgr. This status file is used by oc2gbts-mgr to figure out when the bts is operational. Related: SYS#4493 Change-Id: Ifae634c6c2ecec7d32298c0f266f91f3e81308f5
2019-03-27contrib: Remove deprecated screen script helpersPau Espin Pedrol5-70/+0
Nowadays only known users (OE images) use systemd and don't require this kind of screen setup. In any case, this kind of file belongs to scpeific setup and are not needed here. Change-Id: I65b0eee44336e4627620443861092b8988f2e01d
2019-01-30systemd: Install OC2G service files with autotoolsDaniel Willmann1-0/+4
Change-Id: Ifd37b6a01ad9007a9e887fe3dd208dc74047b4d8
2019-01-17dump_docs: Use new config file naming schemeDaniel Willmann1-1/+1
Change-Id: I05723ef50deb918ed1131c1d30f8e613351b3be5
2019-01-17Rename oc2g config file to match new naming schemeDaniel Willmann1-1/+1
examples/oc2g/osmo-bts.cfg->examples/oc2g/osmo-bts-oc2g.cfg Change-Id: Ie49d5695ea78da2995252c56c75ce42e6cec0e9c Related: SYS#4444
2018-12-06contrib: fix makedistcheck with disabled systemdOliver Smith1-1/+11
EXTRA_DIST files need to be distributed, no matter if the systemd option is configured or not. Change-Id: I5d3712b54a8b777c33a9804a4f612e4f37f829df
2018-12-05contrib/jenkins_*.sh: build and publish manualsOliver Smith2-2/+23
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 jenkins_bts_model.sh. Change the top description line to look like all the other contrib/jenkins.sh files (from other repositories), so it is clear that this is the entry point of Jenkins (and not the other contrib/jenkins_*.sh scripts). 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: If51194cc595bd8cf1081b35ab0e1a5ddcd448860
2018-10-27Add OC-2G BTS sourcesOmar Ramadan4-0/+79
Change-Id: I327384fe5ac944dc3996a3f00932d6f1a10d5a35
2018-09-30contrib/jenkins_*.sh: drop rudimentary '--with-osmo-pcu'Vadim Yanitskiy2-2/+0
The '--with-osmo-pcu' flag dates back to a time where the 'pcu_interface' header was not copied in both repositories and you had to point one to the other. Change-Id: I79e494484cb099cc9ca8c27c38b785c5ea8c3bc6 Closes OS#3514
2018-09-12Install sample cfg file to /etc/osmocomPau Espin Pedrol3-3/+3
Change cfg file names so they don't overlap when installing different osmo-bts versions, and make systemd services look for correct new name. Remove unneeded duplicated EXTRA_DIST files from root dir Makefile.am Change-Id: I75fdd06cc52ce50628efb1f9b007d2e3926db27d
2018-09-12Install systemd services with autotoolsPau Espin Pedrol7-20/+19
Change-Id: I87299134696bbfc6721b1226d4de6c73854aa846
2018-09-06Move systemd service to contrib/systemdPau Espin Pedrol2-0/+30
Move it there and have only a symlink in debian/, like we do in all other projects. Change-Id: I213d3816a66e88069c31f85b3fbf462d1222aa43
2018-06-22jenkins_*.sh: add --enable-werror to configure flagsPau Espin Pedrol5-4/+20
The flag is enabled for all BTS flavour except for lc15, which still contain several compilation warnings (fixes submitted to gerrit, but not merged since no contributor is testing lc15 nowadays). Change-Id: Ib65056633697dafa63831fc2a480b798df550db6
2018-04-06contrib: jenkins_bts_model: Fix bashism exprPau Espin Pedrol1-1/+1
In posix shell, = is valid and == is not. Change-Id: I5c027039d12c5e455a8f8a0878f88ab30c168db4
2018-01-24Enable sanitize for CI testsMax4-3/+4
Change-Id: I3e2e1fb777a7cbf74e2f7c4288ed5f3277c7faed
2018-01-24CI: drop unused OsmoPCU dependencyMax2-6/+0
The independent copy of pcuif_proto.h file is used by OsmoBTS so we don't have to checkout OsmoPCU to obtain it. Change-Id: If8d7330adf3edc44c3b49b1f6e854cce0eca2d8e
2018-01-19Allow specifying sysmocom headers explicitlyMax1-1/+1
Add configure option --with-sysmobts=$INCDIR (like for LC1.5). Use to fix the jenkins build to fix the build after migration to stow, where we can no longer use a commin -I to include the sysmobts headers as well. Tweaked-by: neels Change-Id: I0416a9f4c428189cd9c3909c8bd016ca2908128a
2018-01-18jenkins_common.sh: fix build_bts distcheck for more than one conf_flagNeels Hofmeyr1-1/+1
Passing configure flags in DISTCHECK_CONFIGURE_FLAGS requires enclosing all flags in quotes. Currently we seem to have no callers with more than one configure flag, so we were lucky not to break there. Change-Id: I37bc517a30d00c744eddc8565a0a8181cb3b2cdb
2018-01-16Move sysmobts-calib into osmo-bts-sysmoMax5-1395/+3
It's prerequisite for jenkins tests fix after migration to stow. The sysmobts-calib uses hand-coded Makefile instead of automake which makes it hard to properly propagate build flags. Also, make it optional to enable excluding it from certain jenkins tests. Change-Id: I3b54bfa5ef1d89092f6cf13dc27de10874b31b18
2017-12-14jenkins.sh: Disable building doxygen for depsPau Espin Pedrol5-5/+5
Change-Id: I2ed207a5febe8017a20a0e7de0ba575fd7966af6
2017-10-28jenkins: use osmo-clean-workspace.sh before and after buildNeels Hofmeyr6-1/+12
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale. Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93 Change-Id: I830b17462b636e0bf03f4d88000660409503c3e5
2017-10-10jenkins: remove openbsc dependencyMax1-3/+1
The dependency on OpenBSC has been removed in ec33b0397f5d71248c5834513d4be7b9b0e46366 so we can drop it from jenkins scripts too. Change-Id: Ie28d444f2154f5b4bbbd9a1cb45b74ebca890cb1
2017-08-26Use value string check from osmo-ciMax1-8/+2
Change-Id: I5bce234a5b8133c81b3ea8757e05de56d3aa15d8
2017-08-18Simplify jenkins build scriptsMax6-88/+36
* move duplicated code into separate functions in jenkins_common.sh * use that function in individual builds Change-Id: I4d09c5f2693b5ac0a4d8f2c840971e13d1ec58cf
2017-08-07lc15bts-mgr.service: Prepare dirs and sysctls for the processPau Espin Pedrol1-1/+18
Change-Id: I0a0a10ca9498318c48c81fa94faceb2ad4ac1de6
2017-07-31lc15: Tweak led colors used in service filePau Espin Pedrol1-3/+3
service sets led to orange before/while osmo-bts is being started. osmo-bts-lc15 sets led to green while operating. (unchanged in here) service sets led to red when osmo-bts stops running. Change-Id: If351f49d1ead359192d0d80bbc381afd3459c940
2017-07-21lc15bts-mgr: separate service fileMax2-2/+14
The sysmobts- and lc15bts- mgr have different semantics for the same command line option (-n: writing to EEPROM vs writing to ROM). and different default value. Hence it make sense to use separate files, similar to osmo-bts-*.service Change-Id: I645a81e30d7146ff26720391db763b6d585037e6 Related: SYS#3728
2017-07-17Unify *.service filesMax3-3/+5
* unify description * provide common BTS-independent aliases Change-Id: Ia067dc5b0bdef07b90ab57f89e8ba6b2a794eb4a
2017-07-10jenkins helpers: some minimal documentation/comments + print errorsHarald Welte7-0/+22
We should print meaningful error messages in case a user doesn't have the required local PATH set up, or doesn't specify a required command line argument. Change-Id: I30a2935f93ade69222b1e0c3e212ee10e17c1823
2017-06-22lc15: fix jenkins buildMax1-3/+3
* use proper fw headers include path * do not quote $PARALLEL_MAKE variable Change-Id: Ib67305ae858ce322f7ea4ac6c6ce5007ce8e7ab9 Related: SYS#3682
2017-06-22lc15: make jenkins helper executableMax1-0/+0
Change-Id: Icf06040d77180fb9d877ca52e00171b21b634ef8 Related: SYS#3682
2017-06-22Copy sysmobts.service to osmo-bts-sysmoMax2-0/+21
This way the name of systemd service file will match the name of the binary similar to lc15. Add aliases so the user can use both old and new names regardless of which file is installed. Once the corresponding changes to OE recipes are applied old file can be removed. Based on work by Pau Espin Pedrol <pespin@sysmocom.de> Change-Id: I08615eb625d488603aeb5962ad9f30869c0e77c5
2017-06-21Use generic L1 headers helperMax4-55/+10
Change-Id: I2253df3509595d7393ec6631ef846dbebae73ca4
2017-06-21lc15: add jenkins helperMax2-0/+41
Add jenkins build helper for lc15 and separate header with BTS-agnostic functions. Change-Id: Ib47f5a6cc88e784c5662b0dab4ddc03ce9a35132 Related: SYS#3682
2017-06-21Move common steps into common jenkins helperMax5-69/+36
Move value_string termination check and OpenBSC headers checkout into shared jenkins helper from BTS' model-specific helpers to get rid of copy-pasted code. While at it - also remove unnecessary bash dependency. Change-Id: Ic48b1f75179b9008d65219dd5a47c1ab3b886408
2017-06-14lc15: add example systemd service fileMax1-0/+20
Change-Id: I923b4220f98bb7bd9ec78a6804bdfa9ad988f473 Related: SYS#3686
2017-06-14Use systemd template specifiersMax1-2/+2
Use systemd template specifier for config name instead of hardcoding it. This will allow to specify different config file name depending on the name of the service file. By default sysmobts-mgr.cfg will be used preserving compatibilty with existing installations but if the unit is named lc15bts-mgr.service than lc15bts-mgr.cfg will be used. This gives us necessary flexibility to use BTS-specific configuration. Change-Id: I475df6a06691390120eea0bd8a61fa469df2bd2d Related: SYS#3686
2017-03-16jenkins: add value_string termination checkNeels Hofmeyr4-0/+10
Change-Id: Id4eb92924c03748563921e3f56cc0e5e0ffff502 Depends: libosmocore change-id I2bc93ab4781487e7685cfb63091a489cd126b1a8
2016-11-30jenkins: add jenkins_bts_model.shNeels Hofmeyr1-0/+33
Change-Id: Ie7c32e68f789414fdf3c407c0da06cbf983f751a