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: | |
29 | - git: | |
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 |
0f505d21 MJ |
54 | - babeltrace_matrix_axes_defaults: &babeltrace_matrix_axes_defaults |
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 | ||
77 | - babeltrace_matrix_axes_cc: &babeltrace_matrix_axes_cc | |
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 | |
0f505d21 MJ |
91 | - babeltrace_builders_defaults: &babeltrace_builders_defaults |
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 |
0f505d21 MJ |
144 | - babeltrace_builders_glib-2-28-6: &babeltrace_builders_glib-2-28-6 |
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 | |
0f505d21 MJ |
167 | - babeltrace_publishers_defaults: &babeltrace_publishers_defaults |
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 JR |
173 | failed-tests-mark-build-as-failure: true |
174 | todo-is-failure: false | |
0f505d21 MJ |
175 | - raw: &babeltrace_publisher_warnings-ng_defaults |
176 | xml: | | |
177 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
178 | <analysisTools> | |
179 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
180 | <id/> | |
181 | <name/> | |
182 | <jenkins plugin="plugin-util-api"/> | |
183 | <pattern/> | |
184 | <reportEncoding/> | |
185 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
186 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
187 | <io.jenkins.plugins.analysis.warnings.Clang> | |
188 | <id/> | |
189 | <name/> | |
190 | <jenkins plugin="plugin-util-api"/> | |
191 | <pattern/> | |
192 | <reportEncoding/> | |
193 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
194 | </io.jenkins.plugins.analysis.warnings.Clang> | |
195 | </analysisTools> | |
196 | <sourceCodeEncoding/> | |
197 | <sourceDirectory/> | |
198 | <sourceDirectories/> | |
199 | <ignoreQualityGate>false</ignoreQualityGate> | |
200 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
201 | <failOnError>false</failOnError> | |
202 | <healthy>0</healthy> | |
203 | <unhealthy>0</unhealthy> | |
204 | <minimumSeverity plugin="analysis-model-api"> | |
205 | <name>LOW</name> | |
206 | </minimumSeverity> | |
207 | <filters/> | |
208 | <isEnabledForFailure>true</isEnabledForFailure> | |
209 | <isAggregatingResults>true</isAggregatingResults> | |
210 | <isBlameDisabled>false</isBlameDisabled> | |
211 | <skipPublishingChecks>true</skipPublishingChecks> | |
212 | <publishAllIssues>false</publishAllIssues> | |
213 | <qualityGates> | |
214 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
215 | <threshold>1</threshold> | |
216 | <type>TOTAL</type> | |
217 | <status>WARNING</status> | |
218 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
219 | </qualityGates> | |
220 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
221 | <scm/> | |
222 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
223 | - archive: &babeltrace_publisher_archive_defaults | |
9d56171a | 224 | artifacts: 'build/**,tap/**' |
890bff23 | 225 | allow-empty: false |
0f505d21 MJ |
226 | - workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults |
227 | clean-if: | |
228 | - failure: false | |
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 | |
086e5af5 MJ |
252 | - babeltrace_publishers_gerrit: &babeltrace_publishers_gerrit |
253 | name: 'babeltrace_publishers_gerrit' | |
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> | |
269 | <io.jenkins.plugins.analysis.warnings.Clang> | |
270 | <id/> | |
271 | <name/> | |
272 | <jenkins plugin="plugin-util-api"/> | |
273 | <pattern/> | |
274 | <reportEncoding/> | |
275 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
276 | </io.jenkins.plugins.analysis.warnings.Clang> | |
277 | </analysisTools> | |
278 | <sourceCodeEncoding/> | |
279 | <sourceDirectory/> | |
280 | <sourceDirectories/> | |
281 | <ignoreQualityGate>false</ignoreQualityGate> | |
282 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
283 | <failOnError>false</failOnError> | |
284 | <healthy>0</healthy> | |
285 | <unhealthy>0</unhealthy> | |
286 | <minimumSeverity plugin="analysis-model-api"> | |
287 | <name>LOW</name> | |
288 | </minimumSeverity> | |
289 | <filters/> | |
290 | <isEnabledForFailure>true</isEnabledForFailure> | |
291 | <isAggregatingResults>true</isAggregatingResults> | |
292 | <isBlameDisabled>false</isBlameDisabled> | |
293 | <skipPublishingChecks>true</skipPublishingChecks> | |
294 | <publishAllIssues>false</publishAllIssues> | |
295 | <qualityGates> | |
296 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
297 | <threshold>1</threshold> | |
298 | <type>TOTAL</type> | |
299 | <status>FAILED</status> | |
300 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
301 | </qualityGates> | |
302 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
303 | <scm/> | |
304 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
0f505d21 MJ |
305 | - archive: *babeltrace_publisher_archive_defaults |
306 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
c871b3d3 MJ |
307 | |
308 | ||
0f505d21 | 309 | ## Job Templates |
b9c55ae7 | 310 | |
c8071f5f MJ |
311 | - job-template: |
312 | name: '{job_prefix}babeltrace_{version}_{buildtype}' | |
313 | defaults: babeltrace | |
314 | ||
0f505d21 MJ |
315 | <<: *babeltrace_matrix_axes_defaults |
316 | <<: *babeltrace_builders_defaults | |
317 | <<: *babeltrace_publishers_defaults | |
c8071f5f | 318 | |
6476f917 MJ |
319 | - job-template: |
320 | name: babeltrace_{version}_{cctype} | |
321 | defaults: babeltrace | |
322 | ||
0f505d21 MJ |
323 | <<: *babeltrace_matrix_axes_cc |
324 | <<: *babeltrace_builders_defaults | |
325 | <<: *babeltrace_publishers_defaults | |
4f827afb | 326 | |
c871b3d3 MJ |
327 | - job-template: |
328 | name: dev_gerrit_babeltrace_{buildtype} | |
329 | defaults: babeltrace | |
330 | concurrent: true | |
331 | ||
332 | scm: | |
333 | - git: | |
334 | url: https://review.lttng.org/babeltrace | |
335 | refspec: 'refs/changes/*:refs/changes/*' | |
336 | branches: | |
337 | - '$GERRIT_REFSPEC' | |
338 | basedir: src/babeltrace | |
339 | skip-tag: true | |
340 | ||
341 | triggers: | |
342 | - gerrit: | |
343 | trigger-on: | |
344 | - comment-added-event: | |
345 | approval-category: 'CI-Build' | |
346 | approval-value: 1 | |
347 | projects: | |
348 | - project-compare-type: 'PLAIN' | |
349 | project-pattern: 'babeltrace' | |
350 | branches: | |
351 | - branch-compare-type: 'ANT' | |
352 | branch-pattern: '**' | |
c871b3d3 | 353 | |
c871b3d3 MJ |
354 | properties: |
355 | - inject: | |
356 | properties-content: | | |
357 | PROJECT_NAME=babeltrace | |
358 | - build-discarder: | |
9fd34023 MJ |
359 | days-to-keep: 1 |
360 | - throttle: | |
361 | option: 'category' | |
362 | categories: | |
6c7048dc | 363 | - 'gerrit-{buildtype}' |
c871b3d3 | 364 | |
0f505d21 MJ |
365 | <<: *babeltrace_matrix_axes_defaults |
366 | <<: *babeltrace_builders_defaults | |
086e5af5 | 367 | <<: *babeltrace_publishers_gerrit |
5d26e468 | 368 | |
8abe9f8a MJ |
369 | - job-template: |
370 | name: babeltrace_{version}_release | |
371 | defaults: babeltrace | |
776b0d3d | 372 | node: 'bionic-amd64' |
8abe9f8a MJ |
373 | |
374 | triggers: | |
375 | - pollscm: | |
376 | cron: "@daily" | |
377 | ||
378 | scm: | |
379 | - git: | |
4d27af8f | 380 | url: https://github.com/{github_user}/{github_name}.git |
8abe9f8a MJ |
381 | browser: githubweb |
382 | browser-url: https://github.com/{github_user}/{github_name} | |
383 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' | |
384 | branches: | |
385 | - '*/tags/{version}.*' | |
386 | basedir: src/babeltrace | |
387 | ||
388 | builders: | |
389 | - shell: | |
390 | !include-raw-escape: scripts/babeltrace/release.sh | |
391 | ||
392 | publishers: | |
0f505d21 MJ |
393 | - tap: *babeltrace_publisher_tap_defaults |
394 | - raw: *babeltrace_publisher_warnings-ng_defaults | |
395 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
8abe9f8a MJ |
396 | - archive: |
397 | artifacts: 'out/**,tap/**' | |
398 | allow-empty: false | |
b9f743ce | 399 | fingerprint: true |
8abe9f8a | 400 | |
07fd33e1 | 401 | - job-template: |
af11423c | 402 | name: dev_gerrit_babeltrace_pylint |
07fd33e1 MJ |
403 | defaults: babeltrace |
404 | concurrent: true | |
405 | ||
406 | scm: | |
407 | - git: | |
408 | url: https://review.lttng.org/babeltrace | |
409 | refspec: 'refs/changes/*:refs/changes/*' | |
410 | branches: | |
411 | - '$GERRIT_REFSPEC' | |
412 | basedir: src/babeltrace | |
413 | skip-tag: true | |
414 | ||
415 | triggers: | |
416 | - gerrit: | |
417 | trigger-on: | |
418 | - comment-added-event: | |
419 | approval-category: 'CI-Build' | |
420 | approval-value: 1 | |
421 | projects: | |
422 | - project-compare-type: 'PLAIN' | |
423 | project-pattern: 'babeltrace' | |
424 | branches: | |
425 | - branch-compare-type: 'ANT' | |
426 | branch-pattern: '**' | |
07fd33e1 | 427 | |
776b0d3d | 428 | node: 'bionic-amd64' |
07fd33e1 MJ |
429 | |
430 | builders: | |
431 | - shell: | |
af11423c | 432 | !include-raw-escape: scripts/babeltrace/pylint.sh |
07fd33e1 MJ |
433 | |
434 | properties: | |
435 | - inject: | |
436 | properties-content: | | |
437 | PROJECT_NAME=babeltrace | |
438 | - build-discarder: | |
439 | days-to-keep: 1 | |
07fd33e1 | 440 | |
890bff23 MJ |
441 | - job-template: |
442 | name: babeltrace_{version}_cppcheck | |
443 | defaults: babeltrace | |
444 | ||
445 | triggers: | |
6cf22a3a MJ |
446 | - pollscm: |
447 | cron: "@daily" | |
890bff23 MJ |
448 | |
449 | builders: | |
450 | - shell: | | |
5279b0f2 MJ |
451 | rm -f cppcheck-result.xml |
452 | cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml | |
890bff23 MJ |
453 | |
454 | publishers: | |
0f505d21 | 455 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 456 | - archive: |
5279b0f2 | 457 | artifacts: 'cppcheck-result.xml' |
890bff23 | 458 | allow-empty: false |
890bff23 | 459 | - cppcheck: |
5279b0f2 | 460 | pattern: 'cppcheck-result.xml' |
890bff23 MJ |
461 | |
462 | - job-template: | |
463 | name: babeltrace_{version}_scan-build | |
464 | defaults: babeltrace | |
776b0d3d | 465 | node: 'bionic-amd64' |
890bff23 MJ |
466 | |
467 | triggers: | |
6cf22a3a MJ |
468 | - pollscm: |
469 | cron: "@daily" | |
890bff23 MJ |
470 | |
471 | builders: | |
472 | - shell: | |
69f05d59 | 473 | !include-raw-escape: scripts/common/scan-build.sh |
890bff23 MJ |
474 | |
475 | publishers: | |
0f505d21 | 476 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 MJ |
477 | - html-publisher: |
478 | name: 'HTML Report' | |
479 | dir: 'scan-build-archive/' | |
480 | files: 'index.html' | |
481 | ||
6cf22a3a MJ |
482 | - job-template: |
483 | name: babeltrace_{version}_coverity | |
484 | defaults: babeltrace | |
776b0d3d | 485 | node: 'bionic-amd64' |
6cf22a3a MJ |
486 | |
487 | triggers: | |
488 | - pollscm: | |
489 | cron: "@daily" | |
490 | ||
491 | wrappers: | |
0f505d21 MJ |
492 | - ansicolor: *babeltrace_wrapper_ansicolor_defaults |
493 | - timeout: *babeltrace_wrapper_timeout_defaults | |
6cf22a3a | 494 | - timestamps |
0f505d21 | 495 | - workspace-cleanup |
6cf22a3a MJ |
496 | - credentials-binding: |
497 | - username-password-separated: | |
498 | credential-id: babeltrace_coverity_token | |
499 | username: COVERITY_SCAN_PROJECT_NAME | |
500 | password: COVERITY_SCAN_TOKEN | |
0f505d21 | 501 | |
6cf22a3a MJ |
502 | builders: |
503 | - shell: | |
ef63064f | 504 | !include-raw-escape: scripts/common/coverity.sh |
6cf22a3a MJ |
505 | |
506 | publishers: | |
0f505d21 | 507 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
73778992 MJ |
508 | - archive: |
509 | artifacts: 'analysis-results.tgz,cov-int/**' | |
510 | allow-empty: false | |
890bff23 MJ |
511 | |
512 | - job-template: | |
513 | name: babeltrace_{version}_pylint | |
514 | defaults: babeltrace | |
776b0d3d | 515 | node: 'bionic-amd64' |
890bff23 | 516 | |
890bff23 | 517 | triggers: |
6cf22a3a MJ |
518 | - pollscm: |
519 | cron: "@daily" | |
890bff23 MJ |
520 | |
521 | builders: | |
890bff23 | 522 | - shell: |
ef63064f | 523 | !include-raw-escape: scripts/babeltrace/pylint.sh |
890bff23 MJ |
524 | |
525 | publishers: | |
0f505d21 | 526 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 527 | - archive: |
af11423c | 528 | artifacts: 'black.out,flake8.out' |
0f505d21 MJ |
529 | allow-empty: false |
530 | - email-ext: *babeltrace_publisher_email-ext_defaults | |
556e87cc JR |
531 | |
532 | - job-template: | |
76f37297 MJ |
533 | name: '{job_prefix}babeltrace_{version}_glib-2.28.6' |
534 | defaults: babeltrace | |
776b0d3d | 535 | node: 'bionic-amd64' |
890bff23 | 536 | |
0f505d21 MJ |
537 | <<: *babeltrace_builders_glib-2-28-6 |
538 | <<: *babeltrace_publishers_defaults | |
b9c55ae7 | 539 | |
07dafe32 MJ |
540 | |
541 | ## Views | |
542 | - view-template: | |
543 | name: 'Babeltrace' | |
544 | view-type: list | |
545 | regex: 'babeltrace[-_].*' | |
546 | ||
547 | ||
548 | ## Projects | |
624c5a25 MJ |
549 | - project: |
550 | name: babeltrace2 | |
c8071f5f | 551 | job_prefix: '' |
624c5a25 MJ |
552 | github_user: efficios |
553 | github_name: babeltrace | |
554 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
555 | version: | |
556 | - stable-2.0 | |
557 | - master | |
558 | jobs: | |
776b0d3d MJ |
559 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
560 | buildtype: linuxbuild | |
561 | platforms: !!python/tuple [jammy-amd64] | |
562 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
563 | confs: !!python/tuple [std, static, prod, min, doc] | |
564 | filter: '' | |
565 | touchstone: '(build == "std") && (conf == "std")' | |
0f505d21 | 566 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 567 | buildtype: build |
776b0d3d | 568 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 | 569 | builds: !!python/tuple [std, oot, dist, oot-dist] |
301b8fc9 | 570 | confs: !!python/tuple [std, static, prod, min, doc] |
0f505d21 MJ |
571 | filter: '' |
572 | touchstone: '(build == "std") && (conf == "std")' | |
573 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
624c5a25 | 574 | buildtype: portbuild |
776b0d3d | 575 | platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
0f505d21 MJ |
576 | builds: !!python/tuple [std] |
577 | confs: !!python/tuple [std, prod] | |
578 | filter: '' | |
776b0d3d | 579 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")' |
0f505d21 | 580 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 581 | buildtype: slesbuild |
776b0d3d | 582 | platforms: !!python/tuple [sles12sp5-amd64] |
0f505d21 MJ |
583 | builds: !!python/tuple [std] |
584 | confs: !!python/tuple [std, prod] | |
585 | filter: '' | |
586 | touchstone: '' | |
587 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
568b5cbd | 588 | buildtype: elbuild |
776b0d3d | 589 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
0f505d21 MJ |
590 | builds: !!python/tuple [std] |
591 | confs: !!python/tuple [std, prod] | |
592 | filter: '' | |
593 | touchstone: '' | |
594 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
f0d7e5b1 | 595 | buildtype: macosbuild |
776b0d3d | 596 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
597 | builds: !!python/tuple [std] |
598 | confs: !!python/tuple [std, prod] | |
599 | filter: '' | |
600 | touchstone: '' | |
601 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
894db5f1 | 602 | buildtype: freebsdbuild |
776b0d3d | 603 | platforms: !!python/tuple [freebsd-amd64] |
0f505d21 MJ |
604 | builds: !!python/tuple [std] |
605 | confs: !!python/tuple [std, prod] | |
606 | filter: '' | |
607 | touchstone: '' | |
608 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
609 | buildtype: winbuild | |
776b0d3d | 610 | platforms: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64] |
0f505d21 MJ |
611 | builds: !!python/tuple [std] |
612 | confs: !!python/tuple [std] | |
613 | filter: '' | |
614 | touchstone: '' | |
624c5a25 MJ |
615 | - 'babeltrace_{version}_{cctype}': |
616 | cctype: clangbuild | |
776b0d3d | 617 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 MJ |
618 | builds: !!python/tuple [std] |
619 | confs: !!python/tuple [std, static, prod] | |
620 | ccs: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] | |
621 | filter: '' | |
622 | touchstone: '' | |
8abe9f8a MJ |
623 | - 'babeltrace_{version}_release': |
624 | version: v2.0 | |
890bff23 MJ |
625 | - 'babeltrace_{version}_cppcheck' |
626 | - 'babeltrace_{version}_scan-build' | |
627 | - 'babeltrace_{version}_pylint' | |
6cf22a3a MJ |
628 | - 'babeltrace_{version}_coverity': |
629 | version: master | |
0f505d21 | 630 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
556e87cc | 631 | version: master |
a0b535b2 | 632 | |
07dafe32 MJ |
633 | - project: |
634 | name: gerrit-babeltrace | |
c8071f5f | 635 | job_prefix: '' |
07dafe32 MJ |
636 | github_user: efficios |
637 | github_name: babeltrace | |
638 | jobs: | |
639 | - 'dev_gerrit_babeltrace_{buildtype}': | |
640 | buildtype: build | |
776b0d3d | 641 | platforms: !!python/tuple [bionic-amd64, deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
0f505d21 MJ |
642 | builds: !!python/tuple [std, oot, dist, oot-dist] |
643 | confs: !!python/tuple [std, static, prod, min] | |
776b0d3d | 644 | filter: '(build=="std" && conf=="std") || (platform=="bionic-amd64")' |
0f505d21 | 645 | touchstone: '' |
9fd34023 | 646 | - 'dev_gerrit_babeltrace_{buildtype}': |
f0d7e5b1 | 647 | buildtype: macosbuild |
776b0d3d | 648 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
649 | builds: !!python/tuple [std] |
650 | confs: !!python/tuple [std, prod] | |
9fd34023 | 651 | filter: '' |
0f505d21 MJ |
652 | touchstone: '' |
653 | - 'dev_gerrit_babeltrace_{buildtype}': | |
654 | buildtype: winbuild | |
776b0d3d | 655 | platforms: !!python/tuple [cygwin64, msys2-mingw64] |
0f505d21 MJ |
656 | builds: !!python/tuple [std] |
657 | confs: !!python/tuple [std] | |
658 | filter: '' | |
659 | touchstone: '' | |
af11423c | 660 | - 'dev_gerrit_babeltrace_pylint' |
07dafe32 MJ |
661 | |
662 | ||
76f37297 MJ |
663 | - project: |
664 | name: dev_upstream_babeltrace | |
665 | job_prefix: dev_upstream_ | |
666 | github_user: efficios | |
667 | github_name: babeltrace | |
668 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
669 | version: | |
670 | - stable-1.5 | |
671 | jobs: | |
672 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
776b0d3d MJ |
673 | buildtype: linuxbuild |
674 | platforms: !!python/tuple [jammy-amd64] | |
0f505d21 MJ |
675 | builds: !!python/tuple [std, oot, dist, oot-dist] |
676 | confs: !!python/tuple [std, static, python-bindings] | |
677 | filter: '' | |
678 | touchstone: '(build == "std") && (conf == "std")' | |
76f37297 MJ |
679 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
680 | buildtype: portbuild | |
776b0d3d | 681 | platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
0f505d21 MJ |
682 | builds: !!python/tuple [std] |
683 | confs: !!python/tuple [std, python-bindings] | |
684 | filter: '' | |
776b0d3d | 685 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")' |
76f37297 MJ |
686 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
687 | buildtype: slesbuild | |
776b0d3d | 688 | platforms: !!python/tuple [sles12sp5-amd64] |
0f505d21 MJ |
689 | builds: !!python/tuple [std] |
690 | confs: !!python/tuple [std] | |
691 | filter: '' | |
692 | touchstone: '' | |
76f37297 MJ |
693 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
694 | buildtype: elbuild | |
776b0d3d | 695 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
0f505d21 MJ |
696 | builds: !!python/tuple [std] |
697 | confs: !!python/tuple [std] | |
698 | filter: '' | |
699 | touchstone: '' | |
2f228988 MJ |
700 | - 'babeltrace_{version}_release': |
701 | version: v1.5 | |
76f37297 MJ |
702 | |
703 | ||
a0b535b2 MJ |
704 | - project: |
705 | name: babeltrace-jgalar-staging | |
76f37297 | 706 | job_prefix: 'dev_jgalar_' |
a0b535b2 MJ |
707 | github_user: jgalar |
708 | github_name: babeltrace | |
499a96d0 | 709 | email_to: "jgalar@efficios.com" |
a0b535b2 | 710 | version: |
a0b535b2 | 711 | - stable-1.5-staging |
a0b535b2 | 712 | jobs: |
76f37297 | 713 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
4f827afb | 714 | buildtype: build |
776b0d3d | 715 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 MJ |
716 | builds: !!python/tuple [std, oot, dist, oot-dist] |
717 | confs: !!python/tuple [std, static, python-bindings] | |
718 | filter: '' | |
719 | touchstone: '' | |
76f37297 | 720 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 721 | buildtype: macosbuild |
776b0d3d | 722 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
723 | builds: !!python/tuple [std] |
724 | confs: !!python/tuple [std] | |
725 | filter: '' | |
726 | touchstone: '' | |
890bff23 | 727 | |
c871b3d3 MJ |
728 | |
729 | - project: | |
07dafe32 | 730 | name: babeltrace2-jgalar-staging |
76f37297 | 731 | job_prefix: 'dev_jgalar_' |
07dafe32 | 732 | github_user: jgalar |
c871b3d3 | 733 | github_name: babeltrace |
07dafe32 MJ |
734 | email_to: "jgalar@efficios.com" |
735 | version: | |
736 | - stable-2.0-staging | |
737 | - master-staging | |
c871b3d3 | 738 | jobs: |
76f37297 | 739 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
07dafe32 MJ |
740 | version: |
741 | - master-staging | |
76f37297 | 742 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
c871b3d3 | 743 | buildtype: build |
776b0d3d | 744 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 MJ |
745 | builds: !!python/tuple [std, oot, dist, oot-dist] |
746 | confs: !!python/tuple [std, static, prod, min] | |
747 | filter: '' | |
748 | touchstone: '' | |
76f37297 | 749 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 750 | buildtype: macosbuild |
776b0d3d | 751 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
752 | builds: !!python/tuple [std] |
753 | confs: !!python/tuple [std, prod] | |
754 | filter: '' | |
755 | touchstone: '' | |
07dafe32 MJ |
756 | |
757 | - project: | |
758 | name: babeltrace-views | |
759 | views: | |
760 | - Babeltrace |