<p>osmith <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/26443">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  osmith: Verified
  fixeria: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jenkins-common.sh: pull registry.osmocom.org imgs<br><br>Pull debian-stretch-titan from registry.osmocom.org if the repository is<br>enabled. Otherwise the image gets only pulled the first time, and does<br>not get updated once it becomes outdated.<br><br>Fixes: OS#5336<br>Change-Id: I1cf998c21e4ee1f723c3b783703e339328377f3e<br>---<br>M jenkins-common.sh<br>1 file changed, 3 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/jenkins-common.sh b/jenkins-common.sh</span><br><span>index 88d053c..3511c02 100644</span><br><span>--- a/jenkins-common.sh</span><br><span>+++ b/jenkins-common.sh</span><br><span>@@ -121,10 +121,12 @@</span><br><span> </span><br><span>     for i in $@; do</span><br><span>              # Don't build images that are available on the private</span><br><span style="color: hsl(0, 100%, 40%);">-              # registry, if using it.</span><br><span style="color: hsl(120, 100%, 40%);">+              # registry, if using it. Instead, pull the images to make sure</span><br><span style="color: hsl(120, 100%, 40%);">+                # they are up-to-date.</span><br><span>               if [ "$REGISTRY_HOST" = "registry.osmocom.org" ]; then</span><br><span>                   case "$i" in</span><br><span>                       debian-stretch-titan)</span><br><span style="color: hsl(120, 100%, 40%);">+                         docker pull "$REGISTRY_HOST/$USER/$i"</span><br><span>                              continue</span><br><span>                             ;;</span><br><span>                   esac</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/26443">change 26443</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/docker-playground/+/26443"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: docker-playground </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I1cf998c21e4ee1f723c3b783703e339328377f3e </div>
<div style="display:none"> Gerrit-Change-Number: 26443 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>