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: |
0f505d21 MJ |
18 | - ansicolor: &babeltrace_wrapper_ansicolor_defaults |
19 | colormap: xterm | |
20 | - timeout: &babeltrace_wrapper_timeout_defaults | |
733146f2 | 21 | timeout: 20 |
b9c55ae7 | 22 | fail: true |
733146f2 | 23 | type: no-activity |
0f505d21 | 24 | write-description: "<h1 style=\"color:red\">This build failed due to timeout.</h1>" |
890bff23 | 25 | - timestamps |
0f505d21 | 26 | - workspace-cleanup |
890bff23 MJ |
27 | |
28 | scm: | |
05939e86 | 29 | - git: &babeltrace_scm_git_default |
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 | 46 | - build-discarder: |
3b228cdd MJ |
47 | num-to-keep: 10 |
48 | artifact-num-to-keep: 2 | |
890bff23 | 49 | - github: |
4f827afb | 50 | url: https://github.com/{github_user}/{github_name} |
890bff23 MJ |
51 | |
52 | ||
b9c55ae7 | 53 | ## Anchors |
05939e86 | 54 | - job-template: &babeltrace_matrix_axes_defaults |
0f505d21 | 55 | name: 'babeltrace_matrix_axes_defaults' |
890bff23 | 56 | project-type: matrix |
ca8c6144 | 57 | node: 'master' # Applies only to matrix flyweight task |
0f505d21 MJ |
58 | execution-strategy: |
59 | combination-filter: '{filter}' | |
60 | touchstone: | |
61 | expr: '{touchstone}' | |
62 | result: unstable | |
890bff23 | 63 | axes: |
776b0d3d | 64 | - axis: &babeltrace_matrix_axis_platform |
890bff23 | 65 | type: slave |
776b0d3d MJ |
66 | name: platform |
67 | values: '{obj:platforms}' | |
086e5af5 | 68 | - axis: &babeltrace_matrix_axis_conf |
890bff23 MJ |
69 | type: user-defined |
70 | name: conf | |
0f505d21 | 71 | values: '{obj:confs}' |
086e5af5 | 72 | - axis: &babeltrace_matrix_axis_build |
890bff23 MJ |
73 | type: user-defined |
74 | name: build | |
0f505d21 MJ |
75 | values: '{obj:builds}' |
76 | ||
05939e86 | 77 | - job-template: &babeltrace_matrix_axes_cc |
0f505d21 MJ |
78 | name: 'babeltrace_matrix_axes_cc' |
79 | ||
80 | <<: *babeltrace_matrix_axes_defaults | |
890bff23 | 81 | |
6476f917 | 82 | axes: |
776b0d3d | 83 | - axis: *babeltrace_matrix_axis_platform |
086e5af5 MJ |
84 | - axis: *babeltrace_matrix_axis_conf |
85 | - axis: *babeltrace_matrix_axis_build | |
86 | - axis: &babeltrace_matrix_axis_cc | |
6476f917 MJ |
87 | type: user-defined |
88 | name: cc | |
0f505d21 | 89 | values: '{obj:ccs}' |
6476f917 | 90 | |
05939e86 | 91 | - job-template: &babeltrace_builders_defaults |
0f505d21 | 92 | name: 'babeltrace_builders_defaults' |
b9c55ae7 | 93 | builders: |
0f505d21 MJ |
94 | !j2-yaml: | |
95 | {% if buildtype is defined and buildtype == 'winbuild' %} | |
b9c55ae7 MJ |
96 | - conditional-step: |
97 | condition-kind: strings-match | |
98 | on-evaluation-failure: run | |
776b0d3d | 99 | condition-string1: {{ '${{platform}}' }} |
b9c55ae7 MJ |
100 | condition-string2: 'cygwin64' |
101 | steps: | |
102 | - shell: | |
103 | !include-raw-escape: | |
104 | - scripts/common/cygwin64-shebang | |
cefcd7f8 | 105 | - scripts/common/cygpath-prefix |
51c9c62d | 106 | - scripts/common/print.sh |
b9c55ae7 | 107 | - scripts/babeltrace/build.sh |
b9c55ae7 MJ |
108 | - conditional-step: |
109 | condition-kind: strings-match | |
110 | on-evaluation-failure: run | |
776b0d3d | 111 | condition-string1: {{ '${{platform}}' }} |
de4b8cd9 | 112 | condition-string2: 'msys2-ucrt64' |
b9c55ae7 MJ |
113 | steps: |
114 | - inject: | |
de4b8cd9 | 115 | properties-content: 'MSYSTEM=UCRT64' |
b9c55ae7 MJ |
116 | - shell: |
117 | !include-raw-escape: | |
8f541678 | 118 | - scripts/common/msys2-shebang |
cefcd7f8 | 119 | - scripts/common/cygpath-prefix |
51c9c62d | 120 | - scripts/common/print.sh |
b9c55ae7 | 121 | - scripts/babeltrace/build.sh |
0f505d21 MJ |
122 | {% else %} |
123 | - shell: | |
124 | !include-raw-escape: | |
125 | - scripts/common/print.sh | |
126 | - scripts/babeltrace/build.sh | |
127 | {% endif %} | |
b9c55ae7 | 128 | |
76f37297 | 129 | # Use - in version number since yaml anchor do not support dot |
05939e86 | 130 | - job-template: &babeltrace_builders_glib-2-28-6 |
0f505d21 | 131 | name: 'babeltrace_builders_glib-2-28-6' |
76f37297 MJ |
132 | builders: |
133 | - inject: | |
134 | properties-content: | | |
135 | LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib | |
136 | PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig | |
732698e9 | 137 | platform=deb12-amd64 |
76f37297 MJ |
138 | conf=std |
139 | build=std | |
140 | - shell: | | |
732698e9 MJ |
141 | curl -OL 'https://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz' |
142 | tar xf glib-2.28.6.tar.gz | |
76f37297 | 143 | cd glib-2.28.6 |
732698e9 | 144 | sed -i 's/sys\/types\.h/sys\/sysmacros\.h/' gio/gdbusmessage.c # Fix build failure with recent glibc |
76f37297 MJ |
145 | mkdir BUILD_RESULT |
146 | ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT | |
147 | make -j `nproc` >/dev/null 2>&1 # Hide warnings | |
148 | make install | |
149 | - shell: | |
150 | !include-raw-escape: | |
151 | - scripts/common/print.sh | |
152 | - scripts/babeltrace/build.sh | |
b9c55ae7 | 153 | |
05939e86 | 154 | - job-template: &babeltrace_publishers_defaults |
0f505d21 | 155 | name: 'babeltrace_publishers_defaults' |
b9c55ae7 | 156 | publishers: |
0f505d21 | 157 | - tap: &babeltrace_publisher_tap_defaults |
0efb2471 | 158 | results: 'tap/**/*.log' |
1d56e325 | 159 | fail-if-no-results: true |
0efb2471 | 160 | failed-tests-mark-build-as-failure: true |
4f04deeb MJ |
161 | include-comment-diagnostics: true |
162 | output-tap-to-console: false | |
0efb2471 | 163 | todo-is-failure: false |
0f505d21 MJ |
164 | - raw: &babeltrace_publisher_warnings-ng_defaults |
165 | xml: | | |
166 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
167 | <analysisTools> | |
168 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
169 | <id/> | |
170 | <name/> | |
171 | <jenkins plugin="plugin-util-api"/> | |
172 | <pattern/> | |
173 | <reportEncoding/> | |
174 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
175 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
0f505d21 MJ |
176 | </analysisTools> |
177 | <sourceCodeEncoding/> | |
178 | <sourceDirectory/> | |
179 | <sourceDirectories/> | |
180 | <ignoreQualityGate>false</ignoreQualityGate> | |
181 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
182 | <failOnError>false</failOnError> | |
183 | <healthy>0</healthy> | |
184 | <unhealthy>0</unhealthy> | |
185 | <minimumSeverity plugin="analysis-model-api"> | |
186 | <name>LOW</name> | |
187 | </minimumSeverity> | |
188 | <filters/> | |
189 | <isEnabledForFailure>true</isEnabledForFailure> | |
190 | <isAggregatingResults>true</isAggregatingResults> | |
191 | <isBlameDisabled>false</isBlameDisabled> | |
192 | <skipPublishingChecks>true</skipPublishingChecks> | |
193 | <publishAllIssues>false</publishAllIssues> | |
194 | <qualityGates> | |
195 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
196 | <threshold>1</threshold> | |
197 | <type>TOTAL</type> | |
198 | <status>WARNING</status> | |
199 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
200 | </qualityGates> | |
201 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
202 | <scm/> | |
203 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
204 | - archive: &babeltrace_publisher_archive_defaults | |
4174b905 | 205 | artifacts: 'build/**,tap/**,log/**' |
23f01bc3 | 206 | follow-symlinks: true |
890bff23 | 207 | allow-empty: false |
0f505d21 MJ |
208 | - workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults |
209 | clean-if: | |
210 | - failure: false | |
ee4b760a MJ |
211 | - ircbot: &babeltrace_publisher_ircbot_defaults |
212 | strategy: statechange-only | |
2abd3a64 MJ |
213 | message-type: summary |
214 | matrix-notifier: only-parent | |
0f505d21 | 215 | - email-ext: &babeltrace_publisher_email-ext_defaults |
499a96d0 JR |
216 | recipients: '{obj:email_to}' |
217 | reply-to: ci-notification@lists.lttng.org | |
218 | always: false | |
219 | unstable: false | |
220 | first-failure: true | |
221 | first-unstable: true | |
222 | not-built: false | |
223 | aborted: false | |
224 | regression: false | |
225 | failure: false | |
226 | second-failure: false | |
227 | improvement: false | |
228 | still-failing: false | |
229 | success: false | |
230 | fixed: false | |
231 | fixed-unhealthy: true | |
232 | still-unstable: false | |
233 | pre-build: false | |
234 | matrix-trigger: only-parent | |
235 | send-to: | |
236 | - recipients | |
890bff23 | 237 | |
05939e86 MJ |
238 | - job-template: &babeltrace_publishers_review |
239 | name: 'babeltrace_publishers_review' | |
c871b3d3 | 240 | publishers: |
0f505d21 | 241 | - tap: *babeltrace_publisher_tap_defaults |
8aef6eab MJ |
242 | # Fail job on any compiler warnings |
243 | - raw: | |
244 | xml: | | |
245 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
246 | <analysisTools> | |
247 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
248 | <id/> | |
249 | <name/> | |
250 | <jenkins plugin="plugin-util-api"/> | |
251 | <pattern/> | |
252 | <reportEncoding/> | |
253 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
254 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
8aef6eab MJ |
255 | </analysisTools> |
256 | <sourceCodeEncoding/> | |
257 | <sourceDirectory/> | |
258 | <sourceDirectories/> | |
259 | <ignoreQualityGate>false</ignoreQualityGate> | |
260 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
261 | <failOnError>false</failOnError> | |
262 | <healthy>0</healthy> | |
263 | <unhealthy>0</unhealthy> | |
264 | <minimumSeverity plugin="analysis-model-api"> | |
265 | <name>LOW</name> | |
266 | </minimumSeverity> | |
267 | <filters/> | |
268 | <isEnabledForFailure>true</isEnabledForFailure> | |
269 | <isAggregatingResults>true</isAggregatingResults> | |
270 | <isBlameDisabled>false</isBlameDisabled> | |
271 | <skipPublishingChecks>true</skipPublishingChecks> | |
272 | <publishAllIssues>false</publishAllIssues> | |
273 | <qualityGates> | |
274 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
275 | <threshold>1</threshold> | |
276 | <type>TOTAL</type> | |
1ad4c3d0 | 277 | <status>{warnings_status}</status> |
8aef6eab MJ |
278 | </io.jenkins.plugins.analysis.core.util.QualityGate> |
279 | </qualityGates> | |
280 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
281 | <scm/> | |
282 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
0f505d21 MJ |
283 | - archive: *babeltrace_publisher_archive_defaults |
284 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
c871b3d3 MJ |
285 | |
286 | ||
0f505d21 | 287 | ## Job Templates |
b9c55ae7 | 288 | |
c8071f5f MJ |
289 | - job-template: |
290 | name: '{job_prefix}babeltrace_{version}_{buildtype}' | |
291 | defaults: babeltrace | |
292 | ||
0f505d21 MJ |
293 | <<: *babeltrace_matrix_axes_defaults |
294 | <<: *babeltrace_builders_defaults | |
295 | <<: *babeltrace_publishers_defaults | |
c8071f5f | 296 | |
6476f917 MJ |
297 | - job-template: |
298 | name: babeltrace_{version}_{cctype} | |
299 | defaults: babeltrace | |
300 | ||
0f505d21 MJ |
301 | <<: *babeltrace_matrix_axes_cc |
302 | <<: *babeltrace_builders_defaults | |
303 | <<: *babeltrace_publishers_defaults | |
4f827afb | 304 | |
c871b3d3 | 305 | - job-template: |
05939e86 | 306 | name: 'dev_review_babeltrace_{version}_{buildtype}' |
c871b3d3 MJ |
307 | defaults: babeltrace |
308 | concurrent: true | |
309 | ||
310 | scm: | |
05939e86 | 311 | - git: &babeltrace_scm_git_review |
c871b3d3 MJ |
312 | url: https://review.lttng.org/babeltrace |
313 | refspec: 'refs/changes/*:refs/changes/*' | |
314 | branches: | |
315 | - '$GERRIT_REFSPEC' | |
316 | basedir: src/babeltrace | |
317 | skip-tag: true | |
318 | ||
319 | triggers: | |
05939e86 | 320 | - gerrit: &babeltrace_trigger_gerrit_defaults |
c871b3d3 MJ |
321 | trigger-on: |
322 | - comment-added-event: | |
323 | approval-category: 'CI-Build' | |
324 | approval-value: 1 | |
325 | projects: | |
326 | - project-compare-type: 'PLAIN' | |
327 | project-pattern: 'babeltrace' | |
328 | branches: | |
05939e86 MJ |
329 | - branch-compare-type: 'PLAIN' |
330 | branch-pattern: '{version}' | |
c871b3d3 | 331 | |
c871b3d3 MJ |
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 | |
0f505d21 MJ |
343 | <<: *babeltrace_matrix_axes_defaults |
344 | <<: *babeltrace_builders_defaults | |
05939e86 MJ |
345 | <<: *babeltrace_publishers_review |
346 | ||
347 | - job-template: | |
348 | name: 'dev_review_babeltrace_{version}_pylint' | |
349 | defaults: babeltrace | |
350 | concurrent: true | |
351 | ||
352 | scm: | |
353 | - git: *babeltrace_scm_git_review | |
354 | ||
355 | triggers: | |
356 | - gerrit: *babeltrace_trigger_gerrit_defaults | |
357 | ||
732698e9 | 358 | node: 'deb12-amd64' |
05939e86 MJ |
359 | |
360 | builders: | |
361 | - shell: | |
362 | !include-raw-escape: scripts/babeltrace/pylint.sh | |
363 | ||
364 | properties: | |
365 | - inject: | |
366 | properties-content: | | |
367 | PROJECT_NAME=babeltrace | |
368 | - build-discarder: | |
369 | days-to-keep: 1 | |
5d26e468 | 370 | |
d6d71fec MJ |
371 | publishers: |
372 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
373 | ||
374 | - job-template: | |
375 | name: 'dev_review_babeltrace_{version}_smokebuild' | |
376 | defaults: babeltrace | |
377 | concurrent: true | |
378 | ||
379 | scm: | |
380 | - git: *babeltrace_scm_git_review | |
381 | ||
382 | triggers: | |
383 | - gerrit: &babeltrace_trigger_gerrit_smoke | |
384 | trigger-on: | |
385 | - comment-added-event: | |
55399c91 | 386 | approval-category: 'Smoke-Build-Lvl1' |
d6d71fec MJ |
387 | approval-value: 1 |
388 | projects: | |
389 | - project-compare-type: 'PLAIN' | |
390 | project-pattern: 'babeltrace' | |
391 | branches: | |
392 | - branch-compare-type: 'PLAIN' | |
393 | branch-pattern: '{version}' | |
394 | skip-vote: | |
395 | successful: true | |
396 | failed: true | |
397 | unstable: true | |
398 | notbuilt: true | |
399 | aborted: true | |
400 | ||
401 | properties: | |
402 | - inject: | |
403 | properties-content: | | |
404 | PROJECT_NAME=babeltrace | |
405 | BABELTRACE_RUN_TESTS=no | |
406 | - build-discarder: | |
407 | days-to-keep: 1 | |
408 | ||
409 | <<: *babeltrace_matrix_axes_defaults | |
410 | <<: *babeltrace_builders_defaults | |
411 | ||
412 | publishers: | |
413 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
414 | ||
415 | - job-template: | |
416 | name: 'dev_review_babeltrace_{version}_check-format' | |
417 | defaults: babeltrace | |
418 | concurrent: true | |
419 | ||
420 | scm: | |
421 | - git: *babeltrace_scm_git_review | |
422 | ||
423 | triggers: | |
424 | - gerrit: *babeltrace_trigger_gerrit_smoke | |
425 | ||
30e5c12c | 426 | node: 'deb12-amd64' |
d6d71fec MJ |
427 | |
428 | builders: | |
429 | - shell: | |
1ad4c3d0 | 430 | !include-raw-escape: scripts/common/check-format.sh |
d6d71fec MJ |
431 | |
432 | properties: | |
433 | - inject: | |
434 | properties-content: | | |
435 | PROJECT_NAME=babeltrace | |
436 | - build-discarder: | |
437 | days-to-keep: 1 | |
438 | ||
439 | publishers: | |
1ad4c3d0 MJ |
440 | - archive: |
441 | artifacts: 'clang-format-fixes.diff' | |
442 | allow-empty: true | |
d6d71fec MJ |
443 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
444 | ||
8abe9f8a MJ |
445 | - job-template: |
446 | name: babeltrace_{version}_release | |
447 | defaults: babeltrace | |
732698e9 | 448 | node: 'deb12-amd64' |
8abe9f8a MJ |
449 | |
450 | triggers: | |
451 | - pollscm: | |
452 | cron: "@daily" | |
453 | ||
454 | scm: | |
455 | - git: | |
05939e86 | 456 | <<: *babeltrace_scm_git_default |
8abe9f8a MJ |
457 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' |
458 | branches: | |
459 | - '*/tags/{version}.*' | |
8abe9f8a MJ |
460 | |
461 | builders: | |
462 | - shell: | |
463 | !include-raw-escape: scripts/babeltrace/release.sh | |
464 | ||
465 | publishers: | |
0f505d21 MJ |
466 | - tap: *babeltrace_publisher_tap_defaults |
467 | - raw: *babeltrace_publisher_warnings-ng_defaults | |
468 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
8abe9f8a MJ |
469 | - archive: |
470 | artifacts: 'out/**,tap/**' | |
471 | allow-empty: false | |
b9f743ce | 472 | fingerprint: true |
ee4b760a | 473 | - ircbot: *babeltrace_publisher_ircbot_defaults |
8abe9f8a | 474 | |
890bff23 MJ |
475 | - job-template: |
476 | name: babeltrace_{version}_scan-build | |
477 | defaults: babeltrace | |
732698e9 | 478 | node: 'deb12-amd64' |
890bff23 MJ |
479 | |
480 | triggers: | |
6cf22a3a MJ |
481 | - pollscm: |
482 | cron: "@daily" | |
890bff23 MJ |
483 | |
484 | builders: | |
485 | - shell: | |
69f05d59 | 486 | !include-raw-escape: scripts/common/scan-build.sh |
890bff23 MJ |
487 | |
488 | publishers: | |
0f505d21 | 489 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 MJ |
490 | - html-publisher: |
491 | name: 'HTML Report' | |
492 | dir: 'scan-build-archive/' | |
493 | files: 'index.html' | |
ee4b760a | 494 | - ircbot: *babeltrace_publisher_ircbot_defaults |
890bff23 | 495 | |
6cf22a3a MJ |
496 | - job-template: |
497 | name: babeltrace_{version}_coverity | |
498 | defaults: babeltrace | |
732698e9 | 499 | node: 'deb12-amd64' |
6cf22a3a MJ |
500 | |
501 | triggers: | |
502 | - pollscm: | |
503 | cron: "@daily" | |
504 | ||
505 | wrappers: | |
0f505d21 MJ |
506 | - ansicolor: *babeltrace_wrapper_ansicolor_defaults |
507 | - timeout: *babeltrace_wrapper_timeout_defaults | |
6cf22a3a | 508 | - timestamps |
0f505d21 | 509 | - workspace-cleanup |
6cf22a3a MJ |
510 | - credentials-binding: |
511 | - username-password-separated: | |
512 | credential-id: babeltrace_coverity_token | |
513 | username: COVERITY_SCAN_PROJECT_NAME | |
514 | password: COVERITY_SCAN_TOKEN | |
0f505d21 | 515 | |
6cf22a3a MJ |
516 | builders: |
517 | - shell: | |
ef63064f | 518 | !include-raw-escape: scripts/common/coverity.sh |
6cf22a3a MJ |
519 | |
520 | publishers: | |
0f505d21 | 521 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
73778992 MJ |
522 | - archive: |
523 | artifacts: 'analysis-results.tgz,cov-int/**' | |
524 | allow-empty: false | |
ee4b760a | 525 | - ircbot: *babeltrace_publisher_ircbot_defaults |
890bff23 MJ |
526 | |
527 | - job-template: | |
528 | name: babeltrace_{version}_pylint | |
529 | defaults: babeltrace | |
732698e9 | 530 | node: 'deb12-amd64' |
890bff23 | 531 | |
890bff23 | 532 | triggers: |
6cf22a3a MJ |
533 | - pollscm: |
534 | cron: "@daily" | |
890bff23 MJ |
535 | |
536 | builders: | |
890bff23 | 537 | - shell: |
ef63064f | 538 | !include-raw-escape: scripts/babeltrace/pylint.sh |
890bff23 MJ |
539 | |
540 | publishers: | |
0f505d21 | 541 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 542 | - archive: |
8f584fa6 | 543 | artifacts: 'black.out,flake8.out,isort.out' |
0f505d21 | 544 | allow-empty: false |
ee4b760a | 545 | - ircbot: *babeltrace_publisher_ircbot_defaults |
0f505d21 | 546 | - email-ext: *babeltrace_publisher_email-ext_defaults |
556e87cc JR |
547 | |
548 | - job-template: | |
76f37297 MJ |
549 | name: '{job_prefix}babeltrace_{version}_glib-2.28.6' |
550 | defaults: babeltrace | |
732698e9 | 551 | node: 'deb12-amd64' |
890bff23 | 552 | |
0f505d21 MJ |
553 | <<: *babeltrace_builders_glib-2-28-6 |
554 | <<: *babeltrace_publishers_defaults | |
b9c55ae7 | 555 | |
07dafe32 MJ |
556 | |
557 | ## Views | |
558 | - view-template: | |
559 | name: 'Babeltrace' | |
560 | view-type: list | |
561 | regex: 'babeltrace[-_].*' | |
562 | ||
563 | ||
564 | ## Projects | |
624c5a25 MJ |
565 | - project: |
566 | name: babeltrace2 | |
c8071f5f | 567 | job_prefix: '' |
624c5a25 MJ |
568 | github_user: efficios |
569 | github_name: babeltrace | |
570 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
571 | version: | |
572 | - stable-2.0 | |
573 | - master | |
574 | jobs: | |
776b0d3d MJ |
575 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
576 | buildtype: linuxbuild | |
30e5c12c | 577 | platforms: !!python/tuple [deb12-amd64] |
776b0d3d | 578 | builds: !!python/tuple [std, oot, dist, oot-dist] |
1b232bc6 SM |
579 | confs: !!python/tuple [std, static, prod, min, doc, asan] |
580 | filter: '(build=="std") || (conf=="std") || (conf=="doc")' | |
776b0d3d | 581 | touchstone: '(build == "std") && (conf == "std")' |
0f505d21 | 582 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 583 | buildtype: portbuild |
29901a39 | 584 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
0f505d21 MJ |
585 | builds: !!python/tuple [std] |
586 | confs: !!python/tuple [std, prod] | |
587 | filter: '' | |
29901a39 | 588 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")' |
0f505d21 | 589 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 590 | buildtype: slesbuild |
f3c8d88c | 591 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] |
0f505d21 MJ |
592 | builds: !!python/tuple [std] |
593 | confs: !!python/tuple [std, prod] | |
594 | filter: '' | |
595 | touchstone: '' | |
596 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
568b5cbd | 597 | buildtype: elbuild |
5bfd388f | 598 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
0f505d21 MJ |
599 | builds: !!python/tuple [std] |
600 | confs: !!python/tuple [std, prod] | |
601 | filter: '' | |
602 | touchstone: '' | |
6871000c MJ |
603 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
604 | buildtype: yoctobuild | |
605 | platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64] | |
606 | builds: !!python/tuple [std] | |
607 | confs: !!python/tuple [std] | |
608 | filter: '' | |
609 | touchstone: '' | |
0f505d21 | 610 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 611 | buildtype: macosbuild |
776b0d3d | 612 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
613 | builds: !!python/tuple [std] |
614 | confs: !!python/tuple [std, prod] | |
615 | filter: '' | |
616 | touchstone: '' | |
617 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
894db5f1 | 618 | buildtype: freebsdbuild |
776b0d3d | 619 | platforms: !!python/tuple [freebsd-amd64] |
0f505d21 MJ |
620 | builds: !!python/tuple [std] |
621 | confs: !!python/tuple [std, prod] | |
622 | filter: '' | |
623 | touchstone: '' | |
624 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
625 | buildtype: winbuild | |
de4b8cd9 | 626 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
0f505d21 MJ |
627 | builds: !!python/tuple [std] |
628 | confs: !!python/tuple [std] | |
629 | filter: '' | |
630 | touchstone: '' | |
624c5a25 MJ |
631 | - 'babeltrace_{version}_{cctype}': |
632 | cctype: clangbuild | |
732698e9 | 633 | platforms: !!python/tuple [deb12-amd64] |
0f505d21 MJ |
634 | builds: !!python/tuple [std] |
635 | confs: !!python/tuple [std, static, prod] | |
732698e9 | 636 | ccs: !!python/tuple [clang-13, clang-14, clang-15] |
0f505d21 MJ |
637 | filter: '' |
638 | touchstone: '' | |
8abe9f8a MJ |
639 | - 'babeltrace_{version}_release': |
640 | version: v2.0 | |
890bff23 MJ |
641 | - 'babeltrace_{version}_scan-build' |
642 | - 'babeltrace_{version}_pylint' | |
6cf22a3a MJ |
643 | - 'babeltrace_{version}_coverity': |
644 | version: master | |
0f505d21 | 645 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
556e87cc | 646 | version: master |
a0b535b2 | 647 | |
07dafe32 | 648 | - project: |
05939e86 | 649 | name: review-babeltrace |
c8071f5f | 650 | job_prefix: '' |
07dafe32 MJ |
651 | github_user: efficios |
652 | github_name: babeltrace | |
05939e86 MJ |
653 | version: |
654 | - stable-2.0 | |
bbe1b8b4 | 655 | - ctf2 |
05939e86 | 656 | - master |
07dafe32 | 657 | jobs: |
1ad4c3d0 | 658 | ## Master ## |
05939e86 | 659 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 660 | version: master |
732698e9 MJ |
661 | buildtype: linuxbuild |
662 | platforms: !!python/tuple [deb12-amd64] | |
0f505d21 MJ |
663 | builds: !!python/tuple [std, oot, dist, oot-dist] |
664 | confs: !!python/tuple [std, static, prod, min] | |
05939e86 MJ |
665 | filter: '' |
666 | touchstone: '' | |
1ad4c3d0 | 667 | warnings_status: FAILED |
05939e86 | 668 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 669 | version: master |
05939e86 | 670 | buildtype: portbuild |
29901a39 | 671 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
05939e86 MJ |
672 | builds: !!python/tuple [std] |
673 | confs: !!python/tuple [std] | |
674 | filter: '' | |
0f505d21 | 675 | touchstone: '' |
1ad4c3d0 | 676 | warnings_status: FAILED |
05939e86 | 677 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 678 | version: master |
f0d7e5b1 | 679 | buildtype: macosbuild |
776b0d3d | 680 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
681 | builds: !!python/tuple [std] |
682 | confs: !!python/tuple [std, prod] | |
9fd34023 | 683 | filter: '' |
0f505d21 | 684 | touchstone: '' |
1ad4c3d0 | 685 | warnings_status: FAILED |
05939e86 | 686 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 687 | version: master |
0f505d21 | 688 | buildtype: winbuild |
de4b8cd9 | 689 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
bbe1b8b4 MJ |
690 | builds: !!python/tuple [std] |
691 | confs: !!python/tuple [std] | |
692 | filter: '' | |
693 | touchstone: '' | |
694 | warnings_status: FAILED | |
695 | ||
696 | ## ctf2 temp branch ## | |
697 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
698 | version: ctf2 | |
699 | buildtype: linuxbuild | |
700 | platforms: !!python/tuple [deb12-amd64] | |
701 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
702 | confs: !!python/tuple [std, static, prod, min] | |
703 | filter: '' | |
704 | touchstone: '' | |
705 | warnings_status: FAILED | |
706 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
707 | version: ctf2 | |
708 | buildtype: portbuild | |
709 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] | |
710 | builds: !!python/tuple [std] | |
711 | confs: !!python/tuple [std] | |
712 | filter: '' | |
713 | touchstone: '' | |
714 | warnings_status: FAILED | |
715 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
716 | version: ctf2 | |
717 | buildtype: macosbuild | |
718 | platforms: !!python/tuple [macos-amd64, macos-arm64] | |
719 | builds: !!python/tuple [std] | |
720 | confs: !!python/tuple [std, prod] | |
721 | filter: '' | |
722 | touchstone: '' | |
723 | warnings_status: FAILED | |
724 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
725 | version: ctf2 | |
726 | buildtype: winbuild | |
de4b8cd9 | 727 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
0f505d21 MJ |
728 | builds: !!python/tuple [std] |
729 | confs: !!python/tuple [std] | |
730 | filter: '' | |
731 | touchstone: '' | |
1ad4c3d0 MJ |
732 | warnings_status: FAILED |
733 | ||
734 | ## Stable 2.0 ## | |
735 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
736 | version: stable-2.0 | |
732698e9 MJ |
737 | buildtype: linuxbuild |
738 | platforms: !!python/tuple [deb12-amd64] | |
1ad4c3d0 MJ |
739 | builds: !!python/tuple [std, oot, dist, oot-dist] |
740 | confs: !!python/tuple [std, static, prod, min] | |
741 | filter: '' | |
742 | touchstone: '' | |
743 | warnings_status: WARNING | |
744 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
745 | version: stable-2.0 | |
746 | buildtype: portbuild | |
29901a39 | 747 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
1ad4c3d0 MJ |
748 | builds: !!python/tuple [std] |
749 | confs: !!python/tuple [std] | |
750 | filter: '' | |
751 | touchstone: '' | |
752 | warnings_status: WARNING | |
753 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
754 | version: stable-2.0 | |
755 | buildtype: macosbuild | |
756 | platforms: !!python/tuple [macos-amd64, macos-arm64] | |
757 | builds: !!python/tuple [std] | |
758 | confs: !!python/tuple [std, prod] | |
759 | filter: '' | |
760 | touchstone: '' | |
761 | warnings_status: WARNING | |
762 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
763 | version: stable-2.0 | |
764 | buildtype: winbuild | |
de4b8cd9 | 765 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
1ad4c3d0 MJ |
766 | builds: !!python/tuple [std] |
767 | confs: !!python/tuple [std] | |
768 | filter: '' | |
769 | touchstone: '' | |
770 | warnings_status: WARNING | |
771 | ||
772 | ## ALL ## | |
d6d71fec | 773 | - 'dev_review_babeltrace_{version}_smokebuild': |
30e5c12c | 774 | platforms: !!python/tuple [deb12-amd64] |
1ad4c3d0 | 775 | builds: !!python/tuple [oot-dist] |
d6d71fec MJ |
776 | confs: !!python/tuple [std] |
777 | filter: '' | |
778 | touchstone: '' | |
779 | - 'dev_review_babeltrace_{version}_check-format' | |
1ad4c3d0 | 780 | - 'dev_review_babeltrace_{version}_pylint' |
07dafe32 MJ |
781 | |
782 | ||
76f37297 MJ |
783 | - project: |
784 | name: dev_upstream_babeltrace | |
785 | job_prefix: dev_upstream_ | |
786 | github_user: efficios | |
787 | github_name: babeltrace | |
788 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
789 | version: | |
790 | - stable-1.5 | |
791 | jobs: | |
792 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
776b0d3d | 793 | buildtype: linuxbuild |
30e5c12c | 794 | platforms: !!python/tuple [deb12-amd64] |
0f505d21 MJ |
795 | builds: !!python/tuple [std, oot, dist, oot-dist] |
796 | confs: !!python/tuple [std, static, python-bindings] | |
797 | filter: '' | |
798 | touchstone: '(build == "std") && (conf == "std")' | |
76f37297 MJ |
799 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
800 | buildtype: portbuild | |
29901a39 | 801 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
0f505d21 MJ |
802 | builds: !!python/tuple [std] |
803 | confs: !!python/tuple [std, python-bindings] | |
804 | filter: '' | |
29901a39 | 805 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")' |
76f37297 MJ |
806 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
807 | buildtype: slesbuild | |
f3c8d88c | 808 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] |
0f505d21 MJ |
809 | builds: !!python/tuple [std] |
810 | confs: !!python/tuple [std] | |
811 | filter: '' | |
812 | touchstone: '' | |
76f37297 MJ |
813 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
814 | buildtype: elbuild | |
776b0d3d | 815 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
0f505d21 MJ |
816 | builds: !!python/tuple [std] |
817 | confs: !!python/tuple [std] | |
818 | filter: '' | |
819 | touchstone: '' | |
2f228988 MJ |
820 | - 'babeltrace_{version}_release': |
821 | version: v1.5 | |
76f37297 MJ |
822 | |
823 | ||
a0b535b2 MJ |
824 | - project: |
825 | name: babeltrace-jgalar-staging | |
76f37297 | 826 | job_prefix: 'dev_jgalar_' |
a0b535b2 MJ |
827 | github_user: jgalar |
828 | github_name: babeltrace | |
499a96d0 | 829 | email_to: "jgalar@efficios.com" |
a0b535b2 | 830 | version: |
a0b535b2 | 831 | - stable-1.5-staging |
a0b535b2 | 832 | jobs: |
76f37297 | 833 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
732698e9 MJ |
834 | buildtype: linuxbuild |
835 | platforms: !!python/tuple [deb12-amd64] | |
0f505d21 MJ |
836 | builds: !!python/tuple [std, oot, dist, oot-dist] |
837 | confs: !!python/tuple [std, static, python-bindings] | |
838 | filter: '' | |
839 | touchstone: '' | |
76f37297 | 840 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 841 | buildtype: macosbuild |
776b0d3d | 842 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
843 | builds: !!python/tuple [std] |
844 | confs: !!python/tuple [std] | |
845 | filter: '' | |
846 | touchstone: '' | |
890bff23 | 847 | |
c871b3d3 MJ |
848 | |
849 | - project: | |
07dafe32 | 850 | name: babeltrace2-jgalar-staging |
76f37297 | 851 | job_prefix: 'dev_jgalar_' |
07dafe32 | 852 | github_user: jgalar |
c871b3d3 | 853 | github_name: babeltrace |
07dafe32 MJ |
854 | email_to: "jgalar@efficios.com" |
855 | version: | |
856 | - stable-2.0-staging | |
857 | - master-staging | |
c871b3d3 | 858 | jobs: |
76f37297 | 859 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
07dafe32 MJ |
860 | version: |
861 | - master-staging | |
76f37297 | 862 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
732698e9 MJ |
863 | buildtype: linuxbuild |
864 | platforms: !!python/tuple [deb12-amd64] | |
0f505d21 MJ |
865 | builds: !!python/tuple [std, oot, dist, oot-dist] |
866 | confs: !!python/tuple [std, static, prod, min] | |
867 | filter: '' | |
868 | touchstone: '' | |
76f37297 | 869 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 870 | buildtype: macosbuild |
776b0d3d | 871 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
872 | builds: !!python/tuple [std] |
873 | confs: !!python/tuple [std, prod] | |
874 | filter: '' | |
875 | touchstone: '' | |
07dafe32 | 876 | |
6a4e0572 MJ |
877 | - project: |
878 | name: babeltrace2-mjeanson | |
879 | job_prefix: 'dev_mjeanson_' | |
880 | github_user: efficios | |
881 | github_name: babeltrace | |
882 | email_to: "mjeanson@efficios.com" | |
883 | version: | |
884 | - master | |
885 | jobs: | |
886 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
887 | buildtype: portbuild | |
888 | platforms: !!python/tuple [sid-riscv64] | |
889 | builds: !!python/tuple [std] | |
890 | confs: !!python/tuple [std, prod] | |
891 | filter: '' | |
892 | touchstone: '' | |
0bccd148 KS |
893 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
894 | buildtype: build | |
895 | platforms: !!python/tuple [deb12-amd64] | |
896 | builds: !!python/tuple [std] | |
897 | confs: !!python/tuple [std, prod] | |
898 | filter: '' | |
899 | touchstone: '' | |
6a4e0572 | 900 | |
07dafe32 MJ |
901 | - project: |
902 | name: babeltrace-views | |
903 | views: | |
904 | - Babeltrace |