This website requires JavaScript.
Explore
Redmine
Gerrit
Lists
Help
Register
Sign In
osmocom
/
docker-playground
mirror of
https://gerrit.osmocom.org/docker-playground
Watch
10
Star
0
Fork
You've already forked docker-playground
0
Code
Releases
Activity
266cb2165c
docker-playground
/
.gitignore
8 lines
47 B
Plaintext
Raw
Normal View
History
Unescape
Escape
gitignore: add .release Ignore .release files generated by make/Makefile. Change-Id: I9ea8e4326f6da2ff95cf45999637c89f884a9e19
2019-04-02 09:09:44 +00:00
.release
Make respawn.sh a common part of *-build/-obs images Maintaining several versions of the same file in different folders is a bad idea, because at some point their content gets out of sync. This is exactly what happened to 'respawn.sh': sleep()ing was only implemented in 'osmo-bts-master/respawn.sh', other versions of this file would simply ignore '$SLEEP_BEFORE_RESPAWN'. The easiest solution would be to have all common files in a single directory, however Docker does not allow to ADD files from outside of the build context. In other words, all files must be in the same directory as the Dockerfile itself. Modify 'make/Makefile' in order to copy the contents of common directory to the current build context ('pre-build' target) and remove it after building ('post-build' target). Change-Id: I3ec86c8610b3b43d39ea8e3da444861d317ced4e
2021-03-09 23:29:52 +00:00
.common
ttcn3-ggsn-test: add kernel test Make it possible to run ttcn3-ggsn-test against osmo-ggsn with the GTP kernel module. This feature is enabled by environment variables explained in ttcn3-ggsn-test/jenkins.sh, and can either use the pre-built kernel from Debian, or build a kernel from source. The kernel runs inside QEMU inside the usual osmo-ggsn-master docker image. Thanks to Pau for providing the kernel config and kernel-test scripts that this patch is based on! I ended up modifying them quite a bit to fit the docker use case, and to build the initrd (so we can use the stock debian kernel). Related: OS#3208 Change-Id: I54e752048eed2a170a1cf4e0fd410de255b9de5d
2021-02-19 13:25:34 +00:00
ttcn3-bts-test: use osmo-config-merge to generate config files This uses the config files from osmo-ttcn3-hacks.git instead of keeping local copies around here, which has shown many times will get out of sync. Extract the original files (*.src.cfg) from the testsuite image (ttcn3-bts-test) and merge them with the local *.confmerge files using osmo-config-merge. Use the resulting files (*.gen.cfg). Unfortunately, osmo-config-merge is not capable of removing text blocks or substituting specific parts, so we fall-back to using sed where it's needed. A good example is 'log gsmtap 127.0.0.1', as there is no command for removing a logging target of such type. Co-Authored-By: Vadim Yanitskiy <vyanitskiy@sysmocom.de> Co-Authored-By: Oliver Smith <osmith@sysmocom.de> Change-Id: If15461240f3037c142c176fc7da745a1701ae3f8
2020-10-12 19:15:49 +00:00
*.src.cfg
*.gen.cfg
ttcn3-ggsn-test: add kernel test Make it possible to run ttcn3-ggsn-test against osmo-ggsn with the GTP kernel module. This feature is enabled by environment variables explained in ttcn3-ggsn-test/jenkins.sh, and can either use the pre-built kernel from Debian, or build a kernel from source. The kernel runs inside QEMU inside the usual osmo-ggsn-master docker image. Thanks to Pau for providing the kernel config and kernel-test scripts that this patch is based on! I ended up modifying them quite a bit to fit the docker use case, and to build the initrd (so we can use the stock debian kernel). Related: OS#3208 Change-Id: I54e752048eed2a170a1cf4e0fd410de255b9de5d
2021-02-19 13:25:34 +00:00
/_cache