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
|
||||
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…
Reference in New Issue