Change in ...osmo-ci[master]: docker: chown -R build:build /usr/local

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

osmith gerrit-no-reply at lists.osmocom.org
Fri Oct 11 08:01:24 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/15760


Change subject: docker: chown -R build:build /usr/local
......................................................................

docker: chown -R build:build /usr/local

Prepare to run osmo-python-tests in docker. I've noticed that its
contrib/jenkins.sh tries to write to /usr/local, which makes sense for
the "update-osmo-python-on-slaves" job to actually deploy new versions.
However, the same script gets called in gerrit-verifications too, and
there we should definitively not install a version that is still in
review to whichever random buildslave that is executing the
gerrit-verification job! The follow-up patch for building most Osmocom
projects in docker will fix this bug.

Related: OS#3726
Change-Id: Ie1de8a6d436de0b286ed3372166eceb408bab084
---
M docker/Dockerfile_osmocom_jenkins.amd64
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/60/15760/1

diff --git a/docker/Dockerfile_osmocom_jenkins.amd64 b/docker/Dockerfile_osmocom_jenkins.amd64
index 62855c9..6759944 100644
--- a/docker/Dockerfile_osmocom_jenkins.amd64
+++ b/docker/Dockerfile_osmocom_jenkins.amd64
@@ -84,3 +84,6 @@
 	&& DEBIAN_FRONTEND=noninteractive apt install -y /tmp/ulfius/*.deb \
 	&& cd ~ \
 	&& rm -r /tmp/ulfius
+
+# osmo-python-tests' contrib/jenkins.sh writes to /usr/local as user
+RUN chown -R build:build /usr/local

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/15760
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ie1de8a6d436de0b286ed3372166eceb408bab084
Gerrit-Change-Number: 15760
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191011/96da6e96/attachment.htm>


More information about the gerrit-log mailing list