ttcn3-{fr,gbproxy}-test: use ttcn3-docker-run too (details)
Commit
db3f98113cbdeb0110ca0b9ba01cd12d66d97e34
by Oliver Smith
ttcn3: remove /root/projects/git symlink
Remove leftover from old TTCN-3 build scripts, before refactoring ttcn3 Dockerfiles. This line has already been removed in 357ec806 from 2017 for ggsn-test.
In osmo-ttcn3-hacks.git, this is only referenced in the obsolete bin/install.script (looks like we could remove that, together with the rest of the bin dir?).
Commit
61fed0ad3959b0b5d841bad9d99217a20cb9ffaa
by Oliver Smith
ttcn3: move initial clone to debian-stretch-titan
Clone the osmo-ttcn3-hacks and all dependency repositories less often by moving related commands to the shared debian-stretch-titan image.
Remove the 'git checkout -f -B master origin/master' line, because the master branch is checked out by default.
While at it, move the shared "git config" commands too, and move them before cloning the repositories, so they don't run again whenever the deps change (logic to invalidate the cache if deps change will be added in the next patch).
Commit
73d23109b14aaf2031b60cc06eec3573ae4920bc
by Oliver Smith
debian-stretch-titan: update deps on change
After the initial clone of osmo-ttcn3-hacks and deps, let docker download deps/Makefile to invalidate the cache if the file changed.
Run "git pull" and "make deps" afterwards, but only if the Makefile is different. The "if" saves time in the initial build of the image, it avoids the "git fetch" on every dependency repository during "make deps".
Commit
892d910444f7572da9591305dce0e630aeec3104
by Oliver Smith
ttcn3: move prepare code to shared script
Move the git fetch/checkout code and make call to build the testsuite, to debian-stretch-titan/ttcn3-docker-prepare.sh. In the next patch, I will extend the script to update deps right before building too (e.g. because OSMO_TTCN3_BRANCH changed).
Commit
ce824cc3e17552cc963439f2a25ede39e0c62cda
by Oliver Smith
ttcn3-{fr,gbproxy}-test: use ttcn3-docker-run too
Move the shared pipework script to the base image, and call it in ttcn3-docker-run.sh if WAIT_FOR_NETDEV is set. Use ttcn3-docker-run.sh as entrypoint in both Dockerfiles and remove the custom entrypoint scripts (which are the same as ttcn3-docker-run.sh now).