<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/23229">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jobs/ttcn3-testsuites-kernel-git: add OSMOCOM_VERSION<br><br>Let the user choose whether to run against osmo-ggsn latest or master.<br>I chose the name "OSMOCOM_VERSION" for the variable to make this easier<br>to use for people not familiar with the Osmocom stack / the test<br>infrastructure, as suggested in the related issue.<br><br>Related: OS#3208<br>Change-Id: Ifaf8ed6502b469ade670c3f436670480d27becd6<br>---<br>M jobs/ttcn3-testsuites-kernel-git.yml<br>1 file changed, 11 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/29/23229/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/jobs/ttcn3-testsuites-kernel-git.yml b/jobs/ttcn3-testsuites-kernel-git.yml</span><br><span>index cfc36f2..fa04cb9 100644</span><br><span>--- a/jobs/ttcn3-testsuites-kernel-git.yml</span><br><span>+++ b/jobs/ttcn3-testsuites-kernel-git.yml</span><br><span>@@ -55,6 +55,16 @@</span><br><span>                 <code>KERNEL_URL</code> and <code>KERNEL_REMOTE_NAME</code></span><br><span>                 before building the kernel.</span><br><span>           default: 'master'</span><br><span style="color: hsl(120, 100%, 40%);">+      - choice:</span><br><span style="color: hsl(120, 100%, 40%);">+          name: OSMOCOM_VERSION</span><br><span style="color: hsl(120, 100%, 40%);">+          choices:</span><br><span style="color: hsl(120, 100%, 40%);">+            - latest</span><br><span style="color: hsl(120, 100%, 40%);">+            - master</span><br><span style="color: hsl(120, 100%, 40%);">+          description: |</span><br><span style="color: hsl(120, 100%, 40%);">+                Version of the Osmocom stack to test against the kernel. Either</span><br><span style="color: hsl(120, 100%, 40%);">+                <code>latest</code> for the latest release version, or</span><br><span style="color: hsl(120, 100%, 40%);">+                <code>master</code> for HEAD of git.osmocom.org.</span><br><span style="color: hsl(120, 100%, 40%);">+          default: 'latest'</span><br><span> </span><br><span>     builders:</span><br><span>       - shell: |-</span><br><span>@@ -65,7 +75,7 @@</span><br><span>           case "{job-name}" in</span><br><span>               ttcn3-ggsn-test-kernel-git)</span><br><span>                   DIR="ttcn3-ggsn-test"</span><br><span style="color: hsl(0, 100%, 40%);">-                  export IMAGE_SUFFIX="master"</span><br><span style="color: hsl(120, 100%, 40%);">+                  export IMAGE_SUFFIX="$OSMOCOM_VERSION"</span><br><span>                   export KERNEL_TEST=1</span><br><span>                   export KERNEL_BUILD=1</span><br><span>                   ;;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ci/+/23229">change 23229</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/+/23229"/><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: Ifaf8ed6502b469ade670c3f436670480d27becd6 </div>
<div style="display:none"> Gerrit-Change-Number: 23229 </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>