diff options
Diffstat (limited to 'jobs/master-builds-dahdi.yml')
-rw-r--r-- | jobs/master-builds-dahdi.yml | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/jobs/master-builds-dahdi.yml b/jobs/master-builds-dahdi.yml index a404487..8f6d070 100644 --- a/jobs/master-builds-dahdi.yml +++ b/jobs/master-builds-dahdi.yml @@ -1,25 +1,33 @@ - project: - name: master-builds-dahdi-linux - node: osmocom-gerrit-debian9 + name: master-builds-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: + - 'master-dahdi-linux-{type}-{linux-ver}' + +- project: + name: master-builds-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: - - 'master-dahdi-linux-{linux-ver}' + - 'master-dahdi-linux-{type}-{linux-ver}' - job-template: - name: 'master-dahdi-linux-{linux-ver}' + name: 'master-dahdi-linux-{type}-{linux-ver}' project-type: freestyle - node: osmocom-master-debian9 + node: osmocom-master concurrent: true retry-count: 0 # scm checkout properties: - build-discarder: days-to-keep: 30 num-to-keep: 120 - artifact-days-to-keep: -1 - artifact-num-to-keep: -1 description: | Automatic jenkins test job of <a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a> @@ -29,24 +37,12 @@ <b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b> scm: - - git: - basedir: 'dahdi-linux' - url: 'https://gerrit.osmocom.org/dahdi-linux' - credentials-id: d5eda5e9-b59d-44ba-88d2-43473cb6e42d - branches: - - 'origin/master' - # When the gerrit git repository is configured to wipe-workspace, the - # linux.git clone gets removed as well. Cloning the linux repo takes a - # long time, so only clean both repos, don't remove them. - wipe-workspace: false - clean: - before: true - skip-tag: true - submodule: - recursive: true + # Let jenkins clone the big linux repository and keep it between builds + # (wipe-workspace is false). Clone dahdi-linux with code from gerrit in + # 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}' @@ -56,16 +52,22 @@ before: true triggers: - - timed: "H H * * *" + - timed: "H 23 * * *" builders: - shell: | + rm -rf dahdi-linux + git clone \ + --depth=1 \ + https://gerrit.osmocom.org/dahdi-linux + git -C dahdi-linux log --oneline + docker run \ --rm=true \ -e "KSRC=/linux" \ -v "$PWD/dahdi-linux:/build" \ -v "$PWD/linux:/linux" \ - "$USER/debian-buster-jenkins" \ + "$USER/debian-bookworm-build" \ timeout 10m su build -c /build/contrib/jenkins.sh publishers: |