aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-bsc-master
AgeCommit message (Collapse)AuthorFilesLines
2024-03-28*/osmo-bsc.cfg: BTS type 'sysmobts' (deprecated) -> osmo-btsVadim Yanitskiy1-1/+1
Change-Id: I98ea9e96d490473efbbe189842ed9f547060dc7d
2023-01-06*/Dockerfile: clone from gerrit.osmocom.org using https://Vadim Yanitskiy1-2/+2
* Do not clone using deprecated git://, use https:// instead. * Clone from the main repo gerrit.osmocom.org (if possible). * Use the gitiles plugin to fetch the last commit from Gerrit. Change-Id: I204fa6e3e3ebbdb8732393b897fca35659d61ae8
2022-07-06*/.release: removeOliver Smith1-2/+0
These files are in .gitignore and get generated at the end of running 'make'. Remove them to have less cluttered 'git grep' output. Change-Id: Ie5bf05220359ac0941f62cc86ed843363548784a
2022-05-29osmo-bsc.cfg: change logging level nm info -> noticeVadim Yanitskiy1-1/+1
Stop spamming logs with tons of DNM messages (state changes, events). GSMTAP emits all these messages (including 'debug' ones) anyway. Related: I9e60ea0968a44aa29753226626864ac9f4c1f8ab (osmo-ttcn3-hacks.git) Change-Id: I49352b3caf9f6bbdd594cfcdea54038fc0eaa874
2022-04-16Revert "osmo-bsc-{master,latest}/osmo-bsc.cfg: set AMR link adaptation params"Vadim Yanitskiy1-12/+0
This reverts commit 029c8df99981bb08ff6aaf35506ea3bf491e446e. I actually meant to change osmo-bsc.cfg in ttcn3-bsc-test. Change-Id: I85c577cbc608a77d6d6a5816f1fb7205361f7b4a Related: SYS#5917
2022-04-14osmo-bsc-{master,latest}/osmo-bsc.cfg: set AMR link adaptation paramsVadim Yanitskiy1-0/+12
The default AMR link adaptation parameters have been changed in the recent osmo-bsc, so set the old expected default explicitly. Change-Id: Ic1c46d54ef97278100bd52156ad5627418ef5c97 Related: osmo-bsc.git Ic5f8d55d250976d8d4c9cae2d89480fd52326717 Related: SYS#5917
2022-02-14make/Makefile: always use docker run --rmOliver Smith1-1/+1
Add --rm to the "docker run" line in make/Makefile, and remove it from RUN_ARGS. Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up Related: SYS#5827 Change-Id: Iea063aa39a08397ea64d2018b433991a130e7f56
2022-02-11make/Makefile: allow overriding '-it' for target 'run'Vadim Yanitskiy1-1/+1
Allocating a pseudo-TTY (-t, --tty) fails when 'run' is executed inside of a Jenkins or cron script. This change fixes ttcn3-bts-test, which invokes 'run' to fetch the config files. Change-Id: If22f682be4f004c5bb43e65098079a4f4fe6158d Fixes: If15461240f3037c142c176fc7da745a1701ae3f8
2021-03-09*/osmo-bsc.cfg: remove obsolete no-op parametersVadim Yanitskiy1-4/+0
Change-Id: Idebf9df98648b3fe8213cae550ce50e9805bac96
2021-03-04osmo-*-master: move common code to *-buildOliver Smith2-41/+0
Move common code from osmo-*-master to debian-stretch-build and centos8-build: * add the OBS repository key (debian only) * add the OBS repository with "nightly" feed (debian only, already done for centos8) * install telnet * invalidate the cache once the repository is updated While at it, remove deprecated MAINTAINER lines. This fixes the need to read both the repository index of debian-stretch and centos8 and having to invalidate the cache if either of them changes (instead of reading just the relevant index and invalidating the cache only if the relevant one changes). A similar change was done with osmo-*-latest in I443d52eba416ea298cc5421e280ad2f4ca59283b. Related: OS#5049 Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated Change-Id: Id69f3eaf37f823bac0947366f27a25edd277a4cb
2020-12-16migrate from CentOS_8_Stream to CentOS_8Harald Welte1-1/+1
Change-Id: I72c8fdae14816ec0a243f3fca4b4c2a49b562845 Related: SYS#5250
2020-12-02common: Introduce OSMOCOM_REPO_MIRROR paramPau Espin Pedrol1-2/+4
This allows easily changing to another osmocom repo base URL if the default one is down. Related: OS#4862 Change-Id: I8010b08f3dabacfb3c13a44eece6c7a490e0742e
2020-10-16osmo-*-master: Invalidate docker cache when CentOS repo changesHarald Welte1-0/+3
We currently only invalidate the cache if the Debian repository changes, but not if the CentOS repository changes. This leads to strange artefacts, such as CentOS containers for osmo-bts-master using an old libosmocore, despite a new one being available in the repo. As Dockerfiles don't support conditional "ADD", we need to actually add both the CentOS and the Debian repsotiry file, so any change in either of the two will now (unneccessarily) invalidate the cache for both Debian and CentOS builds. Change-Id: I7b13644afb9d3be3b94184193177e003c13718d3
2020-07-13make: use $(nproc) instead of hard-coded number of coresVadim Yanitskiy1-1/+1
Change-Id: Ie93b81a8a9206c47c4e4d4834fc5c03d9bf4254c
2020-06-01osmo-{bsc,msc}.cfg: eliminate 'periodic location update 30'Vadim Yanitskiy1-1/+1
This parameter has been deprecated in both osmo-msc and osmo-bsc. Change-Id: I6d33c6d9c43078ee9961d3b076386188ec45be0f
2020-05-30osmo-*-master: support centos8Oliver Smith1-15/+39
Adjust the Dockerfiles, so 'docker_images_require osmo-mgw-master-centos8' etc. result in a centos8 based image. centos8-build already configures the Osmocom nightly repository, so we only need to configure it for debian-stretch. Related: OS#4564 Change-Id: I6579748056ce0505304378b342a698b98c77fd18
2020-05-29osmo-bsc.cfg: drop deprecated '11bit_rach_support_for_egprs'Vadim Yanitskiy1-1/+0
EGPRS Packet Channel Request cannot be enabled in 'GPRS only' mode anyway. Moreover, this command was deprecated. Let's just remove it. Change-Id: I03733490d9c4bf78a748d22874e550e015fbab78
2020-05-29osmo-bsc.cfg: drop deprecated 'ip.access rtp-base' parameterVadim Yanitskiy1-1/+0
Change-Id: Ie5494fd08fc7d2277a087ccc9502b5076fa2565b
2020-05-29osmo-bsc.cfg: drop non-existing 'access-list-name bsc-list'Vadim Yanitskiy1-1/+0
In the recent osmo-bsc master, this configuration parameter has been removed, so it fails to start due to "unknown parameter". Change-Id: I8f763a4b35f80f4db637bebdd8e802a835a9fd2d
2020-04-05osmo-bsc-{latest,master}/osmo-bsc.cfg: Remove 'nat' from loggingVadim Yanitskiy1-1/+0
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the bogus 'NAT' log category has been removed from osmo-bsc. Change-Id: If02272c08ba2df37d1295d09c104d11f96abbe1e
2020-03-30update OBS Release.key; the old one expired today.Harald Welte1-9/+9
Change-Id: I0dd7d7f54a3eb93ca677f3bdc5e00f62694aaa9e
2019-11-19Update osmo-*/Dockerfile to log stdout+stderr of process to log filePau Espin Pedrol1-1/+1
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I9493ff73ef27c7c6d32b00cf827704b3f9cbf86a
2019-10-23Fix trailing whitespacePau Espin Pedrol1-1/+1
Change-Id: Ib51a84560bad521d0adf4bb883c10418c51468a2
2019-06-24Have only one bts/bsc configured in osmo-bsc and bscnatDaniel Willmann1-180/+0
The way our counter reporting works is that each counter group is reported even if the same one exists multiple times. To avoid that change the default config (used by regen_doc.sh) to only configure one bts / bsc. Change-Id: I57468d983580b5ed4f15961ac1eac9bed9096556 Related: OS#1700
2019-06-18Add script to regenerate VTY and counter documentationDaniel Willmann1-0/+1
This script needs access to the VTY interface, so I changed some remaining config files to bind the VTY interface to 0.0.0.0. There are a couple of services that do that already. Related: OS#1700 Change-Id: Ic5cf7f59de0c18d4c5568b89433c2b11db2a72a5
2019-05-22Fix git checkout for branches and commitsOliver Smith1-1/+2
Replace 'git checkout -f -B $BRANCH origin/$BRANCH && \' in all Dockerfiles that accept branch variables ($OSMO_TTCN3_BRANCH, $OSMO_MGW_BRANCH, ...) with the following: git checkout $BRANCH && \ (git symbolic-ref -q HEAD && git reset --hard origin/$BRANCH || exit 1); \ This allows using branch names and commit hashes in the $BRANCH variables. Using commits is needed for the bisect script added in [1]. The second line ("(git symbolic...") checks if we are in detached HEAD state after the checkout, and if we are not, pulls in all new commits from origin/$BRANCH. Note that it ends in ';' instead of '&&', because the command in the next line should be executed even if "git symbolic-ref" does not exit with 0 (detached HEAD state). Here is an example, to illustrate that the new command does the right thing. Clone a repository and be 50 commits behind origin/master: $ git clone "https://git.osmocom.org/osmo-mgw" $ cd osmo-mgw $ git reset --hard origin/master~50 With BRANCH="master": $ git checkout master && \ (git symbolic-ref -q HEAD && git reset --hard origin/master || exit 1); \ echo "done" Already on 'master' ... done $ git status Your branch is up-to-date with 'origin/master'. With BRANCH="85978d": $ git checkout 85978d && \ (git symbolic-ref -q HEAD && git reset --hard origin/85978d || exit 1); \ echo "done" Note: checking out '85978d'. ... done $ git status HEAD detached at 85978dad Related previous changes: * [2] made it work for commit hashes, but broke using branch names other than master, and pulling in new commits from master * [3] made branches other than master work again, but did not fix pulling in new commits from master * [4] reverted [3] and the git checkout related part from [2] [1] Change-Id: I11f7e61a9b30d58a0fdfcaf77dde447806bf661f [2] Change-Id: If3bc5fae07cf63c4fef68306be4c4328660bc869 [3] Change-Id: I2ff745c8d19b777d876170d5717c082ceb68a1f3 [4] Change-Id: Ie6da0f9ea96f11407e38545a6b3cf22ef9cadc25 Related: OS#4015 Change-Id: I4004980baf0b7d6096702b6f3067ccbdb369a28c
2019-05-21Revert "Simplify git checkout, allow branches and commits"Harald Welte1-1/+1
Unfortuately this commit will check out *local* master (i.e. the previous checkout) rather than the origin/master as it's supposed to be. This means that ever since merging this patch, our ttcn3 tests were running some "undefined" stale versions and not current master. This reverts commit 26565bb729549152ce8fa89f59df02f37c907c27. Change-Id: Ie6da0f9ea96f11407e38545a6b3cf22ef9cadc25
2019-05-07Simplify git checkout, allow branches and commitsOliver Smith1-1/+1
Replace the following statements: a) "git checkout -f -B $BRANCH origin/$BRANCH" b) "git checkout -f -B $BRANCH $BRANCH" with: c) "git checkout -f $BRANCH" Regarding a), we don't need to specify 'origin/' for each branch, since we are cloning the repositories in the same Dockerfile, and therefore we know for sure that there is only one remote and branch names won't be ambiguous. Removing the 'origin/' allows to put commit hashes into the branch variables (like done in the new bisect script [1]). Version b) does not work with branch names: $ git checkout -f -B osmith/check-imei-before-lu osmith/check-imei-before-lu fatal: Cannot update paths and switch to branch 'osmith/check-imei-before-lu' at the same time. Did you intend to checkout 'osmith/check-imei-before-lu' which can not be resolved as commit? New version c) works with both commits and branches, and it is shorter. [1] Change-Id: I11f7e61a9b30d58a0fdfcaf77dde447806bf661f Change-Id: I2ff745c8d19b777d876170d5717c082ceb68a1f3
2019-04-25Add OSMO_*_BRANCH environment variables for build argsDaniel Willmann1-1/+1
Previously we could only set OSMO_TTCN3_BRANCH as environment variable to build a test other than master. This patch adds environment variables for all osmo-*-master images which allow docker tests to be executed for an arbitrary commit. The origin/ prefix from the git checkout command is removed so the *_BRANCH variable doesn't have to contain branch names, but van also contain arbitrary commits. This shouldn't have any adverse effect as we only have one remote in the checkout. Change-Id: If3bc5fae07cf63c4fef68306be4c4328660bc869
2019-03-30Switch all osmo-*-master and ttcn3-*-test from jessie to stretchHarald Welte1-2/+2
Jessie will be EOL in June 2019, let's make the switch to stretch before that. Change-Id: I37a534d07081f3d321869c86d49d03171c8da0c6
2019-03-29print branch name and git commit hash during docker container buildHarald Welte1-0/+1
This is quite useful when looking at jenkins logs to know which exact version was built at the time. Change-Id: Id52c382b454e2beecf46820752aeff15b2c1a0ae
2019-01-14.../osmo-bsc.cfg: drop deprecated dyn_ts_allow_tch_fVadim Yanitskiy1-1/+0
Since Ib2335d02ea545aff837aadd49f15b2fdb418c46e, this VTY option is deprecated in osmo-bsc, so let's actualize the config files. Change-Id: I709e1afd2a9cccdc92eec312dff607947a10c299
2018-09-26ensure well-formed config filesHarald Welte1-37/+37
Change-Id: Id687e63c418e2e955ccbb92f2420a80fc0704ea4
2018-09-06Fix "'laforge/debian-jessie-build' not found"Oliver Smith1-1/+2
Instead of hardcoding laforge's username in all FROM statements in the Dockerfiles, make use of the USER variable (as passed through by the "make/Makefile" with "docker build --build-arg USER=..."). Thanks to fixeria for proposing this fix! This requires running docker-ce, old versions of docker (such as the one in the official repositories of the latest Fedora) don't support variables in the FROM line. But docker-ce can be installed after adding docker's 3rd party repositories. Closes: OS#3457 Change-Id: Ic5f11c8a4e247f632cb6aea6d147e94c53e0130f
2018-08-17Remove libosmo-legacy-mgcp-dev from all DockerfilePau Espin Pedrol1-1/+0
Only openbsc.git related programs require it. Change-Id: Ic641e71e45c5fbd174505116fa45a74e27dad81a
2018-06-25osmo-bsc-master/Dockerfile: drop wrong configure optionVadim Yanitskiy1-1/+1
Change-Id: I3fecd622df136a18a32a9095ede3e2629e2f7b4e
2018-06-03remove deprecated "dest" config option from config filesHarald Welte1-1/+0
Change-Id: I1073846c04a8466f2ccf501e27cf152df09042c5
2018-06-03bsc: Enable LCLS tests from BSC_Tests_LCLS TTCN-3 moduleHarald Welte1-0/+1
Change-Id: I0439c61cc49e088efef3b91c1dbf293ee9a44939
2018-05-23osmo-*-master: add Dockerfile ARG for git repo branch to be builtHarald Welte1-2/+4
This allows the user to build any non-master branches of the related repositories, which is helpful for local testing before pushing changes to git. Change-Id: I0c3349e9a60015472c96bd24fbf29aad57501a00
2018-04-05osmo-bsc.cfg: drop legacy config: timeout-ping, timeout-pongNeels Hofmeyr1-3/+0
Change-Id: I70bffa7ed96da099993ba0cedc50178ca9e00db4
2018-02-23fix osmo-bsc.cfg: drop no longer supported optionsNeels Hofmeyr1-20/+0
2018-02-04Release.key of osmocom-nightly has expired; update it in all DockerfilesHarald Welte1-9/+9
2017-12-17add osmo-bsc-master containerHarald Welte5-0/+453