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