<p>osmith <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/docker-playground/+/26442">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: fix redundant titan image build<br><br>Do not build debian-stretch-titan, when registry.osmocom.org is enabled.<br>The image that would be built at this point is not useful, since other<br>images like ttcn3-msc-test will use the debian-stretch-titan image from<br>the registry instead of the one that was just built locally.<br><br>Related: OS#5336<br>Change-Id: I7127e3ebac3a6a985c3ba50ba8c7cb8c5de978d9<br>---<br>M jenkins-common.sh<br>1 file changed, 10 insertions(+), 0 deletions(-)<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 d4258d2..88d053c 100644</span><br><span>--- a/jenkins-common.sh</span><br><span>+++ b/jenkins-common.sh</span><br><span>@@ -120,6 +120,16 @@</span><br><span>         local dir</span><br><span> </span><br><span>        for i in $@; do</span><br><span style="color: hsl(120, 100%, 40%);">+               # Don't build images that are available on the private</span><br><span style="color: hsl(120, 100%, 40%);">+            # registry, if using it.</span><br><span style="color: hsl(120, 100%, 40%);">+              if [ "$REGISTRY_HOST" = "registry.osmocom.org" ]; then</span><br><span style="color: hsl(120, 100%, 40%);">+                    case "$i" in</span><br><span style="color: hsl(120, 100%, 40%);">+                        debian-stretch-titan)</span><br><span style="color: hsl(120, 100%, 40%);">+                         continue</span><br><span style="color: hsl(120, 100%, 40%);">+                              ;;</span><br><span style="color: hsl(120, 100%, 40%);">+                    esac</span><br><span style="color: hsl(120, 100%, 40%);">+          fi</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>                 # Build dependencies first</span><br><span>           depends="$(docker_depends "$i")"</span><br><span>                 if [ -n "$depends" ]; then</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/docker-playground/+/26442">change 26442</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/+/26442"/><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: I7127e3ebac3a6a985c3ba50ba8c7cb8c5de978d9 </div>
<div style="display:none"> Gerrit-Change-Number: 26442 </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-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>