<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12042">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">master-builds: make SSH keys available in Docker<br><br>At runtime, mount the Jenkins host's ~/.ssh folder inside the Docker<br>containers, from which manual PDFs will be published.<br><br>To my surprise, local testing showed that ssh is looking for the keys<br>in /home/build/.ssh, although the HOME variable inside the image is set<br>to /build, not /home/build.<br><br>Related: OS#3385<br>Change-Id: Icfff3b6a620de79d1bab7ff6a35309f828581c09<br>---<br>M jobs/master-builds.yml<br>1 file changed, 4 insertions(+), 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/42/12042/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml</span><br><span>index 67a9b80..d485a5f 100644</span><br><span>--- a/jobs/master-builds.yml</span><br><span>+++ b/jobs/master-builds.yml</span><br><span>@@ -175,6 +175,7 @@</span><br><span>               -e OSMOPY_DEBUG_TCP_SOCKETS="1" \</span><br><span>               -w /build -i -u build \</span><br><span>               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \</span><br><span style="color: hsl(120, 100%, 40%);">+              -v "$HOME/.ssh:/home/build/.ssh:ro" \</span><br><span>               osmocom:amd64 /build/contrib/jenkins.sh --publish</span><br><span> </span><br><span>       - osmo-bts:</span><br><span>@@ -235,6 +236,7 @@</span><br><span>               -e OSMOPY_DEBUG_TCP_SOCKETS="1" \</span><br><span>               -w /build -i -u build \</span><br><span>               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \</span><br><span style="color: hsl(120, 100%, 40%);">+              -v "$HOME/.ssh:/home/build/.ssh:ro" \</span><br><span>               osmocom:amd64 /build/contrib/jenkins.sh --publish</span><br><span>           trigger: master-osmo-msc, master-osmo-bsc</span><br><span> </span><br><span>@@ -258,6 +260,7 @@</span><br><span>               -w /build -u build \</span><br><span>               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \</span><br><span>               -v "$ARTIFACT_STORE:/artifact_store" \</span><br><span style="color: hsl(120, 100%, 40%);">+              -v "$HOME/.ssh:/home/build/.ssh:ro" \</span><br><span>               osmocom:amd64 /build/contrib/jenkins.sh --publish</span><br><span> </span><br><span>       - osmo-pcap</span><br><span>@@ -298,6 +301,7 @@</span><br><span>               -e OSMOPY_DEBUG_TCP_SOCKETS="1" \</span><br><span>               -w /build -i -u build \</span><br><span>               -v "$PWD:/build" -v "$HOME/bin:/build_bin" \</span><br><span style="color: hsl(120, 100%, 40%);">+              -v "$HOME/.ssh:/home/build/.ssh:ro" \</span><br><span>               osmocom:amd64 /build/contrib/jenkins.sh --publish</span><br><span> </span><br><span>       - osmo-sip-connector:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12042">change 12042</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/12042"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Icfff3b6a620de79d1bab7ff6a35309f828581c09 </div>
<div style="display:none"> Gerrit-Change-Number: 12042 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>