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
This commit is contained in:
parent
9206cf6b28
commit
914a486ef1
|
@ -32,4 +32,9 @@ if ! diff -q /tmp/deps-Makefile deps/Makefile; then
|
||||||
make deps
|
make deps
|
||||||
fi
|
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"
|
make "$PROJECT"
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bsc
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY BSC_Tests.cfg /data/BSC_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bsc-nat
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY BSCNAT_Tests.cfg /data/BSCNAT_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" bts
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY BTS_Tests.cfg /data/BTS_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" fr fr-net
|
||||||
|
|
||||||
VOLUME /data
|
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 FR_Tests.cfg /data/FR_Tests.cfg
|
||||||
COPY FRNET_Tests.cfg /data/FRNET_Tests.cfg
|
COPY FRNET_Tests.cfg /data/FRNET_Tests.cfg
|
||||||
COPY pipework /usr/bin/pipework
|
COPY pipework /usr/bin/pipework
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" gbproxy
|
||||||
|
|
||||||
VOLUME /data
|
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 GBProxy_Tests.cfg /data/GBProxy_Tests.cfg
|
||||||
COPY pipework /usr/bin/pipework
|
COPY pipework /usr/bin/pipework
|
||||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" ggsn_tests
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY GGSN_Tests.cfg /data/GGSN_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" hlr
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY HLR_Tests.cfg /data/HLR_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" mgw
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY MGCP_Test.cfg /data/MGCP_Test.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" msc
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY MSC_Tests.cfg /data/MSC_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" pcu
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY PCU_Tests.cfg /data/PCU_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" remsim
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY REMSIM_Tests.cfg /data/REMSIM_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" sccp
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY SCCP_Tests.cfg /data/SCCP_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" sgsn
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY SGSN_Tests.cfg /data/SGSN_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" sip
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY SIP_Tests.cfg /data/SIP_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" smlc
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY SMLC_Tests.cfg /data/SMLC_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
|
@ -7,9 +7,6 @@ RUN ttcn3-docker-prepare "$OSMO_TTCN3_BRANCH" stp
|
||||||
|
|
||||||
VOLUME /data
|
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
|
COPY STP_Tests.cfg /data/STP_Tests.cfg
|
||||||
|
|
||||||
CMD cd /data && \
|
CMD cd /data && \
|
||||||
|
|
Loading…
Reference in New Issue