DAHDI gerrit verification job diversification

* we never really wanted to build against fixed tags but branches, i.e.
  "the latest tag within a given stable series", so switch from a fixed
  tag like "v5.10" in torvalds/linux.git to "linux-5.10.y" in stable/linux.git

* we also want to build against 6.1.y, as that is what upcoming Debian
  bookworm will ship

Change-Id: I60aa61cb5020c9ce50126b048a0fa546a535236f
This commit is contained in:
Harald Welte 2023-06-06 16:28:56 +02:00
parent 79c5c2d7f7
commit 910a04d39c
1 changed files with 18 additions and 6 deletions

View File

@ -1,14 +1,26 @@
- project:
name: gerrit-dahdi-linux
name: gerrit-dahdi-linux-stable
type: stable
repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git'
linux-ver:
- "linux-4.19.y"
- "linux-5.10.y"
- "linux-6.1.y"
jobs:
- 'gerrit-dahdi-linux-{type}-{linux-ver}'
- project:
name: gerrit-dahdi-linux-torvalds
type: torvalds
repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
linux-ver:
- "v4.19"
- "v5.10"
- "master"
jobs:
- 'gerrit-dahdi-linux-{linux-ver}'
- 'gerrit-dahdi-linux-{type}-{linux-ver}'
- job-template:
name: 'gerrit-dahdi-linux-{linux-ver}'
name: 'gerrit-dahdi-linux-{type}-{linux-ver}'
project-type: freestyle
node: osmocom-gerrit
concurrent: true
@ -31,7 +43,7 @@
# the shell part below.
- git:
basedir: 'linux'
url: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
url: '{repo}'
branches:
- '{linux-ver}'
refspec: '{linux-ver}'