<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/23274">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ansible: explicitly give jenkins user UID=1000<br><br>docker-playground.git assumes that its containers run as UID=1000,<br>otherwise some will fail with errors like:<br><br>  + osmo-clean-workspace.sh<br>  + chmod -R +w .<br>  chmod: changing permissions of '.': Operation not permitted<br><br>Make this assumption explicit with "uid: 1000" in "add user jenkins".<br>This causes ansible to verify that the UID is really 1000, and if it is<br>not, it changes the UID. A follow-up patch will remove Raspbian's<br>default user of the same UID.<br><br>Related: OS#5055<br>Change-Id: I6efc9e74049e179d2f86655217195e76789ba77d<br>---<br>M ansible/roles/osmocom-jenkins-slave/tasks/main.yml<br>1 file changed, 1 insertion(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/74/23274/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/ansible/roles/osmocom-jenkins-slave/tasks/main.yml b/ansible/roles/osmocom-jenkins-slave/tasks/main.yml</span><br><span>index b7fa2d3..3a5cafa 100644</span><br><span>--- a/ansible/roles/osmocom-jenkins-slave/tasks/main.yml</span><br><span>+++ b/ansible/roles/osmocom-jenkins-slave/tasks/main.yml</span><br><span>@@ -11,6 +11,7 @@</span><br><span>     ssh_key_bits: 4096</span><br><span>     ssh_key_type: rsa</span><br><span>     shell: /bin/bash</span><br><span style="color: hsl(120, 100%, 40%);">+    uid: 1000</span><br><span> </span><br><span> - name: setup jenkins ssh key</span><br><span>   authorized_key:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/23274">change 23274</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-ci/+/23274"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ci </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6efc9e74049e179d2f86655217195e76789ba77d </div>
<div style="display:none"> Gerrit-Change-Number: 23274 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>