aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2023-06-06 16:28:56 +0200
committerHarald Welte <laforge@osmocom.org>2023-06-06 16:29:40 +0200
commit910a04d39cd0d5eecf926c53f52af4a6a0528e28 (patch)
tree82bc935a5f37dea633e15a0ae3824df001677015
parent79c5c2d7f7791dff7a0ff293b142501eba4f6e8d (diff)
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
-rw-r--r--jobs/gerrit-verifications-dahdi.yml24
1 files changed, 18 insertions, 6 deletions
diff --git a/jobs/gerrit-verifications-dahdi.yml b/jobs/gerrit-verifications-dahdi.yml
index 76657f1..88971b8 100644
--- a/jobs/gerrit-verifications-dahdi.yml
+++ b/jobs/gerrit-verifications-dahdi.yml
@@ -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}'