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: | |
09c31b17 | 348 | name: 'dev_review_babeltrace_{version}_lint' |
05939e86 MJ |
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: | |
09c31b17 | 362 | !include-raw-escape: scripts/babeltrace/lint.sh |
05939e86 MJ |
363 | |
364 | properties: | |
365 | - inject: | |
366 | properties-content: | | |
367 | PROJECT_NAME=babeltrace | |
368 | - build-discarder: | |
369 | days-to-keep: 1 | |
5d26e468 | 370 | |
d6d71fec | 371 | publishers: |
09c31b17 | 372 | - archive: |
fa616aea | 373 | artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out' |
09c31b17 | 374 | allow-empty: false |
d6d71fec MJ |
375 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
376 | ||
377 | - job-template: | |
378 | name: 'dev_review_babeltrace_{version}_smokebuild' | |
379 | defaults: babeltrace | |
380 | concurrent: true | |
381 | ||
382 | scm: | |
383 | - git: *babeltrace_scm_git_review | |
384 | ||
385 | triggers: | |
386 | - gerrit: &babeltrace_trigger_gerrit_smoke | |
387 | trigger-on: | |
388 | - comment-added-event: | |
55399c91 | 389 | approval-category: 'Smoke-Build-Lvl1' |
d6d71fec MJ |
390 | approval-value: 1 |
391 | projects: | |
392 | - project-compare-type: 'PLAIN' | |
393 | project-pattern: 'babeltrace' | |
394 | branches: | |
395 | - branch-compare-type: 'PLAIN' | |
396 | branch-pattern: '{version}' | |
397 | skip-vote: | |
398 | successful: true | |
399 | failed: true | |
400 | unstable: true | |
401 | notbuilt: true | |
402 | aborted: true | |
403 | ||
404 | properties: | |
405 | - inject: | |
406 | properties-content: | | |
407 | PROJECT_NAME=babeltrace | |
408 | BABELTRACE_RUN_TESTS=no | |
409 | - build-discarder: | |
410 | days-to-keep: 1 | |
411 | ||
412 | <<: *babeltrace_matrix_axes_defaults | |
413 | <<: *babeltrace_builders_defaults | |
414 | ||
415 | publishers: | |
416 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
417 | ||
418 | - job-template: | |
419 | name: 'dev_review_babeltrace_{version}_check-format' | |
420 | defaults: babeltrace | |
421 | concurrent: true | |
422 | ||
423 | scm: | |
424 | - git: *babeltrace_scm_git_review | |
425 | ||
426 | triggers: | |
427 | - gerrit: *babeltrace_trigger_gerrit_smoke | |
428 | ||
30e5c12c | 429 | node: 'deb12-amd64' |
d6d71fec MJ |
430 | |
431 | builders: | |
432 | - shell: | |
1ad4c3d0 | 433 | !include-raw-escape: scripts/common/check-format.sh |
d6d71fec MJ |
434 | |
435 | properties: | |
436 | - inject: | |
437 | properties-content: | | |
438 | PROJECT_NAME=babeltrace | |
439 | - build-discarder: | |
440 | days-to-keep: 1 | |
441 | ||
442 | publishers: | |
1ad4c3d0 MJ |
443 | - archive: |
444 | artifacts: 'clang-format-fixes.diff' | |
445 | allow-empty: true | |
d6d71fec MJ |
446 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
447 | ||
8abe9f8a MJ |
448 | - job-template: |
449 | name: babeltrace_{version}_release | |
450 | defaults: babeltrace | |
732698e9 | 451 | node: 'deb12-amd64' |
8abe9f8a MJ |
452 | |
453 | triggers: | |
454 | - pollscm: | |
455 | cron: "@daily" | |
456 | ||
457 | scm: | |
458 | - git: | |
05939e86 | 459 | <<: *babeltrace_scm_git_default |
8abe9f8a MJ |
460 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' |
461 | branches: | |
462 | - '*/tags/{version}.*' | |
8abe9f8a MJ |
463 | |
464 | builders: | |
465 | - shell: | |
466 | !include-raw-escape: scripts/babeltrace/release.sh | |
467 | ||
468 | publishers: | |
0f505d21 MJ |
469 | - tap: *babeltrace_publisher_tap_defaults |
470 | - raw: *babeltrace_publisher_warnings-ng_defaults | |
471 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
8abe9f8a MJ |
472 | - archive: |
473 | artifacts: 'out/**,tap/**' | |
474 | allow-empty: false | |
b9f743ce | 475 | fingerprint: true |
ee4b760a | 476 | - ircbot: *babeltrace_publisher_ircbot_defaults |
8abe9f8a | 477 | |
890bff23 MJ |
478 | - job-template: |
479 | name: babeltrace_{version}_scan-build | |
480 | defaults: babeltrace | |
732698e9 | 481 | node: 'deb12-amd64' |
890bff23 MJ |
482 | |
483 | triggers: | |
6cf22a3a MJ |
484 | - pollscm: |
485 | cron: "@daily" | |
890bff23 MJ |
486 | |
487 | builders: | |
488 | - shell: | |
69f05d59 | 489 | !include-raw-escape: scripts/common/scan-build.sh |
890bff23 MJ |
490 | |
491 | publishers: | |
0f505d21 | 492 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 MJ |
493 | - html-publisher: |
494 | name: 'HTML Report' | |
495 | dir: 'scan-build-archive/' | |
496 | files: 'index.html' | |
ee4b760a | 497 | - ircbot: *babeltrace_publisher_ircbot_defaults |
890bff23 | 498 | |
6cf22a3a MJ |
499 | - job-template: |
500 | name: babeltrace_{version}_coverity | |
501 | defaults: babeltrace | |
732698e9 | 502 | node: 'deb12-amd64' |
6cf22a3a MJ |
503 | |
504 | triggers: | |
505 | - pollscm: | |
506 | cron: "@daily" | |
507 | ||
508 | wrappers: | |
0f505d21 MJ |
509 | - ansicolor: *babeltrace_wrapper_ansicolor_defaults |
510 | - timeout: *babeltrace_wrapper_timeout_defaults | |
6cf22a3a | 511 | - timestamps |
0f505d21 | 512 | - workspace-cleanup |
6cf22a3a MJ |
513 | - credentials-binding: |
514 | - username-password-separated: | |
515 | credential-id: babeltrace_coverity_token | |
516 | username: COVERITY_SCAN_PROJECT_NAME | |
517 | password: COVERITY_SCAN_TOKEN | |
0f505d21 | 518 | |
6cf22a3a MJ |
519 | builders: |
520 | - shell: | |
ef63064f | 521 | !include-raw-escape: scripts/common/coverity.sh |
6cf22a3a MJ |
522 | |
523 | publishers: | |
0f505d21 | 524 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
73778992 MJ |
525 | - archive: |
526 | artifacts: 'analysis-results.tgz,cov-int/**' | |
527 | allow-empty: false | |
ee4b760a | 528 | - ircbot: *babeltrace_publisher_ircbot_defaults |
890bff23 MJ |
529 | |
530 | - job-template: | |
09c31b17 | 531 | name: babeltrace_{version}_lint |
890bff23 | 532 | defaults: babeltrace |
732698e9 | 533 | node: 'deb12-amd64' |
890bff23 | 534 | |
890bff23 | 535 | triggers: |
6cf22a3a MJ |
536 | - pollscm: |
537 | cron: "@daily" | |
890bff23 MJ |
538 | |
539 | builders: | |
890bff23 | 540 | - shell: |
09c31b17 | 541 | !include-raw-escape: scripts/babeltrace/lint.sh |
890bff23 MJ |
542 | |
543 | publishers: | |
0f505d21 | 544 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 545 | - archive: |
fa616aea | 546 | artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out' |
0f505d21 | 547 | allow-empty: false |
ee4b760a | 548 | - ircbot: *babeltrace_publisher_ircbot_defaults |
0f505d21 | 549 | - email-ext: *babeltrace_publisher_email-ext_defaults |
556e87cc JR |
550 | |
551 | - job-template: | |
76f37297 MJ |
552 | name: '{job_prefix}babeltrace_{version}_glib-2.28.6' |
553 | defaults: babeltrace | |
732698e9 | 554 | node: 'deb12-amd64' |
890bff23 | 555 | |
0f505d21 MJ |
556 | <<: *babeltrace_builders_glib-2-28-6 |
557 | <<: *babeltrace_publishers_defaults | |
b9c55ae7 | 558 | |
07dafe32 MJ |
559 | |
560 | ## Views | |
561 | - view-template: | |
562 | name: 'Babeltrace' | |
563 | view-type: list | |
564 | regex: 'babeltrace[-_].*' | |
565 | ||
566 | ||
567 | ## Projects | |
624c5a25 MJ |
568 | - project: |
569 | name: babeltrace2 | |
c8071f5f | 570 | job_prefix: '' |
624c5a25 MJ |
571 | github_user: efficios |
572 | github_name: babeltrace | |
573 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
574 | version: | |
575 | - stable-2.0 | |
576 | - master | |
577 | jobs: | |
776b0d3d MJ |
578 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
579 | buildtype: linuxbuild | |
30e5c12c | 580 | platforms: !!python/tuple [deb12-amd64] |
776b0d3d | 581 | builds: !!python/tuple [std, oot, dist, oot-dist] |
1b232bc6 SM |
582 | confs: !!python/tuple [std, static, prod, min, doc, asan] |
583 | filter: '(build=="std") || (conf=="std") || (conf=="doc")' | |
776b0d3d | 584 | touchstone: '(build == "std") && (conf == "std")' |
0f505d21 | 585 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 586 | buildtype: portbuild |
29901a39 | 587 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
0f505d21 MJ |
588 | builds: !!python/tuple [std] |
589 | confs: !!python/tuple [std, prod] | |
590 | filter: '' | |
29901a39 | 591 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")' |
0f505d21 | 592 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 593 | buildtype: slesbuild |
24e49fa5 | 594 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
0f505d21 MJ |
595 | builds: !!python/tuple [std] |
596 | confs: !!python/tuple [std, prod] | |
597 | filter: '' | |
598 | touchstone: '' | |
599 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
568b5cbd | 600 | buildtype: elbuild |
5bfd388f | 601 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] |
0f505d21 MJ |
602 | builds: !!python/tuple [std] |
603 | confs: !!python/tuple [std, prod] | |
604 | filter: '' | |
605 | touchstone: '' | |
6871000c MJ |
606 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
607 | buildtype: yoctobuild | |
1b2501b5 | 608 | platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] |
6871000c MJ |
609 | builds: !!python/tuple [std] |
610 | confs: !!python/tuple [std] | |
611 | filter: '' | |
612 | touchstone: '' | |
0f505d21 | 613 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 614 | buildtype: macosbuild |
e797d680 | 615 | platforms: !!python/tuple [macos-arm64] |
0f505d21 MJ |
616 | builds: !!python/tuple [std] |
617 | confs: !!python/tuple [std, prod] | |
618 | filter: '' | |
619 | touchstone: '' | |
620 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
894db5f1 | 621 | buildtype: freebsdbuild |
776b0d3d | 622 | platforms: !!python/tuple [freebsd-amd64] |
0f505d21 MJ |
623 | builds: !!python/tuple [std] |
624 | confs: !!python/tuple [std, prod] | |
625 | filter: '' | |
626 | touchstone: '' | |
627 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
628 | buildtype: winbuild | |
de4b8cd9 | 629 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
0f505d21 MJ |
630 | builds: !!python/tuple [std] |
631 | confs: !!python/tuple [std] | |
632 | filter: '' | |
633 | touchstone: '' | |
624c5a25 MJ |
634 | - 'babeltrace_{version}_{cctype}': |
635 | cctype: clangbuild | |
732698e9 | 636 | platforms: !!python/tuple [deb12-amd64] |
0f505d21 MJ |
637 | builds: !!python/tuple [std] |
638 | confs: !!python/tuple [std, static, prod] | |
732698e9 | 639 | ccs: !!python/tuple [clang-13, clang-14, clang-15] |
0f505d21 MJ |
640 | filter: '' |
641 | touchstone: '' | |
8abe9f8a MJ |
642 | - 'babeltrace_{version}_release': |
643 | version: v2.0 | |
890bff23 | 644 | - 'babeltrace_{version}_scan-build' |
09c31b17 | 645 | - 'babeltrace_{version}_lint' |
6cf22a3a MJ |
646 | - 'babeltrace_{version}_coverity': |
647 | version: master | |
0f505d21 | 648 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
556e87cc | 649 | version: master |
a0b535b2 | 650 | |
07dafe32 | 651 | - project: |
05939e86 | 652 | name: review-babeltrace |
c8071f5f | 653 | job_prefix: '' |
07dafe32 MJ |
654 | github_user: efficios |
655 | github_name: babeltrace | |
05939e86 MJ |
656 | version: |
657 | - stable-2.0 | |
bbe1b8b4 | 658 | - ctf2 |
05939e86 | 659 | - master |
07dafe32 | 660 | jobs: |
1ad4c3d0 | 661 | ## Master ## |
05939e86 | 662 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 663 | version: master |
732698e9 MJ |
664 | buildtype: linuxbuild |
665 | platforms: !!python/tuple [deb12-amd64] | |
0f505d21 MJ |
666 | builds: !!python/tuple [std, oot, dist, oot-dist] |
667 | confs: !!python/tuple [std, static, prod, min] | |
05939e86 MJ |
668 | filter: '' |
669 | touchstone: '' | |
1ad4c3d0 | 670 | warnings_status: FAILED |
05939e86 | 671 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 672 | version: master |
05939e86 | 673 | buildtype: portbuild |
29901a39 | 674 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
05939e86 MJ |
675 | builds: !!python/tuple [std] |
676 | confs: !!python/tuple [std] | |
677 | filter: '' | |
0f505d21 | 678 | touchstone: '' |
1ad4c3d0 | 679 | warnings_status: FAILED |
05939e86 | 680 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 681 | version: master |
f0d7e5b1 | 682 | buildtype: macosbuild |
e797d680 | 683 | platforms: !!python/tuple [macos-arm64] |
0f505d21 MJ |
684 | builds: !!python/tuple [std] |
685 | confs: !!python/tuple [std, prod] | |
9fd34023 | 686 | filter: '' |
0f505d21 | 687 | touchstone: '' |
1ad4c3d0 | 688 | warnings_status: FAILED |
05939e86 | 689 | - 'dev_review_babeltrace_{version}_{buildtype}': |
1ad4c3d0 | 690 | version: master |
0f505d21 | 691 | buildtype: winbuild |
de4b8cd9 | 692 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
bbe1b8b4 MJ |
693 | builds: !!python/tuple [std] |
694 | confs: !!python/tuple [std] | |
695 | filter: '' | |
696 | touchstone: '' | |
697 | warnings_status: FAILED | |
698 | ||
699 | ## ctf2 temp branch ## | |
700 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
701 | version: ctf2 | |
702 | buildtype: linuxbuild | |
703 | platforms: !!python/tuple [deb12-amd64] | |
704 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
705 | confs: !!python/tuple [std, static, prod, min] | |
706 | filter: '' | |
707 | touchstone: '' | |
708 | warnings_status: FAILED | |
709 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
710 | version: ctf2 | |
711 | buildtype: portbuild | |
712 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] | |
713 | builds: !!python/tuple [std] | |
714 | confs: !!python/tuple [std] | |
715 | filter: '' | |
716 | touchstone: '' | |
717 | warnings_status: FAILED | |
718 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
719 | version: ctf2 | |
720 | buildtype: macosbuild | |
e797d680 | 721 | platforms: !!python/tuple [macos-arm64] |
bbe1b8b4 MJ |
722 | builds: !!python/tuple [std] |
723 | confs: !!python/tuple [std, prod] | |
724 | filter: '' | |
725 | touchstone: '' | |
726 | warnings_status: FAILED | |
727 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
728 | version: ctf2 | |
729 | buildtype: winbuild | |
de4b8cd9 | 730 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
0f505d21 MJ |
731 | builds: !!python/tuple [std] |
732 | confs: !!python/tuple [std] | |
733 | filter: '' | |
734 | touchstone: '' | |
1ad4c3d0 MJ |
735 | warnings_status: FAILED |
736 | ||
737 | ## Stable 2.0 ## | |
738 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
739 | version: stable-2.0 | |
732698e9 MJ |
740 | buildtype: linuxbuild |
741 | platforms: !!python/tuple [deb12-amd64] | |
1ad4c3d0 MJ |
742 | builds: !!python/tuple [std, oot, dist, oot-dist] |
743 | confs: !!python/tuple [std, static, prod, min] | |
744 | filter: '' | |
745 | touchstone: '' | |
746 | warnings_status: WARNING | |
747 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
748 | version: stable-2.0 | |
749 | buildtype: portbuild | |
29901a39 | 750 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
1ad4c3d0 MJ |
751 | builds: !!python/tuple [std] |
752 | confs: !!python/tuple [std] | |
753 | filter: '' | |
754 | touchstone: '' | |
755 | warnings_status: WARNING | |
756 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
757 | version: stable-2.0 | |
758 | buildtype: macosbuild | |
e797d680 | 759 | platforms: !!python/tuple [macos-arm64] |
1ad4c3d0 MJ |
760 | builds: !!python/tuple [std] |
761 | confs: !!python/tuple [std, prod] | |
762 | filter: '' | |
763 | touchstone: '' | |
764 | warnings_status: WARNING | |
765 | - 'dev_review_babeltrace_{version}_{buildtype}': | |
766 | version: stable-2.0 | |
767 | buildtype: winbuild | |
de4b8cd9 | 768 | platforms: !!python/tuple [cygwin64, msys2-ucrt64] |
1ad4c3d0 MJ |
769 | builds: !!python/tuple [std] |
770 | confs: !!python/tuple [std] | |
771 | filter: '' | |
772 | touchstone: '' | |
773 | warnings_status: WARNING | |
774 | ||
775 | ## ALL ## | |
d6d71fec | 776 | - 'dev_review_babeltrace_{version}_smokebuild': |
30e5c12c | 777 | platforms: !!python/tuple [deb12-amd64] |
1ad4c3d0 | 778 | builds: !!python/tuple [oot-dist] |
d6d71fec MJ |
779 | confs: !!python/tuple [std] |
780 | filter: '' | |
781 | touchstone: '' | |
782 | - 'dev_review_babeltrace_{version}_check-format' | |
09c31b17 | 783 | - 'dev_review_babeltrace_{version}_lint' |
07dafe32 MJ |
784 | |
785 | ||
76f37297 MJ |
786 | - project: |
787 | name: dev_upstream_babeltrace | |
788 | job_prefix: dev_upstream_ | |
789 | github_user: efficios | |
790 | github_name: babeltrace | |
791 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
792 | version: | |
793 | - stable-1.5 | |
794 | jobs: | |
795 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
776b0d3d | 796 | buildtype: linuxbuild |
30e5c12c | 797 | platforms: !!python/tuple [deb12-amd64] |
0f505d21 MJ |
798 | builds: !!python/tuple [std, oot, dist, oot-dist] |
799 | confs: !!python/tuple [std, static, python-bindings] | |
800 | filter: '' | |
801 | touchstone: '(build == "std") && (conf == "std")' | |
76f37297 MJ |
802 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
803 | buildtype: portbuild | |
29901a39 | 804 | platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] |
0f505d21 MJ |
805 | builds: !!python/tuple [std] |
806 | confs: !!python/tuple [std, python-bindings] | |
807 | filter: '' | |
29901a39 | 808 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb12-i386")' |
76f37297 MJ |
809 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
810 | buildtype: slesbuild | |
24e49fa5 | 811 | platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] |
0f505d21 MJ |
812 | builds: !!python/tuple [std] |
813 | confs: !!python/tuple [std] | |
814 | filter: '' | |
815 | touchstone: '' | |
76f37297 MJ |
816 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
817 | buildtype: elbuild | |
776b0d3d | 818 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
0f505d21 MJ |
819 | builds: !!python/tuple [std] |
820 | confs: !!python/tuple [std] | |
821 | filter: '' | |
822 | touchstone: '' | |
2f228988 MJ |
823 | - 'babeltrace_{version}_release': |
824 | version: v1.5 | |
76f37297 MJ |
825 | |
826 | ||
a0b535b2 MJ |
827 | - project: |
828 | name: babeltrace-jgalar-staging | |
76f37297 | 829 | job_prefix: 'dev_jgalar_' |
a0b535b2 MJ |
830 | github_user: jgalar |
831 | github_name: babeltrace | |
499a96d0 | 832 | email_to: "jgalar@efficios.com" |
a0b535b2 | 833 | version: |
a0b535b2 | 834 | - stable-1.5-staging |
a0b535b2 | 835 | jobs: |
76f37297 | 836 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
732698e9 MJ |
837 | buildtype: linuxbuild |
838 | platforms: !!python/tuple [deb12-amd64] | |
0f505d21 MJ |
839 | builds: !!python/tuple [std, oot, dist, oot-dist] |
840 | confs: !!python/tuple [std, static, python-bindings] | |
841 | filter: '' | |
842 | touchstone: '' | |
76f37297 | 843 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 844 | buildtype: macosbuild |
e797d680 | 845 | platforms: !!python/tuple [macos-arm64] |
0f505d21 MJ |
846 | builds: !!python/tuple [std] |
847 | confs: !!python/tuple [std] | |
848 | filter: '' | |
849 | touchstone: '' | |
890bff23 | 850 | |
c871b3d3 MJ |
851 | |
852 | - project: | |
07dafe32 | 853 | name: babeltrace2-jgalar-staging |
76f37297 | 854 | job_prefix: 'dev_jgalar_' |
07dafe32 | 855 | github_user: jgalar |
c871b3d3 | 856 | github_name: babeltrace |
07dafe32 MJ |
857 | email_to: "jgalar@efficios.com" |
858 | version: | |
859 | - stable-2.0-staging | |
860 | - master-staging | |
c871b3d3 | 861 | jobs: |
76f37297 | 862 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
07dafe32 MJ |
863 | version: |
864 | - master-staging | |
76f37297 | 865 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
732698e9 MJ |
866 | buildtype: linuxbuild |
867 | platforms: !!python/tuple [deb12-amd64] | |
0f505d21 MJ |
868 | builds: !!python/tuple [std, oot, dist, oot-dist] |
869 | confs: !!python/tuple [std, static, prod, min] | |
870 | filter: '' | |
871 | touchstone: '' | |
76f37297 | 872 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 873 | buildtype: macosbuild |
e797d680 | 874 | platforms: !!python/tuple [macos-arm64] |
0f505d21 MJ |
875 | builds: !!python/tuple [std] |
876 | confs: !!python/tuple [std, prod] | |
877 | filter: '' | |
878 | touchstone: '' | |
07dafe32 | 879 | |
6a4e0572 | 880 | |
07dafe32 MJ |
881 | - project: |
882 | name: babeltrace-views | |
883 | views: | |
884 | - Babeltrace |