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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

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


osmith has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  osmith: Verified



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: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210301/229ed0f6/attachment.htm>


More information about the gerrit-log mailing list