Basic kernel and lttng-modules jobs
[lttng-ci.git] / jobs / lttng-modules.yaml
1 ---
2 - defaults:
3 name: lttng-modules
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
26 basedir: linux
27 - git:
28 url: git://github.com/lttng/lttng-modules.git
29 branches:
30 - "{mversion}"
31 basedir: lttng-modules
32
33 triggers:
34 - pollscm: "@yearly"
35
36 properties:
37 - throttle:
38 max-per-node: 0
39 max-total: 0
40 categories:
41 - 'lttng-module-linux'
42
43
44 ## Templates
45 - job-template:
46 name: lttng-modules_{mversion}_{kversion}_{buildtype}
47 defaults: lttng-modules
48
49 project-type: matrix
50 axes:
51 - axis:
52 type: slave
53 name: arch
54 values: '{obj:arch}'
55
56 builders:
57 - copyartifact:
58 project: kernel_{kversion}_{buildtype}/arch=$arch
59 which-build: last-successful
60 stable: true
61 filter: 'build/**'
62 target: 'deps/linux'
63 - shell:
64 !include-raw-escape scripts/lttng-modules/build.sh
65
66 publishers:
67 - archive:
68 artifacts: 'build/**'
69 allow-empty: false
70 fingerprint: true
71
72
73 ## Project
74 - project:
75 name: lttng-modules
76 mversion:
77 !include jobs/inc/lttng-modules-versions.yaml.inc
78 kversion:
79 !include jobs/inc/kernel-versions.yaml.inc
80 jobs:
81 - 'lttng-modules_{mversion}_{kversion}_{buildtype}':
82 buildtype: build
83 arch: !!python/tuple [x86-32, x86-64]
84 - 'lttng-modules_{mversion}_{kversion}_{buildtype}':
85 buildtype: portbuild
86 arch: !!python/tuple [armhf, powerpc]
This page took 0.032177 seconds and 5 git commands to generate.