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: | |
4f827afb | 30 | url: git://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: '**' | |
309 | trigger-for-unreviewed-patches: true | |
310 | ||
e1875e59 MJ |
311 | project-type: matrix |
312 | node: 'master' # Applies only to matrix flyweight task | |
313 | execution-strategy: | |
314 | combination-filter: | | |
9fd34023 | 315 | {filter} |
e1875e59 MJ |
316 | axes: |
317 | - axis: | |
318 | type: slave | |
319 | name: arch | |
320 | values: '{obj:arch}' | |
321 | - axis: | |
322 | type: user-defined | |
323 | name: conf | |
324 | values: '{obj:conf}' | |
325 | - axis: | |
326 | type: user-defined | |
327 | name: build | |
328 | values: '{obj:build}' | |
329 | ||
c871b3d3 MJ |
330 | <<: *babeltrace_build_builders_defaults |
331 | <<: *babeltrace_build_publishers_gerrit | |
332 | ||
333 | properties: | |
334 | - inject: | |
335 | properties-content: | | |
336 | PROJECT_NAME=babeltrace | |
337 | - build-discarder: | |
9fd34023 MJ |
338 | days-to-keep: 1 |
339 | - throttle: | |
340 | option: 'category' | |
341 | categories: | |
6c7048dc | 342 | - 'gerrit-{buildtype}' |
c871b3d3 | 343 | |
5d26e468 MJ |
344 | - job-template: |
345 | name: dev_gerrit_babeltrace_winbuild | |
346 | defaults: babeltrace | |
347 | concurrent: true | |
348 | ||
349 | scm: | |
350 | - git: | |
351 | url: https://review.lttng.org/babeltrace | |
352 | refspec: 'refs/changes/*:refs/changes/*' | |
353 | branches: | |
354 | - '$GERRIT_REFSPEC' | |
355 | basedir: src/babeltrace | |
356 | skip-tag: true | |
357 | ||
358 | triggers: | |
359 | - gerrit: | |
360 | trigger-on: | |
361 | - comment-added-event: | |
362 | approval-category: 'CI-Build' | |
363 | approval-value: 1 | |
364 | projects: | |
365 | - project-compare-type: 'PLAIN' | |
366 | project-pattern: 'babeltrace' | |
367 | branches: | |
368 | - branch-compare-type: 'ANT' | |
369 | branch-pattern: '**' | |
370 | trigger-for-unreviewed-patches: true | |
371 | ||
372 | properties: | |
373 | - inject: | |
374 | properties-content: | | |
375 | PROJECT_NAME=babeltrace | |
376 | - build-discarder: | |
377 | days-to-keep: 1 | |
378 | - throttle: | |
379 | option: 'category' | |
380 | categories: | |
6c7048dc | 381 | - 'gerrit-winbuild' |
5d26e468 MJ |
382 | |
383 | <<: *babeltrace_build_axes_defaults | |
384 | <<: *babeltrace_build_builders_win | |
385 | <<: *babeltrace_build_publishers_gerrit | |
386 | ||
8abe9f8a MJ |
387 | - job-template: |
388 | name: babeltrace_{version}_release | |
389 | defaults: babeltrace | |
390 | node: 'amd64' | |
391 | ||
392 | triggers: | |
393 | - pollscm: | |
394 | cron: "@daily" | |
395 | ||
396 | scm: | |
397 | - git: | |
398 | url: git://github.com/{github_user}/{github_name}.git | |
399 | browser: githubweb | |
400 | browser-url: https://github.com/{github_user}/{github_name} | |
401 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' | |
402 | branches: | |
403 | - '*/tags/{version}.*' | |
404 | basedir: src/babeltrace | |
405 | ||
406 | builders: | |
407 | - shell: | |
408 | !include-raw-escape: scripts/babeltrace/release.sh | |
409 | ||
410 | publishers: | |
411 | - tap: | |
412 | results: 'tap/**/*.log' | |
413 | fail-if-no-results: true | |
414 | failed-tests-mark-build-as-failure: true | |
415 | todo-is-failure: false | |
416 | - warnings: | |
417 | console-log-parsers: | |
418 | - 'GNU Make + GNU C Compiler (gcc)' | |
419 | total-thresholds: | |
420 | unstable: | |
421 | total-all: 0 | |
422 | total-high: 0 | |
423 | total-normal: 0 | |
424 | total-low: 0 | |
425 | - workspace-cleanup: | |
426 | clean-if: | |
427 | - failure: false | |
428 | - archive: | |
429 | artifacts: 'out/**,tap/**' | |
430 | allow-empty: false | |
431 | ||
07fd33e1 | 432 | - job-template: |
af11423c | 433 | name: dev_gerrit_babeltrace_pylint |
07fd33e1 MJ |
434 | defaults: babeltrace |
435 | concurrent: true | |
436 | ||
437 | scm: | |
438 | - git: | |
439 | url: https://review.lttng.org/babeltrace | |
440 | refspec: 'refs/changes/*:refs/changes/*' | |
441 | branches: | |
442 | - '$GERRIT_REFSPEC' | |
443 | basedir: src/babeltrace | |
444 | skip-tag: true | |
445 | ||
446 | triggers: | |
447 | - gerrit: | |
448 | trigger-on: | |
449 | - comment-added-event: | |
450 | approval-category: 'CI-Build' | |
451 | approval-value: 1 | |
452 | projects: | |
453 | - project-compare-type: 'PLAIN' | |
454 | project-pattern: 'babeltrace' | |
455 | branches: | |
456 | - branch-compare-type: 'ANT' | |
457 | branch-pattern: '**' | |
458 | trigger-for-unreviewed-patches: true | |
459 | ||
460 | node: 'amd64' | |
461 | ||
462 | builders: | |
463 | - shell: | |
af11423c | 464 | !include-raw-escape: scripts/babeltrace/pylint.sh |
07fd33e1 MJ |
465 | |
466 | properties: | |
467 | - inject: | |
468 | properties-content: | | |
469 | PROJECT_NAME=babeltrace | |
470 | - build-discarder: | |
471 | days-to-keep: 1 | |
07fd33e1 | 472 | |
890bff23 MJ |
473 | - job-template: |
474 | name: babeltrace_{version}_cppcheck | |
475 | defaults: babeltrace | |
476 | ||
477 | triggers: | |
6cf22a3a MJ |
478 | - pollscm: |
479 | cron: "@daily" | |
890bff23 MJ |
480 | |
481 | builders: | |
482 | - shell: | | |
5279b0f2 MJ |
483 | rm -f cppcheck-result.xml |
484 | cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml | |
890bff23 MJ |
485 | |
486 | publishers: | |
487 | - archive: | |
5279b0f2 | 488 | artifacts: 'cppcheck-result.xml' |
890bff23 | 489 | allow-empty: false |
890bff23 | 490 | - cppcheck: |
5279b0f2 | 491 | pattern: 'cppcheck-result.xml' |
890bff23 MJ |
492 | |
493 | - job-template: | |
494 | name: babeltrace_{version}_scan-build | |
495 | defaults: babeltrace | |
16844a6d | 496 | node: 'amd64' |
890bff23 MJ |
497 | |
498 | triggers: | |
6cf22a3a MJ |
499 | - pollscm: |
500 | cron: "@daily" | |
890bff23 MJ |
501 | |
502 | builders: | |
503 | - shell: | |
69f05d59 | 504 | !include-raw-escape: scripts/common/scan-build.sh |
890bff23 MJ |
505 | |
506 | publishers: | |
507 | - html-publisher: | |
508 | name: 'HTML Report' | |
509 | dir: 'scan-build-archive/' | |
510 | files: 'index.html' | |
511 | ||
6cf22a3a MJ |
512 | - job-template: |
513 | name: babeltrace_{version}_coverity | |
514 | defaults: babeltrace | |
16844a6d | 515 | node: 'amd64' |
6cf22a3a MJ |
516 | |
517 | triggers: | |
518 | - pollscm: | |
519 | cron: "@daily" | |
520 | ||
521 | wrappers: | |
522 | - workspace-cleanup | |
523 | - timestamps | |
524 | - ansicolor: | |
525 | colormap: xterm | |
526 | - credentials-binding: | |
527 | - username-password-separated: | |
528 | credential-id: babeltrace_coverity_token | |
529 | username: COVERITY_SCAN_PROJECT_NAME | |
530 | password: COVERITY_SCAN_TOKEN | |
531 | builders: | |
532 | - shell: | |
ef63064f | 533 | !include-raw-escape: scripts/common/coverity.sh |
6cf22a3a MJ |
534 | |
535 | publishers: | |
536 | - workspace-cleanup | |
73778992 MJ |
537 | - archive: |
538 | artifacts: 'analysis-results.tgz,cov-int/**' | |
539 | allow-empty: false | |
890bff23 MJ |
540 | |
541 | - job-template: | |
542 | name: babeltrace_{version}_pylint | |
543 | defaults: babeltrace | |
16844a6d | 544 | node: 'amd64' |
890bff23 | 545 | |
890bff23 | 546 | triggers: |
6cf22a3a MJ |
547 | - pollscm: |
548 | cron: "@daily" | |
890bff23 MJ |
549 | |
550 | builders: | |
890bff23 | 551 | - shell: |
ef63064f | 552 | !include-raw-escape: scripts/babeltrace/pylint.sh |
890bff23 MJ |
553 | |
554 | publishers: | |
555 | - archive: | |
af11423c | 556 | artifacts: 'black.out,flake8.out' |
499a96d0 JR |
557 | - email-ext: |
558 | recipients: '{obj:email_to}' | |
559 | reply-to: ci-notification@lists.lttng.org | |
560 | always: false | |
561 | unstable: false | |
562 | first-failure: true | |
563 | first-unstable: true | |
564 | not-built: false | |
565 | aborted: false | |
566 | regression: false | |
567 | failure: false | |
568 | second-failure: false | |
569 | improvement: false | |
570 | still-failing: false | |
571 | success: false | |
572 | fixed: false | |
573 | fixed-unhealthy: true | |
574 | still-unstable: false | |
575 | pre-build: false | |
576 | matrix-trigger: only-parent | |
577 | send-to: | |
578 | - recipients | |
890bff23 | 579 | |
556e87cc | 580 | # Use - in version number since yaml anchor do not support dot |
e7f82d74 | 581 | - babeltrace_version_glib-2-28-6_anchor: &babeltrace_version_glib-2-28-6_anchor |
556e87cc JR |
582 | name: 'babeltrace_version_glib_anchor' |
583 | defaults: babeltrace | |
16844a6d | 584 | node: 'amd64' |
556e87cc JR |
585 | |
586 | builders: | |
587 | - inject: | |
588 | properties-content: | | |
e7f82d74 JR |
589 | LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib |
590 | PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig | |
16844a6d | 591 | arch=amd64 |
556e87cc JR |
592 | conf=std |
593 | build=std | |
594 | - shell: | | |
e7f82d74 JR |
595 | wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz |
596 | tar xvf glib-2.28.6.tar.gz | |
597 | cd glib-2.28.6 | |
556e87cc | 598 | mkdir BUILD_RESULT |
e7f82d74 | 599 | ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT |
556e87cc JR |
600 | make -j `nproc` |
601 | make install | |
602 | ||
603 | - shell: | |
604 | !include-raw-escape: scripts/babeltrace/build.sh | |
605 | ||
606 | - job-template: | |
e7f82d74 | 607 | name: babeltrace_{version}_glib-2.28.6 |
556e87cc JR |
608 | triggers: |
609 | - pollscm: | |
610 | cron: "@daily" | |
e7f82d74 | 611 | <<: *babeltrace_version_glib-2-28-6_anchor |
499a96d0 | 612 | publishers: |
9d56171a MJ |
613 | - archive: |
614 | artifacts: 'tap/**' | |
615 | allow-empty: false | |
499a96d0 JR |
616 | - email-ext: |
617 | recipients: '{obj:email_to}' | |
618 | reply-to: ci-notification@lists.lttng.org | |
619 | always: false | |
620 | unstable: false | |
621 | first-failure: true | |
622 | first-unstable: true | |
623 | not-built: false | |
624 | aborted: false | |
625 | regression: false | |
626 | failure: false | |
627 | second-failure: false | |
628 | improvement: false | |
629 | still-failing: false | |
630 | success: false | |
631 | fixed: false | |
632 | fixed-unhealthy: true | |
633 | still-unstable: false | |
634 | pre-build: false | |
635 | matrix-trigger: only-parent | |
636 | send-to: | |
637 | - recipients | |
556e87cc JR |
638 | |
639 | - job-template: | |
e7f82d74 JR |
640 | name: dev_{user}_babeltrace_{version}_glib-2.28.6 |
641 | <<: *babeltrace_version_glib-2-28-6_anchor | |
890bff23 | 642 | |
499a96d0 JR |
643 | publishers: |
644 | - email-ext: | |
645 | recipients: '{obj:email_to}' | |
646 | reply-to: ci-notification@lists.lttng.org | |
647 | always: false | |
648 | unstable: false | |
649 | first-failure: true | |
650 | first-unstable: true | |
651 | not-built: false | |
652 | aborted: false | |
653 | regression: false | |
654 | failure: false | |
655 | second-failure: false | |
656 | improvement: false | |
657 | still-failing: false | |
658 | success: false | |
659 | fixed: false | |
660 | fixed-unhealthy: true | |
661 | still-unstable: false | |
662 | pre-build: false | |
663 | matrix-trigger: only-parent | |
664 | send-to: | |
665 | - recipients | |
b9c55ae7 | 666 | |
07dafe32 MJ |
667 | |
668 | ## Views | |
669 | - view-template: | |
670 | name: 'Babeltrace' | |
671 | view-type: list | |
672 | regex: 'babeltrace[-_].*' | |
673 | ||
674 | ||
675 | ## Projects | |
890bff23 | 676 | - project: |
624c5a25 | 677 | name: babeltrace1 |
4f827afb JR |
678 | github_user: efficios |
679 | github_name: babeltrace | |
499a96d0 | 680 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' |
890bff23 | 681 | version: |
9eb09611 | 682 | - stable-1.5 |
890bff23 | 683 | jobs: |
57ae8ff4 MJ |
684 | - 'babeltrace_{version}_{buildtype}': |
685 | buildtype: build | |
16844a6d | 686 | arch: !!python/tuple [amd64] |
b8475d72 | 687 | build: !!python/tuple [std, oot, dist, oot-dist] |
87e41bca | 688 | conf: !!python/tuple [std, static, python-bindings] |
57ae8ff4 MJ |
689 | - 'babeltrace_{version}_{buildtype}': |
690 | buildtype: portbuild | |
16844a6d | 691 | arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] |
9d0846f3 | 692 | build: !!python/tuple [std] |
624c5a25 | 693 | conf: !!python/tuple [std, python-bindings] |
81bf613d MJ |
694 | - 'babeltrace_{version}_{buildtype}': |
695 | buildtype: slesbuild | |
696 | arch: !!python/tuple [sles12sp2] | |
697 | build: !!python/tuple [std] | |
698 | conf: !!python/tuple [std] | |
568b5cbd MJ |
699 | - 'babeltrace_{version}_{buildtype}': |
700 | buildtype: elbuild | |
701 | arch: !!python/tuple [el8] | |
702 | build: !!python/tuple [std] | |
703 | conf: !!python/tuple [std] | |
87e41bca MJ |
704 | - 'babeltrace_{version}_{buildtype}': |
705 | buildtype: solarisbuild | |
a0b535b2 | 706 | arch: !!python/tuple [sol10-i386, sol11-i386] |
87e41bca MJ |
707 | build: !!python/tuple [std] |
708 | conf: !!python/tuple [std, static] | |
221450b6 MJ |
709 | - 'babeltrace_{version}_{buildtype}': |
710 | buildtype: macosxbuild | |
711 | arch: !!python/tuple [macosx] | |
712 | build: !!python/tuple [std] | |
6a4bf062 | 713 | conf: !!python/tuple [std] |
6476f917 MJ |
714 | - 'babeltrace_{version}_{cctype}': |
715 | cctype: clangbuild | |
716 | arch: !!python/tuple [amd64] | |
717 | build: !!python/tuple [std] | |
718 | conf: !!python/tuple [std, static] | |
719 | cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] | |
8f541678 | 720 | - 'babeltrace_{version}_winbuild': |
cefcd7f8 | 721 | arch: !!python/tuple [cygwin64] |
8f541678 MJ |
722 | build: !!python/tuple [std] |
723 | conf: !!python/tuple [std] | |
8abe9f8a MJ |
724 | - 'babeltrace_{version}_release': |
725 | version: v1.5 | |
624c5a25 MJ |
726 | - 'babeltrace_{version}_cppcheck' |
727 | - 'babeltrace_{version}_scan-build' | |
624c5a25 MJ |
728 | |
729 | - project: | |
730 | name: babeltrace2 | |
731 | github_user: efficios | |
732 | github_name: babeltrace | |
733 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
734 | version: | |
735 | - stable-2.0 | |
736 | - master | |
737 | jobs: | |
738 | - 'babeltrace_{version}_{buildtype}': | |
739 | buildtype: build | |
740 | arch: !!python/tuple [amd64] | |
b8475d72 | 741 | build: !!python/tuple [std, oot, dist, oot-dist] |
0d30552d | 742 | conf: !!python/tuple [std, static, prod, min] |
624c5a25 MJ |
743 | - 'babeltrace_{version}_{buildtype}': |
744 | buildtype: portbuild | |
745 | arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] | |
746 | build: !!python/tuple [std] | |
0d30552d | 747 | conf: !!python/tuple [std, prod] |
624c5a25 MJ |
748 | - 'babeltrace_{version}_{buildtype}': |
749 | buildtype: slesbuild | |
750 | arch: !!python/tuple [sles12sp2] | |
751 | build: !!python/tuple [std] | |
0d30552d | 752 | conf: !!python/tuple [std, prod] |
568b5cbd MJ |
753 | - 'babeltrace_{version}_{buildtype}': |
754 | buildtype: elbuild | |
755 | arch: !!python/tuple [el8] | |
756 | build: !!python/tuple [std] | |
757 | conf: !!python/tuple [std, prod] | |
624c5a25 MJ |
758 | - 'babeltrace_{version}_{buildtype}': |
759 | buildtype: macosxbuild | |
760 | arch: !!python/tuple [macosx] | |
761 | build: !!python/tuple [std] | |
0d30552d | 762 | conf: !!python/tuple [std, prod] |
624c5a25 MJ |
763 | - 'babeltrace_{version}_{cctype}': |
764 | cctype: clangbuild | |
765 | arch: !!python/tuple [amd64] | |
766 | build: !!python/tuple [std] | |
0d30552d | 767 | conf: !!python/tuple [std, static, prod] |
624c5a25 | 768 | cc: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] |
b9c55ae7 | 769 | - 'babeltrace_{version}_winbuild': |
cefcd7f8 | 770 | arch: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64] |
b9c55ae7 MJ |
771 | build: !!python/tuple [std] |
772 | conf: !!python/tuple [std] | |
8abe9f8a MJ |
773 | - 'babeltrace_{version}_release': |
774 | version: v2.0 | |
890bff23 MJ |
775 | - 'babeltrace_{version}_cppcheck' |
776 | - 'babeltrace_{version}_scan-build' | |
777 | - 'babeltrace_{version}_pylint' | |
6cf22a3a MJ |
778 | - 'babeltrace_{version}_coverity': |
779 | version: master | |
e7f82d74 | 780 | - 'babeltrace_{version}_glib-2.28.6': |
556e87cc | 781 | version: master |
a0b535b2 | 782 | |
07dafe32 MJ |
783 | - project: |
784 | name: gerrit-babeltrace | |
785 | github_user: efficios | |
786 | github_name: babeltrace | |
787 | jobs: | |
788 | - 'dev_gerrit_babeltrace_{buildtype}': | |
789 | buildtype: build | |
790 | arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386] | |
791 | build: !!python/tuple [std, oot, dist, oot-dist] | |
792 | conf: !!python/tuple [std, static, prod, min] | |
9fd34023 MJ |
793 | filter: '(build=="std" && conf=="std") || (arch=="amd64")' |
794 | - 'dev_gerrit_babeltrace_{buildtype}': | |
795 | buildtype: macosxbuild | |
796 | arch: !!python/tuple [macosx] | |
797 | build: !!python/tuple [std] | |
798 | conf: !!python/tuple [std, prod] | |
799 | filter: '' | |
5d26e468 MJ |
800 | - 'dev_gerrit_babeltrace_winbuild': |
801 | arch: !!python/tuple [cygwin64, msys2-mingw64] | |
802 | build: !!python/tuple [std] | |
803 | conf: !!python/tuple [std] | |
af11423c | 804 | - 'dev_gerrit_babeltrace_pylint' |
07dafe32 MJ |
805 | |
806 | ||
a0b535b2 MJ |
807 | - project: |
808 | name: babeltrace-jgalar-staging | |
809 | user: jgalar | |
810 | github_user: jgalar | |
811 | github_name: babeltrace | |
499a96d0 | 812 | email_to: "jgalar@efficios.com" |
a0b535b2 | 813 | version: |
a0b535b2 | 814 | - stable-1.5-staging |
a0b535b2 | 815 | jobs: |
4f827afb | 816 | - 'dev_{user}_babeltrace_{version}_{buildtype}': |
4f827afb | 817 | buildtype: build |
16844a6d | 818 | arch: !!python/tuple [amd64] |
b8475d72 | 819 | build: !!python/tuple [std, oot, dist, oot-dist] |
4f827afb | 820 | conf: !!python/tuple [std, static, python-bindings] |
4b9bec35 | 821 | - 'dev_{user}_babeltrace_{version}_{buildtype}': |
4b9bec35 | 822 | buildtype: macosxbuild |
4b9bec35 MJ |
823 | arch: !!python/tuple [macosx] |
824 | build: !!python/tuple [std] | |
825 | conf: !!python/tuple [std] | |
890bff23 | 826 | |
c871b3d3 MJ |
827 | |
828 | - project: | |
07dafe32 MJ |
829 | name: babeltrace2-jgalar-staging |
830 | user: jgalar | |
831 | github_user: jgalar | |
c871b3d3 | 832 | github_name: babeltrace |
07dafe32 MJ |
833 | email_to: "jgalar@efficios.com" |
834 | version: | |
835 | - stable-2.0-staging | |
836 | - master-staging | |
c871b3d3 | 837 | jobs: |
e7f82d74 | 838 | - 'dev_{user}_babeltrace_{version}_glib-2.28.6': |
07dafe32 MJ |
839 | version: |
840 | - master-staging | |
841 | - 'dev_{user}_babeltrace_{version}_{buildtype}': | |
c871b3d3 | 842 | buildtype: build |
07dafe32 | 843 | arch: !!python/tuple [amd64] |
b8475d72 MJ |
844 | build: !!python/tuple [std, oot, dist, oot-dist] |
845 | conf: !!python/tuple [std, static, prod, min] | |
07dafe32 MJ |
846 | - 'dev_{user}_babeltrace_{version}_{buildtype}': |
847 | buildtype: macosxbuild | |
848 | arch: !!python/tuple [macosx] | |
849 | build: !!python/tuple [std] | |
850 | conf: !!python/tuple [std, prod] | |
851 | ||
852 | - project: | |
853 | name: babeltrace-views | |
854 | views: | |
855 | - Babeltrace |