Use local gitcache for kernel repo
[lttng-ci.git] / jobs / kernel.yaml
CommitLineData
598af463
MJ
1---
2- defaults:
3 name: kernel
4 description: |
5 TODO
6
7 project-type: freestyle
8
9 logrotate:
10 daysToKeep: -1
11 numToKeep: 2
12 artifactDaysToKeep: -1
13 artifactNumToKeep: -1
14
15 wrappers:
16 - workspace-cleanup
17 - timestamps
18 - ansicolor
19
20 scm:
21 - git:
22 url: git://artifacts.internal.efficios.com/git/linux-stable.git
23 branches:
24 - refs/tags/v{kversion}
25 shallow-clone: true
bb2f38b1
MJ
26 skip-tag: true
27 fastpoll: true
598af463 28 basedir: linux
bb2f38b1 29 reference-repo: $HOME/gitcache/linux-stable.git/
598af463
MJ
30
31 properties:
32 - throttle:
33 max-per-node: 0
34 max-total: 0
35 categories:
36 - 'lttng-module-linux'
37
38
39## Templates
40- job-template:
41 name: kernel_{kversion}_{buildtype}
42 defaults: kernel
43
44 project-type: matrix
45 axes:
46 - axis:
47 type: slave
48 name: arch
49 values: '{obj:arch}'
50
51 builders:
52 - shell:
53 !include-raw-escape scripts/kernel/build.sh
54
55 publishers:
56 - archive:
57 artifacts: 'build/**'
58 allow-empty: false
59 fingerprint: true
60 - trigger:
61 project: lttng-modules_master_{kversion}_{buildtype}
62 threshold: SUCCESS
63
64
65## Project
66- project:
67 name: kernel
68 kversion:
69 !include jobs/inc/kernel-versions.yaml.inc
70 jobs:
71 - 'kernel_{kversion}_{buildtype}':
72 buildtype: build
73 arch: !!python/tuple [x86-32, x86-64]
74 - 'kernel_{kversion}_{buildtype}':
75 buildtype: portbuild
76 arch: !!python/tuple [armhf, powerpc]
This page took 0.074092 seconds and 4 git commands to generate.