Change in docker-playground[master]: debian-stretch-jenkins, osmo-gsm-tester: add osmo-ci

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/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Jan 12 08:26:25 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/22094 )

Change subject: debian-stretch-jenkins, osmo-gsm-tester: add osmo-ci
......................................................................

debian-stretch-jenkins, osmo-gsm-tester: add osmo-ci

Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin. Together with osmo-ci
I45bd7ea56849dab839a98cfd52806f7cd288094e, this will make overwriting
PATH obsolete.

Related: OS#4911
Change-Id: I0820f13cd740f7d4a8999d279cef6ae293a67d81
---
M debian-stretch-jenkins/Dockerfile
M osmo-gsm-tester/Dockerfile
2 files changed, 16 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved; Verified
  pespin: Looks good to me, but someone else must approve



diff --git a/debian-stretch-jenkins/Dockerfile b/debian-stretch-jenkins/Dockerfile
index 6455a21..1f87445 100644
--- a/debian-stretch-jenkins/Dockerfile
+++ b/debian-stretch-jenkins/Dockerfile
@@ -148,6 +148,14 @@
 	cd osmo-python-tests3 && \
 	python3 setup.py clean build install
 
+# Install osmo-ci.git/scripts to /usr/local/bin
+ADD http://git.osmocom.org/osmo-ci/patch /tmp/osmo-ci-commit
+RUN git clone https://git.osmocom.org/osmo-ci osmo-ci && \
+	cp -v $(find osmo-ci/scripts \
+		-maxdepth 1 \
+		-type f ) \
+	/usr/local/bin
+
 # Set a UTF-8 locale
 RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
     dpkg-reconfigure --frontend=noninteractive locales && \
diff --git a/osmo-gsm-tester/Dockerfile b/osmo-gsm-tester/Dockerfile
index 675d7df..0503fc6 100644
--- a/osmo-gsm-tester/Dockerfile
+++ b/osmo-gsm-tester/Dockerfile
@@ -135,6 +135,14 @@
 	(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_GSM_TESTER_BRANCH || exit 1); \
 	git rev-parse --abbrev-ref HEAD && git rev-parse HEAD
 
+# Install osmo-ci.git/scripts to /usr/local/bin
+ADD http://git.osmocom.org/osmo-ci/patch /tmp/osmo-ci-commit
+RUN git clone https://git.osmocom.org/osmo-ci osmo-ci && \
+	cp -v $(find osmo-ci/scripts \
+		-maxdepth 1 \
+		-type f ) \
+	/usr/local/bin
+
 # Copy several scripts and permission for osmo-gsm-tester:
 RUN     mkdir -p /usr/local/bin/ && cp osmo-gsm-tester/utils/bin/* /usr/local/bin/
 RUN     mkdir -p /etc/sudoers.d/ && cp osmo-gsm-tester/utils/sudoers.d/* /etc/sudoers.d/

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/22094
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I0820f13cd740f7d4a8999d279cef6ae293a67d81
Gerrit-Change-Number: 22094
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210112/9f7943dc/attachment.htm>


More information about the gerrit-log mailing list