mirror of https://gerrit.osmocom.org/osmo-ci
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
This commit is contained in:
parent
718448606f
commit
1cc397205d
|
@ -230,6 +230,26 @@
|
||||||
Branch of <code>docker-playground.git</code>.
|
Branch of <code>docker-playground.git</code>.
|
||||||
Only modify if you are hacking on the docker-playground scripts.
|
Only modify if you are hacking on the docker-playground scripts.
|
||||||
default: '*/master'
|
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:
|
builders:
|
||||||
- shell: |-
|
- shell: |-
|
||||||
|
@ -252,8 +272,8 @@
|
||||||
ttcn3-ggsn-test-kernel-git)
|
ttcn3-ggsn-test-kernel-git)
|
||||||
DIR="ttcn3-ggsn-test"
|
DIR="ttcn3-ggsn-test"
|
||||||
export IMAGE_SUFFIX="master"
|
export IMAGE_SUFFIX="master"
|
||||||
# Build net-next kernel from source, default git repo from:
|
# Build kernel from source, git repo is defined in the job's
|
||||||
# docker-playground.git scripts/kernel-test/kernel-build.sh
|
# parameters: KERNEL_URL, KERNEL_REMOTE_NAME, KERNEL_BRANCH
|
||||||
export KERNEL_TEST=1
|
export KERNEL_TEST=1
|
||||||
export KERNEL_BUILD=1
|
export KERNEL_BUILD=1
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue