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.
changes/84/7384/1
Harald Welte 6 years ago
parent fc8eaf2bcf
commit 1649a01167
  1. 2
      ggsn-test/Dockerfile
  2. 2
      m3ua-test/Dockerfile
  3. 3
      osmo-ggsn-master/Dockerfile
  4. 2
      osmo-stp-master/Dockerfile
  5. 2
      sua-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 && \

@ -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 && \

@ -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 && \

@ -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 && \

@ -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 && \

Loading…
Cancel
Save