Change in osmo-ci[master]: README.md: Fixup ansible command line for docker login

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
Mon Nov 2 16:56:48 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/21022 )

Change subject: README.md: Fixup ansible command line for docker login
......................................................................

README.md: Fixup ansible command line for docker login

We need to do a docker log in as 'osmocom-build' user, not as 'root'

Related: OS#4839
Change-Id: I8ea0338e49d332382c9d08b21ee247244f97d141
---
M ansible/README.md
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved; Verified



diff --git a/ansible/README.md b/ansible/README.md
index be15454..e5d146c 100644
--- a/ansible/README.md
+++ b/ansible/README.md
@@ -33,4 +33,4 @@
 
 # how to make slaves log-in to registry.osmocom.org:
 
-`ansible jenkins-slaves -u root -a "docker login -u jenkins-slave -p PASSWORD https://registry.osmocom.org/"`
+`ansible jenkins-slaves -u root -a "su - osmocom-build -c 'docker login -u jenkins-slave -p PASSWD https://registry.osmocom.org/'"`

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I8ea0338e49d332382c9d08b21ee247244f97d141
Gerrit-Change-Number: 21022
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201102/630dd886/attachment.htm>


More information about the gerrit-log mailing list