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