Commit Graph

206 Commits

Author SHA1 Message Date
Harald Welte facbb6575e move every 'test network' to its own IP address space
Ideally we would want to launch a group of containers with their own
private network segment and use the same static IP addresses in those
isolated networks.

The stupidity of docker is requiring unique IPv4 addresses even on
isolated (!) networks.  This means we have to manually give each of our
test setups a different subnet, and then we can at least run one
instance that test in parallel to at most one instance of each other
test.

If this weird reestriction about unique IPv4 addresses didn't exist,
we could start any number of test runs in parallel.
2018-02-06 19:08:45 +01:00
Harald Welte afe1ec8dc1 Release.key of osmocom-nightly has expired; update it in all Dockerfiles 2018-02-04 17:20:04 +01:00
Harald Welte 8fc4202fae Add ttcn3-msc-test container with OsmoMSC test suite 2018-01-27 20:25:10 +01:00
Harald Welte f83fe4c7cb ttcn3-bsc-test: Add missing 'git fetch' 2018-01-27 20:25:10 +01:00
Harald Welte 9ef9aa13c8 Add osmo-msc-master Dockerfile 2018-01-22 10:52:26 +00:00
Harald Welte 1ab46eadc8 osmo-bsc-tests: Remove obsolete VTY config statements 2017-12-20 02:35:29 +00:00
Harald Welte 084967574e add ttcn3-bsc-test container with osmo-bsc test suite 2017-12-17 17:21:04 +01:00
Harald Welte 9b648fe261 Add osmo-bts-omldummy container
This container is used to bring up OML links of simulated BTSs
in the ttcn3-bsc-test
2017-12-17 14:01:31 +00:00
Harald Welte 58e97d1f0b ttcn3 tests: split 'make deps' in separate RUN command
This avoids re-downlaoding all dependency repositories each time
osmo-ttcn3-hacks has received a change
2017-12-17 12:20:05 +00:00
Harald Welte 18569e9d2c add osmo-bsc-master container 2017-12-17 11:02:57 +00:00
Harald Welte df5b63c5bc update debian-jessie-osmocom from nitb to post-nitb 2017-12-17 10:49:59 +00:00
Harald Welte e0e2d6e96a osmo-*: Ensure container is rebuilt if nightly repo is updated
Let's use the "ADD" trick that we use for git repositories also for
the osmocom:nightly debian package feed.  This way any change to the
package feed will result in a rebuild of the container.
2017-12-17 10:48:54 +00:00
Harald Welte 357ec806e1 Move to new TTCN-3 build system/Makefiles
A lof of what the Dockerfiles so far did in terms of cloning library
repositories and calling shell scripts has now been implemented as
part of the Makefiles inside osmo-ttcn3-hacks.git, so we can drop it
here and simply use those.
2017-12-13 10:19:28 +01:00
Neels Hofmeyr 0642e33a37 add debian-sid-build, osmo-dev-on-debian-sid
Aim: build Osmocom CellNet from source on debian-sid

Related: OS#2667
2017-12-06 01:45:42 +01:00
Harald Welte 205ece59c0 osmo-hnbgw-master: Add reaosnable default IP and point code configs
Let's use a config file that uses reasonable defaults, which will
also work with osmo-stp-master.
2017-11-20 16:14:24 +00:00
Harald Welte e097bf8f5f osmo-hnbgw-master: Fix "docker run" command (typo + config file) 2017-11-20 14:58:45 +00:00
Harald Welte 79a5203244 osmo-hnbgw-master: Switch to Debian 9 (stretch) 2017-11-20 14:54:20 +00:00
Harald Welte 922a403d57 add debian-stretch-build that can be used as base 2017-11-20 14:54:12 +00:00
Harald Welte 41b8dc7b0b add Dockerfile for osmo-hmbgw from upstream/master 2017-11-20 14:34:52 +00:00
Harald Welte 0f431fbf13 mgw-test: Don't assume that the 'mgw' subdirectory exists 2017-11-19 02:05:09 +01:00
Harald Welte 159316ee94 Add mgw-test docker container 2017-11-19 00:50:18 +00:00
Harald Welte e9abbeac2e add docker container with osmo-mgw 'master' 2017-11-19 00:17:45 +00:00
Harald Welte 0332d0f3a4 debian-stretch-titan: Include many more git repos
Ericsson has released a number of more protocol modules by now,
let's include them.
2017-11-19 00:17:45 +00:00
Harald Welte 33c9cf0bfd osmo-bts no longer needs openbsc.git 2017-11-19 00:17:45 +00:00
Harald Welte ef6dd5c500 *-build: Add libgnutls28-dev, as libosmocore requires this now 2017-11-17 10:11:30 +01:00
Harald Welte d95cdf5068 ggns-test/jenkins.sh: Remove need for 'helper' container
Instaed of using docker volumes, mount a /tmp directory into the
containers, which makes copying the resulting files *way* easier.
2017-10-15 17:09:27 +00:00
Harald Welte 1772bc022b osmo-ggsn-master: Enable ipv6 forwarding
We want to be able to reach the external PDN from the PDP contexts,
and hence need to enable IPV6 forwarding between the tun device
and the PDN device(s).  The latter are added using "docker network
connect"
2017-10-15 14:47:28 +00:00
Harald Welte 6bce1e644f Makefiles: Don't tag images with versions by default
Tagging each build with a version means we have to clean up lots of
images manually.  Let's change this to:
* "make build" aka "make docker-build" only builds as $name:latest
* "make docker-tag" will tag $name:latest as $name:$version

This is racey, but then we don't really need version tags for the images
so far anyway.
2017-10-15 14:45:03 +00:00
Harald Welte f81dfad75f Add Dockerfile for alpine Linux with lighttpd
plus some configuration to make it available at 127.20.0.10 and
fd10:5741:8e20:0000::10, where a sample index.html file can be
downloaded for testing.  Also, make container start in "pdn" network,
the external PDN behind the GGSN
2017-10-15 14:37:41 +00:00
Harald Welte a899ae3688 osmo-ggsn-master: Introduce 'branch' build-time-argumetn to Dockerfile
We can build non-master branches thsi way.
2017-10-14 14:25:26 +00:00
Harald Welte 6202d089c3 osmo-ggsn-master: fix syntax of "make run" arguments 2017-10-14 14:24:48 +00:00
Harald Welte c4281f8204 Add Dockerfile for alpine:3.6 based containers with libosmocore build deps 2017-10-09 11:15:57 +08:00
Harald Welte 70e5571ad3 Add an 'ubuntu-zesty-build' Dockerfile for testing on 17.04 2017-10-09 11:15:57 +08:00
Harald Welte 4ee4873269 add missing 'setup.sh' script to create the docker networks 2017-09-10 17:37:29 +08:00
Harald Welte 95ff0a4161 osmo-gerrit-libosmo: Example Dockerfile for gerrit container 2017-09-06 17:17:40 +02:00
Harald Welte baa18dd4ed debian-jessie-buildslave: Give 'build' user sudo rights
This is of course questionable, as we could simply install into some
PREFIX other than /usr/local.
2017-09-06 16:56:16 +02:00
Harald Welte 32497cf0a1 debian-jessie-buildslave: Add bumpversion + dahdi-source
both of which are used by osmo-* builds
2017-09-06 16:41:02 +02:00
Harald Welte 54d7362cc2 osmo-ggsn-mater: switch to osmo-ggsn.git
openggsn.git is deprecated now, use master branch of osmo-ggsn.git
2017-09-06 12:30:11 +02:00
Harald Welte 33149a7162 osmo-ggsn-master: Rename config file for openggsn -> osmo-ggsn change 2017-09-05 20:25:13 +02:00
Harald Welte dcf652ccbe osmo-ggsn-mater: Add missing 'git checkout'
When rebuilding the docker image, it's important to not only git
checkout but also to git fetch before, otherwise we won't build
new code ;)
2017-09-05 20:00:45 +02:00
Harald Welte e21fe3a4fe Fix Dockerfile syntax error in apt-get command 2017-08-28 07:46:41 +02:00
Harald Welte 0ece58020a debian-jessie-build: Add libncurses-dev (for meas-viz) 2017-08-27 10:02:28 +02:00
Harald Welte 3c1dc34c91 apt-get: always use --no-install-recommends and apt-get clean
this helps us to avoid installing unneeded packages and removes the
package cache from the images to keep them less bloated.
2017-08-27 09:53:26 +02:00
Harald Welte 2a9e6aaea5 Add debian-jessie-buildslave-st for smalltalk related builds
This docker image contains everything required to build osmocom
smalltalk projects.  It is derived from laforge/debian-jessie-buildslave
2017-08-27 09:45:01 +02:00
Harald Welte 7c5024f994 bumped to version 0.1.0 2017-08-27 09:29:31 +02:00
Harald Welte fd5d0499cb buildslave: add python timeout_decorator module 2017-08-27 09:28:52 +02:00
Harald Welte c366037f6a bumped to version 0.3.0 2017-08-27 08:53:44 +02:00
Harald Welte 2938f5acb6 debian-jessie-build: Add more build dependencies 2017-08-27 08:51:25 +02:00
Harald Welte b76aa23ffb bumped to version 0.2.0 2017-08-20 23:47:25 +02:00
Harald Welte 5c0fd74c5f sysinfo: add missing .release file 2017-08-20 23:41:55 +02:00