debian-stretch-titan: prepare: start/stop links

Create symlinks to ttcn3-*-start.sh and ttcn3-*-stop.sh in the
prepare.sh script instead of in each of the ttcn3 Dockerfiles.

Related: OS#5017
Change-Id: I634cf71cff7936efe6e0461d21dc1119de922ada
changes/21/22821/2
Oliver Smith 2 years ago
parent 9206cf6b28
commit 914a486ef1
  1. 5
      debian-stretch-titan/ttcn3-docker-prepare.sh
  2. 3
      ttcn3-bsc-test/Dockerfile
  3. 3
      ttcn3-bscnat-test/Dockerfile
  4. 3
      ttcn3-bts-test/Dockerfile
  5. 3
      ttcn3-fr-test/Dockerfile
  6. 3
      ttcn3-gbproxy-test/Dockerfile
  7. 3
      ttcn3-ggsn-test/Dockerfile
  8. 3
      ttcn3-hlr-test/Dockerfile
  9. 3
      ttcn3-mgw-test/Dockerfile
  10. 3
      ttcn3-msc-test/Dockerfile
  11. 3
      ttcn3-pcu-test/Dockerfile
  12. 3
      ttcn3-remsim-test/Dockerfile
  13. 3
      ttcn3-sccp-test/Dockerfile
  14. 3
      ttcn3-sgsn-test/Dockerfile
  15. 3
      ttcn3-sip-test/Dockerfile
  16. 3
      ttcn3-smlc-test/Dockerfile
  17. 3
      ttcn3-stp-test/Dockerfile

@ -32,4 +32,9 @@ if ! diff -q /tmp/deps-Makefile deps/Makefile; then
make deps
fi
# Link start/stop scripts to /
for i in ttcn3-*-start.sh ttcn3-*-stop.sh; do
ln -sv "/osmo-ttcn3-hacks/$i" "/$i"
done
make "$PROJECT"

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bsc
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY BSC_Tests.cfg /data/BSC_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bsc-nat
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY BSCNAT_Tests.cfg /data/BSCNAT_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bts
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY BTS_Tests.cfg /data/BTS_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" fr fr-net
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-stop.sh /
COPY FR_Tests.cfg /data/FR_Tests.cfg
COPY FRNET_Tests.cfg /data/FRNET_Tests.cfg
COPY pipework /usr/bin/pipework

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" gbproxy
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-dumpcap-stop.sh /
COPY GBProxy_Tests.cfg /data/GBProxy_Tests.cfg
COPY pipework /usr/bin/pipework
COPY docker-entrypoint.sh /docker-entrypoint.sh

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" ggsn_tests
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY GGSN_Tests.cfg /data/GGSN_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" hlr
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY HLR_Tests.cfg /data/HLR_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" mgw
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY MGCP_Test.cfg /data/MGCP_Test.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" msc
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY MSC_Tests.cfg /data/MSC_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" pcu
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY PCU_Tests.cfg /data/PCU_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" remsim
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY REMSIM_Tests.cfg /data/REMSIM_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" sccp
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY SCCP_Tests.cfg /data/SCCP_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" sgsn
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY SGSN_Tests.cfg /data/SGSN_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" sip
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY SIP_Tests.cfg /data/SIP_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" smlc
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY SMLC_Tests.cfg /data/SMLC_Tests.cfg
CMD cd /data && \

@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" stp
VOLUME /data
RUN ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-start.sh / && \
ln -s /osmo-ttcn3-hacks/ttcn3-tcpdump-stop.sh /
COPY STP_Tests.cfg /data/STP_Tests.cfg
CMD cd /data && \

Loading…
Cancel
Save