Commit | Line | Data |
---|---|---|
890bff23 MJ |
1 | - defaults: |
2 | name: babeltrace | |
3 | description: | | |
4 | The Babeltrace project provides trace read and write libraries, as well | |
5 | as a trace converter. Plugins can be created for any trace format to | |
6 | allow its conversion to/from another trace format. | |
7 | ||
8 | The main format expected to be converted to/from is the Common Trace | |
9 | Format (CTF). The default input format of the "babeltrace" command is | |
10 | CTF, and its default output format is a human-readable text log. The | |
11 | "babeltrace-log" command converts from a text log to a CTF trace. | |
12 | ||
13 | <p>Job is managed by Jenkins Job Builder.</p> | |
14 | ||
15 | project-type: freestyle | |
16 | ||
890bff23 | 17 | wrappers: |
b9c55ae7 MJ |
18 | - ansicolor |
19 | - timeout: | |
733146f2 | 20 | timeout: 20 |
b9c55ae7 | 21 | fail: true |
733146f2 | 22 | type: no-activity |
890bff23 | 23 | - timestamps |
b9c55ae7 MJ |
24 | - workspace-cleanup: |
25 | clean-if: | |
26 | - failure: false | |
890bff23 MJ |
27 | |
28 | scm: | |
29 | - git: | |
4d27af8f | 30 | url: https://github.com/{github_user}/{github_name}.git |
890bff23 | 31 | browser: githubweb |
4f827afb | 32 | browser-url: https://github.com/{github_user}/{github_name} |
890bff23 MJ |
33 | branches: |
34 | - origin/{version} | |
e6be9fb0 | 35 | basedir: src/babeltrace |
944a6c86 | 36 | skip-tag: true |
890bff23 MJ |
37 | |
38 | triggers: | |
6cf22a3a MJ |
39 | - pollscm: |
40 | cron: "@hourly" | |
890bff23 MJ |
41 | |
42 | properties: | |
69f05d59 MJ |
43 | - inject: |
44 | properties-content: | | |
45 | PROJECT_NAME=babeltrace | |
edf72710 MJ |
46 | - build-discarder: |
47 | num-to-keep: 2 | |
890bff23 | 48 | - github: |
4f827afb | 49 | url: https://github.com/{github_user}/{github_name} |
890bff23 MJ |
50 | |
51 | ||
b9c55ae7 MJ |
52 | ## Anchors |
53 | - babeltrace_build_axes_defaults: &babeltrace_build_axes_defaults | |
54 | name: 'babeltrace_build_axes_defaults' | |
890bff23 | 55 | project-type: matrix |
ca8c6144 | 56 | node: 'master' # Applies only to matrix flyweight task |
890bff23 MJ |
57 | axes: |
58 | - axis: | |
59 | type: slave | |
60 | name: arch | |
61 | values: '{obj:arch}' | |
62 | - axis: | |
63 | type: user-defined | |
64 | name: conf | |
87e41bca | 65 | values: '{obj:conf}' |
890bff23 MJ |
66 | - axis: |
67 | type: user-defined | |
68 | name: build | |
9d0846f3 | 69 | values: '{obj:build}' |
890bff23 | 70 | |
6476f917 MJ |
71 | - babeltrace_build_axes_cc: &babeltrace_build_axes_cc |
72 | name: 'babeltrace_build_axes_cc' | |
73 | project-type: matrix | |
74 | node: 'master' # Applies only to matrix flyweight task | |
75 | axes: | |
76 | - axis: | |
77 | type: slave | |
78 | name: arch | |
79 | values: '{obj:arch}' | |
80 | - axis: | |
81 | type: user-defined | |
82 | name: conf | |
83 | values: '{obj:conf}' | |
84 | - axis: | |
85 | type: user-defined | |
86 | name: build | |
87 | values: '{obj:build}' | |
88 | - axis: | |
89 | type: user-defined | |
90 | name: cc | |
91 | values: '{obj:cc}' | |
92 | ||
b9c55ae7 MJ |
93 | - babeltrace_build_builders_defaults: &babeltrace_build_builders_defaults |
94 | name: 'babeltrace_build_builders_defaults' | |
890bff23 MJ |
95 | builders: |
96 | - shell: | |
ef63064f | 97 | !include-raw-escape: scripts/babeltrace/build.sh |
890bff23 | 98 | |
b9c55ae7 MJ |
99 | - babeltrace_build_builders_win: &babeltrace_build_builders_win |
100 | name: 'babeltrace_build_builders_win' | |
101 | builders: | |
b9c55ae7 MJ |
102 | - conditional-step: |
103 | condition-kind: strings-match | |
104 | on-evaluation-failure: run | |
105 | condition-string1: '${{arch}}' | |
106 | condition-string2: 'cygwin64' | |
107 | steps: | |
108 | - shell: | |
109 | !include-raw-escape: | |
110 | - scripts/common/cygwin64-shebang | |
cefcd7f8 | 111 | - scripts/common/cygpath-prefix |
b9c55ae7 MJ |
112 | - scripts/babeltrace/build.sh |
113 | - conditional-step: | |
114 | condition-kind: strings-match | |
115 | on-evaluation-failure: run | |
116 | condition-string1: '${{arch}}' | |
8f541678 | 117 | condition-string2: 'msys2-mingw32' |
b9c55ae7 MJ |
118 | steps: |
119 | - inject: | |
120 | properties-content: 'MSYSTEM=MINGW32' | |
121 | - shell: | |
122 | !include-raw-escape: | |
8f541678 | 123 | - scripts/common/msys2-shebang |
cefcd7f8 | 124 | - scripts/common/cygpath-prefix |
b9c55ae7 MJ |
125 | - scripts/babeltrace/build.sh |
126 | - conditional-step: | |
127 | condition-kind: strings-match | |
128 | on-evaluation-failure: run | |
129 | condition-string1: '${{arch}}' | |
8f541678 | 130 | condition-string2: 'msys2-mingw64' |
b9c55ae7 MJ |
131 | steps: |
132 | - inject: | |
133 | properties-content: 'MSYSTEM=MINGW64' | |
134 | - shell: | |
135 | !include-raw-escape: | |
8f541678 | 136 | - scripts/common/msys2-shebang |
cefcd7f8 | 137 | - scripts/common/cygpath-prefix |
b9c55ae7 MJ |
138 | - scripts/babeltrace/build.sh |
139 | ||
140 | ||
499a96d0 JR |
141 | - babeltrace_build_publishers_dev: &babeltrace_build_publishers_dev |
142 | name: 'babeltrace_build_publishers_dev' | |
890bff23 MJ |
143 | publishers: |
144 | - tap: | |
e6be9fb0 | 145 | results: 'tap/**/*.log' |
1d56e325 | 146 | fail-if-no-results: true |
890bff23 | 147 | failed-tests-mark-build-as-failure: true |
95654431 | 148 | todo-is-failure: false |
890bff23 MJ |
149 | - warnings: |
150 | console-log-parsers: | |
151 | - 'GNU Make + GNU C Compiler (gcc)' | |
152 | total-thresholds: | |
51ca880a | 153 | unstable: |
d2c76ee5 MJ |
154 | total-all: 0 |
155 | total-high: 0 | |
156 | total-normal: 0 | |
157 | total-low: 0 | |
9d56171a MJ |
158 | - archive: |
159 | artifacts: 'tap/**' | |
160 | allow-empty: false | |
499a96d0 JR |
161 | - email-ext: |
162 | recipients: '{obj:email_to}' | |
163 | always: false | |
164 | unstable: false | |
165 | first-failure: true | |
166 | first-unstable: true | |
167 | not-built: false | |
168 | aborted: false | |
169 | regression: false | |
170 | failure: false | |
171 | second-failure: false | |
172 | improvement: false | |
173 | still-failing: false | |
174 | success: false | |
175 | fixed: false | |
176 | fixed-unhealthy: true | |
177 | still-unstable: false | |
178 | pre-build: false | |
179 | matrix-trigger: only-parent | |
180 | send-to: | |
181 | - recipients | |
182 | ||
b9c55ae7 MJ |
183 | |
184 | - babeltrace_build_publishers_prod: &babeltrace_build_publishers_prod | |
185 | name: 'babeltrace_build_publishers_prod' | |
186 | publishers: | |
0efb2471 JR |
187 | - tap: |
188 | results: 'tap/**/*.log' | |
1d56e325 | 189 | fail-if-no-results: true |
0efb2471 JR |
190 | failed-tests-mark-build-as-failure: true |
191 | todo-is-failure: false | |
192 | - warnings: | |
193 | console-log-parsers: | |
194 | - 'GNU Make + GNU C Compiler (gcc)' | |
195 | total-thresholds: | |
196 | unstable: | |
197 | total-all: 0 | |
198 | total-high: 0 | |
199 | total-normal: 0 | |
200 | total-low: 0 | |
890bff23 | 201 | - archive: |
9d56171a | 202 | artifacts: 'build/**,tap/**' |
890bff23 | 203 | allow-empty: false |
499a96d0 JR |
204 | - email-ext: |
205 | recipients: '{obj:email_to}' | |
206 | reply-to: ci-notification@lists.lttng.org | |
207 | always: false | |
208 | unstable: false | |
209 | first-failure: true | |
210 | first-unstable: true | |
211 | not-built: false | |
212 | aborted: false | |
213 | regression: false | |
214 | failure: false | |
215 | second-failure: false | |
216 | improvement: false | |
217 | still-failing: false | |
218 | success: false | |
219 | fixed: false | |
220 | fixed-unhealthy: true | |
221 | still-unstable: false | |
222 | pre-build: false | |
223 | matrix-trigger: only-parent | |
224 | send-to: | |
225 | - recipients | |
890bff23 | 226 | |
c871b3d3 MJ |
227 | - babeltrace_build_publishers_gerrit: &babeltrace_build_publishers_gerrit |
228 | name: 'babeltrace_build_publishers_gerrit' | |
229 | publishers: | |
230 | - tap: | |
231 | results: 'tap/**/*.log' | |
1d56e325 | 232 | fail-if-no-results: true |
c871b3d3 MJ |
233 | failed-tests-mark-build-as-failure: true |
234 | todo-is-failure: false | |
235 | - warnings: | |
236 | console-log-parsers: | |
237 | - 'GNU Make + GNU C Compiler (gcc)' | |
238 | total-thresholds: | |
72d113b0 | 239 | failed: |
c871b3d3 MJ |
240 | total-all: 0 |
241 | total-high: 0 | |
242 | total-normal: 0 | |
243 | total-low: 0 | |
244 | - archive: | |
9d56171a | 245 | artifacts: 'build/**,tap/**' |
c871b3d3 MJ |
246 | allow-empty: false |
247 | ||
248 | ||
b9c55ae7 MJ |
249 | ## Templates |
250 | ||
251 | - job-template: | |
252 | name: babeltrace_{version}_{buildtype} | |
253 | defaults: babeltrace | |
254 | ||
255 | <<: *babeltrace_build_axes_defaults | |
256 | <<: *babeltrace_build_builders_defaults | |
b9c55ae7 MJ |
257 | <<: *babeltrace_build_publishers_prod |
258 | ||
6476f917 MJ |
259 | - job-template: |
260 | name: babeltrace_{version}_{cctype} | |
261 | defaults: babeltrace | |
262 | ||
263 | <<: *babeltrace_build_axes_cc | |
264 | <<: *babeltrace_build_builders_defaults | |
265 | <<: *babeltrace_build_publishers_prod | |
266 | ||
b9c55ae7 MJ |
267 | - job-template: |
268 | name: babeltrace_{version}_winbuild | |
269 | defaults: babeltrace | |
270 | ||
271 | <<: *babeltrace_build_axes_defaults | |
272 | <<: *babeltrace_build_builders_win | |
b9c55ae7 MJ |
273 | <<: *babeltrace_build_publishers_prod |
274 | ||
4f827afb JR |
275 | - job-template: |
276 | name: dev_{user}_babeltrace_{version}_{buildtype} | |
b9c55ae7 MJ |
277 | defaults: babeltrace |
278 | ||
279 | <<: *babeltrace_build_axes_defaults | |
280 | <<: *babeltrace_build_builders_defaults | |
499a96d0 | 281 | <<: *babeltrace_build_publishers_dev |
4f827afb | 282 | |
c871b3d3 MJ |
283 | - job-template: |
284 | name: dev_gerrit_babeltrace_{buildtype} | |
285 | defaults: babeltrace | |
286 | concurrent: true | |
287 | ||
288 | scm: | |
289 | - git: | |
290 | url: https://review.lttng.org/babeltrace | |
291 | refspec: 'refs/changes/*:refs/changes/*' | |
292 | branches: | |
293 | - '$GERRIT_REFSPEC' | |
294 | basedir: src/babeltrace | |
295 | skip-tag: true | |
296 | ||
297 | triggers: | |
298 | - gerrit: | |
299 | trigger-on: | |
300 | - comment-added-event: | |
301 | approval-category: 'CI-Build' | |
302 | approval-value: 1 | |
303 | projects: | |
304 | - project-compare-type: 'PLAIN' | |
305 | project-pattern: 'babeltrace' | |
306 | branches: | |
307 | - branch-compare-type: 'ANT' | |
308 | branch-pattern: '**' | |
c871b3d3 | 309 | |
e1875e59 MJ |
310 | project-type: matrix |
311 | node: 'master' # Applies only to matrix flyweight task | |
312 | execution-strategy: | |
313 | combination-filter: | | |
9fd34023 | 314 | {filter} |
e1875e59 MJ |
315 | axes: |
316 | - axis: | |
317 | type: slave | |
318 | name: arch | |
319 | values: '{obj:arch}' | |
320 | - axis: | |
321 | type: user-defined | |
322 | name: conf | |
323 | values: '{obj:conf}' | |
324 | - axis: | |
325 | type: user-defined | |
326 | name: build | |
327 | values: '{obj:build}' | |
328 | ||
c871b3d3 MJ |
329 | <<: *babeltrace_build_builders_defaults |
330 | <<: *babeltrace_build_publishers_gerrit | |
331 | ||
332 | properties: | |
333 | - inject: | |
334 | properties-content: | | |
335 | PROJECT_NAME=babeltrace | |
336 | - build-discarder: | |
9fd34023 MJ |
337 | days-to-keep: 1 |
338 | - throttle: | |
339 | option: 'category' | |
340 | categories: | |
6c7048dc | 341 | - 'gerrit-{buildtype}' |
c871b3d3 | 342 | |
5d26e468 MJ |
343 | - job-template: |
344 | name: dev_gerrit_babeltrace_winbuild | |
345 | defaults: babeltrace | |
346 | concurrent: true | |
347 | ||
348 | scm: | |
349 | - git: | |
350 | url: https://review.lttng.org/babeltrace | |
351 | refspec: 'refs/changes/*:refs/changes/*' | |
352 | branches: | |
353 | - '$GERRIT_REFSPEC' | |
354 | basedir: src/babeltrace | |
355 | skip-tag: true | |
356 | ||
357 | triggers: | |
358 | - gerrit: | |
359 | trigger-on: | |
360 | - comment-added-event: | |
361 | approval-category: 'CI-Build' | |
362 | approval-value: 1 | |
363 | projects: | |
364 | - project-compare-type: 'PLAIN' | |
365 | project-pattern: 'babeltrace' | |
366 | branches: | |
367 | - branch-compare-type: 'ANT' | |
368 | branch-pattern: '**' | |
5d26e468 MJ |
369 | |
370 | properties: | |
371 | - inject: | |
372 | properties-content: | | |
373 | PROJECT_NAME=babeltrace | |
374 | - build-discarder: | |
375 | days-to-keep: 1 | |
376 | - throttle: | |
377 | option: 'category' | |
378 | categories: | |
6c7048dc | 379 | - 'gerrit-winbuild' |
5d26e468 MJ |
380 | |
381 | <<: *babeltrace_build_axes_defaults | |
382 | <<: *babeltrace_build_builders_win | |
383 | <<: *babeltrace_build_publishers_gerrit | |
384 | ||
8abe9f8a MJ |
385 | - job-template: |
386 | name: babeltrace_{version}_release | |
387 | defaults: babeltrace | |
388 | node: 'amd64' | |
389 | ||
390 | triggers: | |
391 | - pollscm: | |
392 | cron: "@daily" | |
393 | ||
394 | scm: | |
395 | - git: | |
4d27af8f | 396 | url: https://github.com/{github_user}/{github_name}.git |
8abe9f8a MJ |
397 | browser: githubweb |
398 | browser-url: https://github.com/{github_user}/{github_name} | |
399 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' | |
400 | branches: | |
401 | - '*/tags/{version}.*' | |
402 | basedir: src/babeltrace | |
403 | ||
404 | builders: | |
405 | - shell: | |
406 | !include-raw-escape: scripts/babeltrace/release.sh | |
407 | ||
408 | publishers: | |
409 | - tap: | |
410 | results: 'tap/**/*.log' | |
411 | fail-if-no-results: true | |
412 | failed-tests-mark-build-as-failure: true | |
413 | todo-is-failure: false | |
414 | - warnings: | |
415 | console-log-parsers: | |
416 | - 'GNU Make + GNU C Compiler (gcc)' | |
417 | total-thresholds: | |
418 | unstable: | |
419 | total-all: 0 | |
420 | total-high: 0 | |
421 | total-normal: 0 | |
422 | total-low: 0 | |
423 | - workspace-cleanup: | |
424 | clean-if: | |
425 | - failure: false | |
426 | - archive: | |
427 | artifacts: 'out/**,tap/**' | |
428 | allow-empty: false | |
429 | ||
07fd33e1 | 430 | - job-template: |
af11423c | 431 | name: dev_gerrit_babeltrace_pylint |
07fd33e1 MJ |
432 | defaults: babeltrace |
433 | concurrent: true | |
434 | ||
435 | scm: | |
436 | - git: | |
437 | url: https://review.lttng.org/babeltrace | |
438 | refspec: 'refs/changes/*:refs/changes/*' | |
439 | branches: | |
440 | - '$GERRIT_REFSPEC' | |
441 | basedir: src/babeltrace | |
442 | skip-tag: true | |
443 | ||
444 | triggers: | |
445 | - gerrit: | |
446 | trigger-on: | |
447 | - comment-added-event: | |
448 | approval-category: 'CI-Build' | |
449 | approval-value: 1 | |
450 | projects: | |
451 | - project-compare-type: 'PLAIN' | |
452 | project-pattern: 'babeltrace' | |
453 | branches: | |
454 | - branch-compare-type: 'ANT' | |
455 | branch-pattern: '**' | |
07fd33e1 MJ |
456 | |
457 | node: 'amd64' | |
458 | ||
459 | builders: | |
460 | - shell: | |
af11423c | 461 | !include-raw-escape: scripts/babeltrace/pylint.sh |
07fd33e1 MJ |
462 | |
463 | properties: | |
464 | - inject: | |
465 | properties-content: | | |
466 | PROJECT_NAME=babeltrace | |
467 | - build-discarder: | |
468 | days-to-keep: 1 | |
07fd33e1 | 469 | |
890bff23 MJ |
470 | - job-template: |
471 | name: babeltrace_{version}_cppcheck | |
472 | defaults: babeltrace | |
473 | ||
474 | triggers: | |
6cf22a3a MJ |
475 | - pollscm: |
476 | cron: "@daily" | |
890bff23 MJ |
477 | |
478 | builders: | |
479 | - shell: | | |
5279b0f2 MJ |
480 | rm -f cppcheck-result.xml |
481 | cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml | |
890bff23 MJ |
482 | |
483 | publishers: | |
484 | - archive: | |
5279b0f2 | 485 | artifacts: 'cppcheck-result.xml' |
890bff23 | 486 | allow-empty: false |
890bff23 | 487 | - cppcheck: |
5279b0f2 | 488 | pattern: 'cppcheck-result.xml' |
890bff23 MJ |
489 | |
490 | - job-template: | |
491 | name: babeltrace_{version}_scan-build | |
492 | defaults: babeltrace | |
16844a6d | 493 | node: 'amd64' |
890bff23 MJ |
494 | |
495 | triggers: | |
6cf22a3a MJ |
496 | - pollscm: |
497 | cron: "@daily" | |
890bff23 MJ |
498 | |
499 | builders: | |
500 | - shell: | |
69f05d59 | 501 | !include-raw-escape: scripts/common/scan-build.sh |
890bff23 MJ |
502 | |
503 | publishers: | |
504 | - html-publisher: | |
505 | name: 'HTML Report' | |
506 | dir: 'scan-build-archive/' | |
507 | files: 'index.html' | |
508 | ||
6cf22a3a MJ |
509 | - job-template: |
510 | name: babeltrace_{version}_coverity | |
511 | defaults: babeltrace | |
16844a6d | 512 | node: 'amd64' |
6cf22a3a MJ |
513 | |
514 | triggers: | |
515 | - pollscm: | |
516 | cron: "@daily" | |
517 | ||
518 | wrappers: | |
519 | - workspace-cleanup | |
520 | - timestamps | |
521 | - ansicolor: | |
522 | colormap: xterm | |
523 | - credentials-binding: | |
524 | - username-password-separated: | |
525 | credential-id: babeltrace_coverity_token | |
526 | username: COVERITY_SCAN_PROJECT_NAME | |
527 | password: COVERITY_SCAN_TOKEN | |
528 | builders: | |
529 | - shell: | |
ef63064f | 530 | !include-raw-escape: scripts/common/coverity.sh |
6cf22a3a MJ |
531 | |
532 | publishers: | |
533 | - workspace-cleanup | |
73778992 MJ |
534 | - archive: |
535 | artifacts: 'analysis-results.tgz,cov-int/**' | |
536 | allow-empty: false | |
890bff23 MJ |
537 | |
538 | - job-template: | |
539 | name: babeltrace_{version}_pylint | |
540 | defaults: babeltrace | |
16844a6d | 541 | node: 'amd64' |
890bff23 | 542 | |
890bff23 | 543 | triggers: |
6cf22a3a MJ |
544 | - pollscm: |
545 | cron: "@daily" | |
890bff23 MJ |
546 | |
547 | builders: | |
890bff23 | 548 | - shell: |
ef63064f | 549 | !include-raw-escape: scripts/babeltrace/pylint.sh |
890bff23 MJ |
550 | |
551 | publishers: | |
552 | - archive: | |
af11423c | 553 | artifacts: 'black.out,flake8.out' |
499a96d0 JR |
554 | - email-ext: |
555 | recipients: '{obj:email_to}' | |
556 | reply-to: ci-notification@lists.lttng.org | |
557 | always: false | |
558 | unstable: false | |
559 | first-failure: true | |
560 | first-unstable: true | |
561 | not-built: false | |
562 | aborted: false | |
563 | regression: false | |
564 | failure: false | |
565 | second-failure: false | |
566 | improvement: false | |
567 | still-failing: false | |
568 | success: false | |
569 | fixed: false | |
570 | fixed-unhealthy: true | |
571 | still-unstable: false | |
572 | pre-build: false | |
573 | matrix-trigger: only-parent | |
574 | send-to: | |
575 | - recipients | |
890bff23 | 576 | |
556e87cc | 577 | # Use - in version number since yaml anchor do not support dot |
e7f82d74 | 578 | - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor |
556e87cc JR |
579 | name: 'babeltrace_version_glib_anchor' |
580 | defaults: babeltrace | |
16844a6d | 581 | node: 'amd64' |
556e87cc JR |
582 | |
583 | builders: | |
584 | - inject: | |
585 | properties-content: | | |
e7f82d74 JR |
586 | LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib |
587 | PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig | |
16844a6d | 588 | arch=amd64 |
556e87cc JR |
589 | conf=std |
590 | build=std | |
591 | - shell: | | |
e7f82d74 JR |
592 | wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz |
593 | tar xvf glib-2.28.6.tar.gz | |
594 | cd glib-2.28.6 | |
556e87cc | 595 | mkdir BUILD_RESULT |
e7f82d74 | 596 | ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT |
556e87cc JR |
597 | make -j `nproc` |
598 | make install | |
599 | ||
600 | - shell: | |
601 | !include-raw-escape: scripts/babeltrace/build.sh | |
602 | ||
603 | - job-template: | |
e7f82d74 | 604 | name: babeltrace_{version}_glib-2.28.6 |
556e87cc JR |
605 | triggers: |
606 | - pollscm: | |
607 | cron: "@daily" | |
e7f82d74 | 608 | <<: *babeltrace_version_glib-2-28-6_anchor |
499a96d0 | 609 | publishers: |
9d56171a MJ |
610 | - archive: |
611 | artifacts: 'tap/**' | |
612 | allow-empty: false | |
499a96d0 JR |
613 | - email-ext: |
614 | recipients: '{obj:email_to}' | |
615 | reply-to: ci-notification@lists.lttng.org | |
616 | always: false | |
617 | unstable: false | |
618 | first-failure: true | |
619 | first-unstable: true | |
620 | not-built: false | |
621 | aborted: false | |
622 | regression: false | |
623 | failure: false | |
624 | second-failure: false | |
625 | improvement: false | |
626 | still-failing: false | |
627 | success: false | |
628 | fixed: false | |
629 | fixed-unhealthy: true | |
630 | still-unstable: false | |
631 | pre-build: false | |
632 | matrix-trigger: only-parent | |
633 | send-to: | |
634 | - recipients | |
556e87cc JR |
635 | |
636 | - job-template: | |
e7f82d74 JR |
637 | name: dev_{user}_babeltrace_{version}_glib-2.28.6 |
638 | <<: *babeltrace_version_glib-2-28-6_anchor | |
890bff23 | 639 | |
499a96d0 JR |
640 | publishers: |
641 | - email-ext: | |
642 | recipients: '{obj:email_to}' | |
643 | reply-to: ci-notification@lists.lttng.org | |
644 | always: false | |
645 | unstable: false | |
646 | first-failure: true | |
647 | first-unstable: true | |
648 | not-built: false | |
649 | aborted: false | |
650 | regression: false | |
651 | failure: false | |
652 | second-failure: false | |
653 | improvement: false | |
654 | still-failing: false | |
655 | success: false | |
656 | fixed: false | |
657 | fixed-unhealthy: true | |
658 | still-unstable: false | |
659 | pre-build: false | |
660 | matrix-trigger: only-parent | |
661 | send-to: | |
662 | - recipients | |
b9c55ae7 | 663 | |
07dafe32 MJ |
664 | |
665 | ## Views | |
666 | - view-template: | |
667 | name: 'Babeltrace' | |
668 | view-type: list | |
669 | regex: 'babeltrace[-_].*' | |
670 | ||
671 | ||
672 | ## Projects | |
890bff23 | 673 | - project: |
624c5a25 | 674 | name: babeltrace1 |
4f827afb JR |
675 | github_user: efficios |
676 | github_name: babeltrace | |
499a96d0 | 677 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' |
890bff23 | 678 | version: |
9eb09611 | 679 | - stable-1.5 |
890bff23 | 680 | jobs: |
57ae8ff4 MJ |
681 | - 'babeltrace_{version}_{buildtype}': |
682 | buildtype: build | |
16844a6d | 683 | arch: !!python/tuple [amd64] |
b8475d72 | 684 | build: !!python/tuple [std, oot, dist, oot-dist] |
87e41bca | 685 | conf: !!python/tuple [std, static, python-bindings] |
57ae8ff4 MJ |
686 | - 'babeltrace_{version}_{buildtype}': |
687 | buildtype: portbuild | |
16844a6d | 688 | arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] |
9d0846f3 | 689 | build: !!python/tuple [std] |
624c5a25 | 690 | conf: !!python/tuple [std, python-bindings] |
81bf613d MJ |
691 | - 'babeltrace_{version}_{buildtype}': |
692 | buildtype: slesbuild | |
693 | arch: !!python/tuple [sles12sp2] | |
694 | build: !!python/tuple [std] | |
695 | conf: !!python/tuple [std] | |
568b5cbd MJ |
696 | - 'babeltrace_{version}_{buildtype}': |
697 | buildtype: elbuild | |
698 | arch: !!python/tuple [el8] | |
699 | build: !!python/tuple [std] | |
700 | conf: !!python/tuple [std] | |
87e41bca MJ |
701 | - 'babeltrace_{version}_{buildtype}': |
702 | buildtype: solarisbuild | |
a0b535b2 | 703 | arch: !!python/tuple [sol10-i386, sol11-i386] |
87e41bca MJ |
704 | build: !!python/tuple [std] |
705 | conf: !!python/tuple [std, static] | |
221450b6 MJ |
706 | - 'babeltrace_{version}_{buildtype}': |
707 | buildtype: macosxbuild | |
708 | arch: !!python/tuple [macosx] | |
709 | build: !!python/tuple [std] | |
6a4bf062 | 710 | conf: !!python/tuple [std] |
6476f917 MJ |
711 | - 'babeltrace_{version}_{cctype}': |
712 | cctype: clangbuild | |
713 | arch: !!python/tuple [amd64] | |
714 | build: !!python/tuple [std] | |
715 | conf: !!python/tuple [std, static] | |
716 | cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] | |
8f541678 | 717 | - 'babeltrace_{version}_winbuild': |
cefcd7f8 | 718 | arch: !!python/tuple [cygwin64] |
8f541678 MJ |
719 | build: !!python/tuple [std] |
720 | conf: !!python/tuple [std] | |
8abe9f8a MJ |
721 | - 'babeltrace_{version}_release': |
722 | version: v1.5 | |
624c5a25 MJ |
723 | - 'babeltrace_{version}_cppcheck' |
724 | - 'babeltrace_{version}_scan-build' | |
624c5a25 MJ |
725 | |
726 | - project: | |
727 | name: babeltrace2 | |
728 | github_user: efficios | |
729 | github_name: babeltrace | |
730 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
731 | version: | |
732 | - stable-2.0 | |
733 | - master | |
734 | jobs: | |
735 | - 'babeltrace_{version}_{buildtype}': | |
736 | buildtype: build | |
737 | arch: !!python/tuple [amd64] | |
b8475d72 | 738 | build: !!python/tuple [std, oot, dist, oot-dist] |
0d30552d | 739 | conf: !!python/tuple [std, static, prod, min] |
624c5a25 MJ |
740 | - 'babeltrace_{version}_{buildtype}': |
741 | buildtype: portbuild | |
742 | arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] | |
743 | build: !!python/tuple [std] | |
0d30552d | 744 | conf: !!python/tuple [std, prod] |
624c5a25 MJ |
745 | - 'babeltrace_{version}_{buildtype}': |
746 | buildtype: slesbuild | |
747 | arch: !!python/tuple [sles12sp2] | |
748 | build: !!python/tuple [std] | |
0d30552d | 749 | conf: !!python/tuple [std, prod] |
568b5cbd MJ |
750 | - 'babeltrace_{version}_{buildtype}': |
751 | buildtype: elbuild | |
752 | arch: !!python/tuple [el8] | |
753 | build: !!python/tuple [std] | |
754 | conf: !!python/tuple [std, prod] | |
624c5a25 MJ |
755 | - 'babeltrace_{version}_{buildtype}': |
756 | buildtype: macosxbuild | |
757 | arch: !!python/tuple [macosx] | |
758 | build: !!python/tuple [std] | |
0d30552d | 759 | conf: !!python/tuple [std, prod] |
624c5a25 MJ |
760 | - 'babeltrace_{version}_{cctype}': |
761 | cctype: clangbuild | |
762 | arch: !!python/tuple [amd64] | |
763 | build: !!python/tuple [std] | |
0d30552d | 764 | conf: !!python/tuple [std, static, prod] |
624c5a25 | 765 | cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] |
b9c55ae7 | 766 | - 'babeltrace_{version}_winbuild': |
cefcd7f8 | 767 | arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64] |
b9c55ae7 MJ |
768 | build: !!python/tuple [std] |
769 | conf: !!python/tuple [std] | |
8abe9f8a MJ |
770 | - 'babeltrace_{version}_release': |
771 | version: v2.0 | |
890bff23 MJ |
772 | - 'babeltrace_{version}_cppcheck' |
773 | - 'babeltrace_{version}_scan-build' | |
774 | - 'babeltrace_{version}_pylint' | |
6cf22a3a MJ |
775 | - 'babeltrace_{version}_coverity': |
776 | version: master | |
e7f82d74 | 777 | - 'babeltrace_{version}_glib-2.28.6': |
556e87cc | 778 | version: master |
a0b535b2 | 779 | |
07dafe32 MJ |
780 | - project: |
781 | name: gerrit-babeltrace | |
782 | github_user: efficios | |
783 | github_name: babeltrace | |
784 | jobs: | |
785 | - 'dev_gerrit_babeltrace_{buildtype}': | |
786 | buildtype: build | |
787 | arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386] | |
788 | build: !!python/tuple [std, oot, dist, oot-dist] | |
789 | conf: !!python/tuple [std, static, prod, min] | |
9fd34023 MJ |
790 | filter: '(build=="std" && conf=="std") || (arch=="amd64")' |
791 | - 'dev_gerrit_babeltrace_{buildtype}': | |
792 | buildtype: macosxbuild | |
793 | arch: !!python/tuple [macosx] | |
794 | build: !!python/tuple [std] | |
795 | conf: !!python/tuple [std, prod] | |
796 | filter: '' | |
5d26e468 MJ |
797 | - 'dev_gerrit_babeltrace_winbuild': |
798 | arch: !!python/tuple [cygwin64, msys2-mingw64] | |
799 | build: !!python/tuple [std] | |
800 | conf: !!python/tuple [std] | |
af11423c | 801 | - 'dev_gerrit_babeltrace_pylint' |
07dafe32 MJ |
802 | |
803 | ||
a0b535b2 MJ |
804 | - project: |
805 | name: babeltrace-jgalar-staging | |
806 | user: jgalar | |
807 | github_user: jgalar | |
808 | github_name: babeltrace | |
499a96d0 | 809 | email_to: "jgalar@efficios.com" |
a0b535b2 | 810 | version: |
a0b535b2 | 811 | - stable-1.5-staging |
a0b535b2 | 812 | jobs: |
4f827afb | 813 | - 'dev_{user}_babeltrace_{version}_{buildtype}': |
4f827afb | 814 | buildtype: build |
16844a6d | 815 | arch: !!python/tuple [amd64] |
b8475d72 | 816 | build: !!python/tuple [std, oot, dist, oot-dist] |
4f827afb | 817 | conf: !!python/tuple [std, static, python-bindings] |
4b9bec35 | 818 | - 'dev_{user}_babeltrace_{version}_{buildtype}': |
4b9bec35 | 819 | buildtype: macosxbuild |
4b9bec35 MJ |
820 | arch: !!python/tuple [macosx] |
821 | build: !!python/tuple [std] | |
822 | conf: !!python/tuple [std] | |
890bff23 | 823 | |
c871b3d3 MJ |
824 | |
825 | - project: | |
07dafe32 MJ |
826 | name: babeltrace2-jgalar-staging |
827 | user: jgalar | |
828 | github_user: jgalar | |
c871b3d3 | 829 | github_name: babeltrace |
07dafe32 MJ |
830 | email_to: "jgalar@efficios.com" |
831 | version: | |
832 | - stable-2.0-staging | |
833 | - master-staging | |
c871b3d3 | 834 | jobs: |
e7f82d74 | 835 | - 'dev_{user}_babeltrace_{version}_glib-2.28.6': |
07dafe32 MJ |
836 | version: |
837 | - master-staging | |
838 | - 'dev_{user}_babeltrace_{version}_{buildtype}': | |
c871b3d3 | 839 | buildtype: build |
07dafe32 | 840 | arch: !!python/tuple [amd64] |
b8475d72 MJ |
841 | build: !!python/tuple [std, oot, dist, oot-dist] |
842 | conf: !!python/tuple [std, static, prod, min] | |
07dafe32 MJ |
843 | - 'dev_{user}_babeltrace_{version}_{buildtype}': |
844 | buildtype: macosxbuild | |
845 | arch: !!python/tuple [macosx] | |
846 | build: !!python/tuple [std] | |
847 | conf: !!python/tuple [std, prod] | |
848 | ||
849 | - project: | |
850 | name: babeltrace-views | |
851 | views: | |
852 | - Babeltrace |