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