aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-03-01 08:24:12 +0100
committerosmith <osmith@sysmocom.de>2021-03-01 12:54:55 +0000
commit1cc397205d28294f8132f46c02568677d70e2223 (patch)
tree62023186d2700531b3ffc1ef47eb3acc4593a5bd
parent718448606fad892163aa6e031d95c4f41a152bcd (diff)
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
-rw-r--r--jobs/ttcn3-testsuites.yml24
1 files changed, 22 insertions, 2 deletions
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
;;