aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
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
2016-11-30add jenkins_oct_and_bts_trx.shNeels Hofmeyr1-0/+65
Change-Id: Ib656d4592f5210e2c180f511a1c955d14397bd03
2016-11-30add jenkins_bts_trx.shNeels Hofmeyr1-0/+49
Change-Id: Ie27ffb72140cb37e6a05bffd90551197f1e9b5fc
2016-11-08dtx_check.gawk: add check for repetitive SID FIRSTMax1-0/+4
Change-Id: Id7acdfae7880fb488b65435ab8d33f2874499967
2016-11-08dtx_check.gawk: Fix false-positives in DTX checkMax1-3/+3
Previously, if ONSET happened exactly at the place where next SID FIRST or UPDATE should be it was incorrectly detected as error. Similarly, continuos FACCH was misinterpreted as error. Change-Id: I43fdbceea0dbdb0833c3b1cf0fc3b825803ed30e
2016-11-03DTX DL: add AMR HR support to scheduling checkMax2-19/+38
superfemto.sh: Expand log converter to use case-insensitive matching to accommodate for spelling differences in DSP logs. Add strings/events specific to AMR HR. dtx_check.gawk: Remove redundand variables from output. Add checks specific to AMR HR. Change-Id: Icce3178605f46bbf3cad15d4eaff18a4d164ad1a
2016-10-26Add tools to check DTX operationMax2-0/+176
* superfemto.sh can parse superfemto-compatible DSP log output to properly sort records into MT/MO and DL/UL parts * dtx_check.gawk can process output of superfemto.sh and check for common scheduling errors This allows to check lc15 and sysmo for errors in DTX DL scheduling. As dtx_check.gawk is generic it can be used with any other BTS hw (or virtual BTS) as long as raw logs from this hw can be converted to simple input format 'FN EVENT' per-line. Change-Id: Ib1c70c4543b24c2a05a7df8eec5ce3f4eda2c02e Related: OS#1801
2016-10-18jenkins-oct.sh: fix build: typo in deps pathNeels Hofmeyr1-1/+1
Change-Id: I05014e25ffc829fa2fc3973471baa28f7f5a62c9
2016-10-12jenkins.sh: use osmo-build-dep.sh, log test failuresNeels Hofmeyr2-52/+63
Like in libosmo-abis' and other jenkins.sh Change-Id: I6ad88bce18677b148af63ae8f6e0ab7e3b38b5a2
2016-09-06oct: Attempt to enable the Octphy for the osmo-bts-oct buildHolger Hans Peter Freyther1-2/+2
Change-Id: Ib41dfe35af1ed2ef270a436a8086a3120fe4d7d6