<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ci/+/23150">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">jobs/ttcn3: add KERNEL_* parameters<br><br>Make it possible to run the jenkins job with a different kernel<br>repository, by exposing KERNEL_URL, KERNEL_REMOTE_NAME and<br>KERNEL_BRANCH.<br><br>Related: OS#3208<br>Change-Id: I5d4202a67a24d9c15a5b211fa29ce9d5b5a9d9c1<br>---<br>M jobs/ttcn3-testsuites.yml<br>1 file changed, 22 insertions(+), 2 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/50/23150/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml</span><br><span>index 3e62126..621915b 100644</span><br><span>--- a/jobs/ttcn3-testsuites.yml</span><br><span>+++ b/jobs/ttcn3-testsuites.yml</span><br><span>@@ -230,6 +230,26 @@</span><br><span>                 Branch of <code>docker-playground.git</code>.</span><br><span>                 Only modify if you are hacking on the docker-playground scripts.</span><br><span>           default: '*/master'</span><br><span style="color: hsl(120, 100%, 40%);">+      - string:</span><br><span style="color: hsl(120, 100%, 40%);">+          name: KERNEL_URL</span><br><span style="color: hsl(120, 100%, 40%);">+          description: |</span><br><span style="color: hsl(120, 100%, 40%);">+                (<code>*-kernel-git</code> only) remote URL of git repository,</span><br><span style="color: hsl(120, 100%, 40%);">+                from which the kernel will be built.</span><br><span style="color: hsl(120, 100%, 40%);">+          default: 'https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git'</span><br><span style="color: hsl(120, 100%, 40%);">+      - string:</span><br><span style="color: hsl(120, 100%, 40%);">+          name: KERNEL_REMOTE_NAME</span><br><span style="color: hsl(120, 100%, 40%);">+          description: |</span><br><span style="color: hsl(120, 100%, 40%);">+                (<code>*-kernel-git</code> only) short name for the remote URL,</span><br><span style="color: hsl(120, 100%, 40%);">+                which will be used to add it to the local git checkout with</span><br><span style="color: hsl(120, 100%, 40%);">+                <code>git remote add</code>.</span><br><span style="color: hsl(120, 100%, 40%);">+          default: 'net-next'</span><br><span style="color: hsl(120, 100%, 40%);">+      - string:</span><br><span style="color: hsl(120, 100%, 40%);">+          name: KERNEL_BRANCH</span><br><span style="color: hsl(120, 100%, 40%);">+          description: |</span><br><span style="color: hsl(120, 100%, 40%);">+                (<code>*-kernel-git</code> only) branch to check out from the</span><br><span style="color: hsl(120, 100%, 40%);">+                remote with <code>KERNEL_URL</code> and</span><br><span style="color: hsl(120, 100%, 40%);">+                <code>KERNEL_REMOTE_NAME</code> before building the kernel.</span><br><span style="color: hsl(120, 100%, 40%);">+          default: 'master'</span><br><span> </span><br><span>     builders:</span><br><span>       - shell: |-</span><br><span>@@ -252,8 +272,8 @@</span><br><span>               ttcn3-ggsn-test-kernel-git)</span><br><span>                   DIR="ttcn3-ggsn-test"</span><br><span>                   export IMAGE_SUFFIX="master"</span><br><span style="color: hsl(0, 100%, 40%);">-                  # Build net-next kernel from source, default git repo from:</span><br><span style="color: hsl(0, 100%, 40%);">-                  # docker-playground.git scripts/kernel-test/kernel-build.sh</span><br><span style="color: hsl(120, 100%, 40%);">+                  # Build kernel from source, git repo is defined in the job's</span><br><span style="color: hsl(120, 100%, 40%);">+                  # parameters: KERNEL_URL, KERNEL_REMOTE_NAME, KERNEL_BRANCH</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/+/23150">change 23150</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/+/23150"/><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: I5d4202a67a24d9c15a5b211fa29ce9d5b5a9d9c1 </div>
<div style="display:none"> Gerrit-Change-Number: 23150 </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>