<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-dev/+/25183">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ttcn3.sh: support IMAGE_SUFFIX=latest<br><br>Add the image suffix to the marker in run_docker() which indicates if<br>the testsuite docker container was already built (with all its<br>dependencies), so the script doesn't assume that everything is already<br>built if using without IMAGE_SUFFIX first and then switching to<br>IMAGE_SUFFIX=latest.<br><br>Add an usage example to README for IMAGE_SUFFIX=latest.<br><br>Change-Id: I867740831810324a7f5906a0548f0d04ecb9a0a1<br>---<br>M README<br>M ttcn3/ttcn3.sh<br>2 files changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/83/25183/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/README b/README</span><br><span>index 5b3c0ce..7e34680 100644</span><br><span>--- a/README</span><br><span>+++ b/README</span><br><span>@@ -152,6 +152,7 @@</span><br><span> Example usage:</span><br><span> </span><br><span>   ./ttcn3/ttcn3.sh mgw</span><br><span style="color: hsl(120, 100%, 40%);">+  IMAGE_SUFFIX=latest ./ttcn3/ttcn3.sh mgw</span><br><span> </span><br><span> More about the testsuites:</span><br><span> https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites</span><br><span>diff --git a/ttcn3/ttcn3.sh b/ttcn3/ttcn3.sh</span><br><span>index daa9561..b25c239 100755</span><br><span>--- a/ttcn3/ttcn3.sh</span><br><span>+++ b/ttcn3/ttcn3.sh</span><br><span>@@ -236,7 +236,7 @@</span><br><span>     local hacks="${DIR_OSMODEV}/src/osmo-ttcn3-hacks"</span><br><span>  local docker_dir="$(get_testsuite_dir_docker)"</span><br><span>     local docker_name="$(basename "$docker_dir")"</span><br><span style="color: hsl(0, 100%, 40%);">-       local marker="${DIR_OSMODEV}/ttcn3/make/.docker.$docker_name"</span><br><span style="color: hsl(120, 100%, 40%);">+       local marker="${DIR_OSMODEV}/ttcn3/make/.docker.$docker_name.$IMAGE_SUFFIX"</span><br><span> </span><br><span>    # Skip building docker containers if this already ran</span><br><span>        if [ -e "$marker" ]; then</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-dev/+/25183">change 25183</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-dev/+/25183"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-dev </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I867740831810324a7f5906a0548f0d04ecb9a0a1 </div>
<div style="display:none"> Gerrit-Change-Number: 25183 </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>