ttcn3: Add OSMO_TTCN3_BRANCH build-time argument to build non-master branches

This commit is contained in:
Harald Welte 2018-02-14 21:57:39 +01:00
parent f14d94d26b
commit 10305f2f8f
5 changed files with 20 additions and 10 deletions

View File

@ -6,10 +6,12 @@ RUN cd osmo-ttcn3-hacks && \
git checkout -f -B master origin/master && \ git checkout -f -B master origin/master && \
make deps make deps
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit ARG OSMO_TTCN3_BRANCH="master"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN cd osmo-ttcn3-hacks && \ RUN cd osmo-ttcn3-hacks && \
git fetch && \ git fetch && \
git checkout -f -B master origin/master && \ git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
make ggsn_tests make ggsn_tests
VOLUME /data VOLUME /data

View File

@ -7,10 +7,12 @@ RUN cd osmo-ttcn3-hacks && \
git checkout -f -B master origin/master && \ git checkout -f -B master origin/master && \
make deps make deps
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit ARG OSMO_TTCN3_BRANCH="master"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN cd osmo-ttcn3-hacks && \ RUN cd osmo-ttcn3-hacks && \
git fetch && \ git fetch && \
git checkout -f -B master origin/master && \ git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
make mgw make mgw
VOLUME /data VOLUME /data

View File

@ -10,10 +10,12 @@ RUN cd osmo-ttcn3-hacks && \
RUN git config --global user.email docker@dock.er && \ RUN git config --global user.email docker@dock.er && \
git config --global user.name "Dock Er" git config --global user.name "Dock Er"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit ARG OSMO_TTCN3_BRANCH="master"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN cd osmo-ttcn3-hacks && \ RUN cd osmo-ttcn3-hacks && \
git fetch && \ git fetch && \
git checkout -f -B master origin/master && \ git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \ git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
make bsc make bsc

View File

@ -10,10 +10,12 @@ RUN cd osmo-ttcn3-hacks && \
RUN git config --global user.email docker@dock.er && \ RUN git config --global user.email docker@dock.er && \
git config --global user.name "Dock Er" git config --global user.name "Dock Er"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit ARG OSMO_TTCN3_BRANCH="master"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN cd osmo-ttcn3-hacks && \ RUN cd osmo-ttcn3-hacks && \
git fetch && \ git fetch && \
git checkout -f -B master origin/master && \ git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \ git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
make msc make msc

View File

@ -7,10 +7,12 @@ RUN cd osmo-ttcn3-hacks && \
git checkout -f -B master origin/master && \ git checkout -f -B master origin/master && \
make deps make deps
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit ARG OSMO_TTCN3_BRANCH="master"
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
RUN cd osmo-ttcn3-hacks && \ RUN cd osmo-ttcn3-hacks && \
git fetch && \ git fetch && \
git checkout -f -B master origin/master && \ git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
make sysinfo make sysinfo
VOLUME /data VOLUME /data