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