Change in osmo-ci[master]: jobs/ttcn3: add KERNEL_* parameters

osmith gerrit-no-reply at lists.osmocom.org
Mon Mar 1 08:56:24 UTC 2021


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/23150 )


Change subject: jobs/ttcn3: add KERNEL_* parameters
......................................................................

jobs/ttcn3: add KERNEL_* parameters

Make it possible to run the jenkins job with a different kernel
repository, by exposing KERNEL_URL, KERNEL_REMOTE_NAME and
KERNEL_BRANCH.

Related: OS#3208
Change-Id: I5d4202a67a24d9c15a5b211fa29ce9d5b5a9d9c1
---
M jobs/ttcn3-testsuites.yml
1 file changed, 22 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/50/23150/1

diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml
index 3e62126..621915b 100644
--- a/jobs/ttcn3-testsuites.yml
+++ b/jobs/ttcn3-testsuites.yml
@@ -230,6 +230,26 @@
                 Branch of <code>docker-playground.git</code>.
                 Only modify if you are hacking on the docker-playground scripts.
           default: '*/master'
+      - string:
+          name: KERNEL_URL
+          description: |
+                (<code>*-kernel-git</code> only) remote URL of git repository,
+                from which the kernel will be built.
+          default: 'https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git'
+      - string:
+          name: KERNEL_REMOTE_NAME
+          description: |
+                (<code>*-kernel-git</code> only) short name for the remote URL,
+                which will be used to add it to the local git checkout with
+                <code>git remote add</code>.
+          default: 'net-next'
+      - string:
+          name: KERNEL_BRANCH
+          description: |
+                (<code>*-kernel-git</code> only) branch to check out from the
+                remote with <code>KERNEL_URL</code> and
+                <code>KERNEL_REMOTE_NAME</code> before building the kernel.
+          default: 'master'
 
     builders:
       - shell: |-
@@ -252,8 +272,8 @@
               ttcn3-ggsn-test-kernel-git)
                   DIR="ttcn3-ggsn-test"
                   export IMAGE_SUFFIX="master"
-                  # Build net-next kernel from source, default git repo from:
-                  # docker-playground.git scripts/kernel-test/kernel-build.sh
+                  # Build kernel from source, git repo is defined in the job's
+                  # parameters: KERNEL_URL, KERNEL_REMOTE_NAME, KERNEL_BRANCH
                   export KERNEL_TEST=1
                   export KERNEL_BUILD=1
                   ;;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/23150
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I5d4202a67a24d9c15a5b211fa29ce9d5b5a9d9c1
Gerrit-Change-Number: 23150
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210301/1b4c3acc/attachment.htm>


More information about the gerrit-log mailing list