[MERGED] osmo-ci[master]: jenkins docker: drop hardcoded osmo-deps.sh

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Nov 28 04:44:44 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: jenkins docker: drop hardcoded osmo-deps.sh
......................................................................


jenkins docker: drop hardcoded osmo-deps.sh

The jenkins invocation of the docker image commonly includes the osmo-ci
scripts via binding ~/bin to an up-to-date checkout. We don't need another
version of osmo-deps.sh in /usr/local/bin.

Change-Id: I5ce9ab992afa3c5a7a0bb13b55cae016bc8e805f
---
M docker/Dockerfile_osmocom_jenkins.amd64
1 file changed, 0 insertions(+), 13 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved; Verified



diff --git a/docker/Dockerfile_osmocom_jenkins.amd64 b/docker/Dockerfile_osmocom_jenkins.amd64
index 5ecf6de..5481a50 100644
--- a/docker/Dockerfile_osmocom_jenkins.amd64
+++ b/docker/Dockerfile_osmocom_jenkins.amd64
@@ -40,19 +40,6 @@
 RUN git clone git://git.osmocom.org/python/osmo-python-tests && cd osmo-python-tests && python2 ./setup.py install && python3 ./setup.py install
 
 
-RUN echo "#!/bin/sh \n\
- \n\
-if ! test -d \$1; \n\
-then \n\
-  git clone git://git.osmocom.org/\$1 \$1 \n\
-fi \n\
-\n\
-cd \$1 \n\
-git fetch origin \n\
-git reset --hard origin/master" > /usr/local/bin/osmo-deps.sh
-RUN chmod +x /usr/local/bin/osmo-deps.sh
-
-
 RUN git clone http://git.savannah.gnu.org/r/smalltalk.git
 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends flex libsigsegv-dev bison libgmp-dev texinfo zip libltdl-dev 
 RUN cd smalltalk && autoreconf --install --force && ./configure && make install

-- 
To view, visit https://gerrit.osmocom.org/5055
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5ce9ab992afa3c5a7a0bb13b55cae016bc8e805f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list