aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-19 21:56:07 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-19 21:56:07 +0200
commit1649a011676726d04735270528c76eb6520cf90f (patch)
tree137361c4dbad31c80fbf7a17aaee6262a1dadd33
parentfc8eaf2bcffade42fceff9fd2de8049fcf8d13fa (diff)
Use 'patch' not 'commit' from cgit for repo change detection
the 'commit' output contains a timestamp, so every second the result will be different. 'patch' doesn't have this.
-rw-r--r--ggsn-test/Dockerfile2
-rw-r--r--m3ua-test/Dockerfile2
-rw-r--r--osmo-ggsn-master/Dockerfile3
-rw-r--r--osmo-stp-master/Dockerfile2
-rw-r--r--sua-test/Dockerfile2
5 files changed, 5 insertions, 6 deletions
diff --git a/ggsn-test/Dockerfile b/ggsn-test/Dockerfile
index f00af65..1aabce3 100644
--- a/ggsn-test/Dockerfile
+++ b/ggsn-test/Dockerfile
@@ -3,7 +3,7 @@ FROM laforge/debian-stretch-titan
RUN mkdir /root/projects && (cd /root/projects && ln -sf / git)
RUN git clone git://git.osmocom.org/osmo-ttcn3-hacks.git
-ADD http://git.osmocom.org/osmo-ttcn3-hacks/commit /tmp/commit
+ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
RUN cd osmo-ttcn3-hacks/ggsn_tests && \
git pull && \
./gen_links.sh && \
diff --git a/m3ua-test/Dockerfile b/m3ua-test/Dockerfile
index 87975d2..fc9fcd3 100644
--- a/m3ua-test/Dockerfile
+++ b/m3ua-test/Dockerfile
@@ -3,7 +3,7 @@ FROM laforge/sigtran-tests
MAINTAINER Harald Welte <laforge@gnumonks.org>
RUN cd /tmp && git clone https://github.com/nplab/m3ua-testtool
-ADD http://git.osmocom.org/nplab/m3ua-testtool/commit /tmp/commit
+ADD http://git.osmocom.org/nplab/m3ua-testtool/patch /tmp/commit
RUN cd /tmp/m3ua-testtool && \
git pull && \
cc -o runm3uatest runm3uatest.c && \
diff --git a/osmo-ggsn-master/Dockerfile b/osmo-ggsn-master/Dockerfile
index 3010ae5..f4e3870 100644
--- a/osmo-ggsn-master/Dockerfile
+++ b/osmo-ggsn-master/Dockerfile
@@ -14,9 +14,8 @@ RUN apt-get update && apt-get install -y \
WORKDIR /tmp
-ARG timestamp=invalid
RUN git clone git://git.osmocom.org/openggsn.git
-ADD http://git.osmocom.org/openggsn/commit/?h=laforge/osmo-ggsn /tmp/commit
+ADD http://git.osmocom.org/openggsn/patch/?h=laforge/osmo-ggsn /tmp/commit
RUN cd openggsn && \
git checkout -f laforge/osmo-ggsn && \
autoreconf -fi && \
diff --git a/osmo-stp-master/Dockerfile b/osmo-stp-master/Dockerfile
index 2918d46..487a675 100644
--- a/osmo-stp-master/Dockerfile
+++ b/osmo-stp-master/Dockerfile
@@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y \
WORKDIR /tmp
RUN git clone git://git.osmocom.org/libosmo-sccp.git
-ADD http://git.osmocom.org/libosmo-sccp/commit /tmp/commit
+ADD http://git.osmocom.org/libosmo-sccp/patch /tmp/commit
RUN cd libosmo-sccp && \
git pull && \
autoreconf -fi && \
diff --git a/sua-test/Dockerfile b/sua-test/Dockerfile
index 93da576..f7f3885 100644
--- a/sua-test/Dockerfile
+++ b/sua-test/Dockerfile
@@ -8,7 +8,7 @@ RUN git config --global user.email "nobody@localhost" && \
git config --global user.name "Docker Container"
RUN cd /tmp && git clone https://github.com/nplab/sua-testtool
-ADD http://git.osmocom.org/nplab/sua-testtool/commit /tmp/commit
+ADD http://git.osmocom.org/nplab/sua-testtool/patch /tmp/commit
RUN cd /tmp/sua-testtool && \
git pull && \
git am /tmp/*.patch && \