Skip to content
Success

Changes

Summary

  1. make/Makefile: use git to get the project's root directory (details)
  2. Make respawn.sh a common part of *-build/-obs images (details)
  3. Share a single instance of Release.key between all images (details)
Commit 44fbe564bb33ef6982770d68138b7ace61c2cfa4 by Vadim Yanitskiy
make/Makefile: use git to get the project's root directory

Change-Id: I87a425515692e62df7b593a3c2a5b88a765d217d
The file was modifiedmake/Makefile
Commit 085656ac45c03f4ea68ca2dc1e036c585eeac6b5 by Vadim Yanitskiy
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
The file was modifiedosmo-bts-master/Dockerfile
The file was modifiedcentos8-build/Dockerfile
The file was addedcommon/respawn.sh
The file was removedosmo-bts-master/respawn.sh
The file was modifieddebian-sid-build/Dockerfile
The file was modifiedosmo-bts-latest/Dockerfile
The file was removedosmo-bts-latest/respawn.sh
The file was removedosmo-pcu-latest/respawn.sh
The file was modifieddebian-buster-build/Dockerfile
The file was modifiedosmo-pcu-master/Dockerfile
The file was modifieddebian-jessie-build/Dockerfile
The file was modifiedcentos8-obs-latest/Dockerfile
The file was modifiedmake/Makefile
The file was modifieddebian-stretch-obs-latest/Dockerfile
The file was modified.gitignore
The file was modifiedosmo-pcu-latest/Dockerfile
The file was removedosmo-pcu-master/respawn.sh
Commit ef0f49aa4b3a547020e5611b0708635cbb9050b7 by Vadim Yanitskiy
Share a single instance of Release.key between all images

This change employs the same approach as [1] for Release.key.

Change-Id: Ic51d6e6557ee0b56d21d8ff4feaf04bc02e41a2e
Related: [1] I3ec86c8610b3b43d39ea8e3da444861d317ced4e
The file was removeddebian-stretch-titan/Release.key
The file was removeddebian-buster-erlang/Release.key
The file was removedosmo-msc-latest/Release.key
The file was removeddebian-stretch-jenkins/Release.key
The file was modifieddebian-buster-simtrace2/Dockerfile
The file was modifiedosmo-ran/split/ran-bts_pcu/Dockerfile
The file was modifieddebian-stretch-obs-latest/Dockerfile
The file was removedosmo-ran/split/ran-trx-ipc/Release.key
The file was removeddebian-stretch-build-dist/Release.key
The file was modifiedosmo-ran/split/ran-trx-ipc/Dockerfile
The file was modifieddebian-buster-erlang/Dockerfile
The file was removedosmo-gsm-tester/Release.key
The file was removeddebian-stretch-obs-latest/Release.key
The file was removedRelease.key
The file was removeddebian-buster-simtrace2/Release.key
The file was modifiedosmo-ran/Dockerfile
The file was removedosmocom-bb-host-master/Release.key
The file was addedcommon/Release.key
The file was removedosmo-ran/split/ran-trx-uhd/Release.key
The file was removedosmo-ran/Release.key
The file was modifieddebian-jessie-osmocom/Dockerfile
The file was removedosmo-ran/split/ran-bsc_mgw/Release.key
The file was modifiedosmocom-bb-host-master/Dockerfile
The file was removedosmo-ran/split/ran-bts_pcu/Release.key
The file was removeddebian-stretch-build/Release.key
The file was modifieddebian-stretch-titan/Dockerfile
The file was modifieddebian-stretch-build/Dockerfile
The file was modifieddebian-stretch-jenkins/Dockerfile
The file was removeddebian-jessie-osmocom/Release.key
The file was modifiedosmo-ran/split/ran-bsc_mgw/Dockerfile
The file was modifiedosmo-gsm-tester/Dockerfile
The file was modifiedosmo-ran/split/ran-trx-uhd/Dockerfile