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 MJ |
46 | - build-discarder: |
47 | num-to-keep: 2 | |
890bff23 | 48 | - github: |
4f827afb | 49 | url: https://github.com/{github_user}/{github_name} |
890bff23 MJ |
50 | |
51 | ||
b9c55ae7 | 52 | ## Anchors |
0f505d21 MJ |
53 | - babeltrace_matrix_axes_defaults: &babeltrace_matrix_axes_defaults |
54 | name: 'babeltrace_matrix_axes_defaults' | |
890bff23 | 55 | project-type: matrix |
ca8c6144 | 56 | node: 'master' # Applies only to matrix flyweight task |
0f505d21 MJ |
57 | execution-strategy: |
58 | combination-filter: '{filter}' | |
59 | touchstone: | |
60 | expr: '{touchstone}' | |
61 | result: unstable | |
890bff23 | 62 | axes: |
086e5af5 | 63 | - axis: &babeltrace_matrix_axis_arch |
890bff23 MJ |
64 | type: slave |
65 | name: arch | |
0f505d21 | 66 | values: '{obj:archs}' |
086e5af5 | 67 | - axis: &babeltrace_matrix_axis_conf |
890bff23 MJ |
68 | type: user-defined |
69 | name: conf | |
0f505d21 | 70 | values: '{obj:confs}' |
086e5af5 | 71 | - axis: &babeltrace_matrix_axis_build |
890bff23 MJ |
72 | type: user-defined |
73 | name: build | |
0f505d21 MJ |
74 | values: '{obj:builds}' |
75 | ||
76 | - babeltrace_matrix_axes_cc: &babeltrace_matrix_axes_cc | |
77 | name: 'babeltrace_matrix_axes_cc' | |
78 | ||
79 | <<: *babeltrace_matrix_axes_defaults | |
890bff23 | 80 | |
6476f917 | 81 | axes: |
086e5af5 MJ |
82 | - axis: *babeltrace_matrix_axis_arch |
83 | - axis: *babeltrace_matrix_axis_conf | |
84 | - axis: *babeltrace_matrix_axis_build | |
85 | - axis: &babeltrace_matrix_axis_cc | |
6476f917 MJ |
86 | type: user-defined |
87 | name: cc | |
0f505d21 | 88 | values: '{obj:ccs}' |
6476f917 | 89 | |
0f505d21 MJ |
90 | - babeltrace_builders_defaults: &babeltrace_builders_defaults |
91 | name: 'babeltrace_builders_defaults' | |
b9c55ae7 | 92 | builders: |
0f505d21 MJ |
93 | !j2-yaml: | |
94 | {% if buildtype is defined and buildtype == 'winbuild' %} | |
b9c55ae7 MJ |
95 | - conditional-step: |
96 | condition-kind: strings-match | |
97 | on-evaluation-failure: run | |
0f505d21 | 98 | condition-string1: {{ '${{arch}}' }} |
b9c55ae7 MJ |
99 | condition-string2: 'cygwin64' |
100 | steps: | |
101 | - shell: | |
102 | !include-raw-escape: | |
103 | - scripts/common/cygwin64-shebang | |
cefcd7f8 | 104 | - scripts/common/cygpath-prefix |
51c9c62d | 105 | - scripts/common/print.sh |
b9c55ae7 MJ |
106 | - scripts/babeltrace/build.sh |
107 | - conditional-step: | |
108 | condition-kind: strings-match | |
109 | on-evaluation-failure: run | |
0f505d21 | 110 | condition-string1: {{ '${{arch}}' }} |
8f541678 | 111 | condition-string2: 'msys2-mingw32' |
b9c55ae7 MJ |
112 | steps: |
113 | - inject: | |
114 | properties-content: 'MSYSTEM=MINGW32' | |
115 | - shell: | |
116 | !include-raw-escape: | |
8f541678 | 117 | - scripts/common/msys2-shebang |
cefcd7f8 | 118 | - scripts/common/cygpath-prefix |
51c9c62d | 119 | - scripts/common/print.sh |
b9c55ae7 MJ |
120 | - scripts/babeltrace/build.sh |
121 | - conditional-step: | |
122 | condition-kind: strings-match | |
123 | on-evaluation-failure: run | |
0f505d21 | 124 | condition-string1: {{ '${{arch}}' }} |
8f541678 | 125 | condition-string2: 'msys2-mingw64' |
b9c55ae7 MJ |
126 | steps: |
127 | - inject: | |
128 | properties-content: 'MSYSTEM=MINGW64' | |
129 | - shell: | |
130 | !include-raw-escape: | |
8f541678 | 131 | - scripts/common/msys2-shebang |
cefcd7f8 | 132 | - scripts/common/cygpath-prefix |
51c9c62d | 133 | - scripts/common/print.sh |
b9c55ae7 | 134 | - scripts/babeltrace/build.sh |
0f505d21 MJ |
135 | {% else %} |
136 | - shell: | |
137 | !include-raw-escape: | |
138 | - scripts/common/print.sh | |
139 | - scripts/babeltrace/build.sh | |
140 | {% endif %} | |
b9c55ae7 | 141 | |
76f37297 | 142 | # Use - in version number since yaml anchor do not support dot |
0f505d21 MJ |
143 | - babeltrace_builders_glib-2-28-6: &babeltrace_builders_glib-2-28-6 |
144 | name: 'babeltrace_builders_glib-2-28-6' | |
76f37297 MJ |
145 | builders: |
146 | - inject: | |
147 | properties-content: | | |
148 | LD_LIBRARY_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib | |
149 | PKG_CONFIG_PATH=$WORKSPACE/glib-2.28.6/BUILD_RESULT/lib/pkgconfig | |
150 | arch=amd64 | |
151 | conf=std | |
152 | build=std | |
153 | - shell: | | |
154 | wget http://ftp.gnome.org/pub/gnome/sources/glib/2.28/glib-2.28.6.tar.gz | |
155 | tar xvf glib-2.28.6.tar.gz | |
156 | cd glib-2.28.6 | |
157 | mkdir BUILD_RESULT | |
158 | ./configure --prefix=$WORKSPACE/glib-2.28.6/BUILD_RESULT | |
159 | make -j `nproc` >/dev/null 2>&1 # Hide warnings | |
160 | make install | |
161 | - shell: | |
162 | !include-raw-escape: | |
163 | - scripts/common/print.sh | |
164 | - scripts/babeltrace/build.sh | |
b9c55ae7 | 165 | |
0f505d21 MJ |
166 | - babeltrace_publishers_defaults: &babeltrace_publishers_defaults |
167 | name: 'babeltrace_publishers_defaults' | |
b9c55ae7 | 168 | publishers: |
0f505d21 | 169 | - tap: &babeltrace_publisher_tap_defaults |
0efb2471 | 170 | results: 'tap/**/*.log' |
1d56e325 | 171 | fail-if-no-results: true |
0efb2471 JR |
172 | failed-tests-mark-build-as-failure: true |
173 | todo-is-failure: false | |
0f505d21 MJ |
174 | - raw: &babeltrace_publisher_warnings-ng_defaults |
175 | xml: | | |
176 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
177 | <analysisTools> | |
178 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
179 | <id/> | |
180 | <name/> | |
181 | <jenkins plugin="plugin-util-api"/> | |
182 | <pattern/> | |
183 | <reportEncoding/> | |
184 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
185 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
186 | <io.jenkins.plugins.analysis.warnings.Clang> | |
187 | <id/> | |
188 | <name/> | |
189 | <jenkins plugin="plugin-util-api"/> | |
190 | <pattern/> | |
191 | <reportEncoding/> | |
192 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
193 | </io.jenkins.plugins.analysis.warnings.Clang> | |
194 | </analysisTools> | |
195 | <sourceCodeEncoding/> | |
196 | <sourceDirectory/> | |
197 | <sourceDirectories/> | |
198 | <ignoreQualityGate>false</ignoreQualityGate> | |
199 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
200 | <failOnError>false</failOnError> | |
201 | <healthy>0</healthy> | |
202 | <unhealthy>0</unhealthy> | |
203 | <minimumSeverity plugin="analysis-model-api"> | |
204 | <name>LOW</name> | |
205 | </minimumSeverity> | |
206 | <filters/> | |
207 | <isEnabledForFailure>true</isEnabledForFailure> | |
208 | <isAggregatingResults>true</isAggregatingResults> | |
209 | <isBlameDisabled>false</isBlameDisabled> | |
210 | <skipPublishingChecks>true</skipPublishingChecks> | |
211 | <publishAllIssues>false</publishAllIssues> | |
212 | <qualityGates> | |
213 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
214 | <threshold>1</threshold> | |
215 | <type>TOTAL</type> | |
216 | <status>WARNING</status> | |
217 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
218 | </qualityGates> | |
219 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
220 | <scm/> | |
221 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
222 | - archive: &babeltrace_publisher_archive_defaults | |
9d56171a | 223 | artifacts: 'build/**,tap/**' |
890bff23 | 224 | allow-empty: false |
0f505d21 MJ |
225 | - workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults |
226 | clean-if: | |
227 | - failure: false | |
228 | - email-ext: &babeltrace_publisher_email-ext_defaults | |
499a96d0 JR |
229 | recipients: '{obj:email_to}' |
230 | reply-to: ci-notification@lists.lttng.org | |
231 | always: false | |
232 | unstable: false | |
233 | first-failure: true | |
234 | first-unstable: true | |
235 | not-built: false | |
236 | aborted: false | |
237 | regression: false | |
238 | failure: false | |
239 | second-failure: false | |
240 | improvement: false | |
241 | still-failing: false | |
242 | success: false | |
243 | fixed: false | |
244 | fixed-unhealthy: true | |
245 | still-unstable: false | |
246 | pre-build: false | |
247 | matrix-trigger: only-parent | |
248 | send-to: | |
249 | - recipients | |
890bff23 | 250 | |
086e5af5 MJ |
251 | - babeltrace_publishers_gerrit: &babeltrace_publishers_gerrit |
252 | name: 'babeltrace_publishers_gerrit' | |
c871b3d3 | 253 | publishers: |
0f505d21 | 254 | - tap: *babeltrace_publisher_tap_defaults |
8aef6eab MJ |
255 | # Fail job on any compiler warnings |
256 | - raw: | |
257 | xml: | | |
258 | <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng"> | |
259 | <analysisTools> | |
260 | <io.jenkins.plugins.analysis.warnings.Gcc4> | |
261 | <id/> | |
262 | <name/> | |
263 | <jenkins plugin="plugin-util-api"/> | |
264 | <pattern/> | |
265 | <reportEncoding/> | |
266 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
267 | </io.jenkins.plugins.analysis.warnings.Gcc4> | |
268 | <io.jenkins.plugins.analysis.warnings.Clang> | |
269 | <id/> | |
270 | <name/> | |
271 | <jenkins plugin="plugin-util-api"/> | |
272 | <pattern/> | |
273 | <reportEncoding/> | |
274 | <skipSymbolicLinks>false</skipSymbolicLinks> | |
275 | </io.jenkins.plugins.analysis.warnings.Clang> | |
276 | </analysisTools> | |
277 | <sourceCodeEncoding/> | |
278 | <sourceDirectory/> | |
279 | <sourceDirectories/> | |
280 | <ignoreQualityGate>false</ignoreQualityGate> | |
281 | <ignoreFailedBuilds>true</ignoreFailedBuilds> | |
282 | <failOnError>false</failOnError> | |
283 | <healthy>0</healthy> | |
284 | <unhealthy>0</unhealthy> | |
285 | <minimumSeverity plugin="analysis-model-api"> | |
286 | <name>LOW</name> | |
287 | </minimumSeverity> | |
288 | <filters/> | |
289 | <isEnabledForFailure>true</isEnabledForFailure> | |
290 | <isAggregatingResults>true</isAggregatingResults> | |
291 | <isBlameDisabled>false</isBlameDisabled> | |
292 | <skipPublishingChecks>true</skipPublishingChecks> | |
293 | <publishAllIssues>false</publishAllIssues> | |
294 | <qualityGates> | |
295 | <io.jenkins.plugins.analysis.core.util.QualityGate> | |
296 | <threshold>1</threshold> | |
297 | <type>TOTAL</type> | |
298 | <status>FAILED</status> | |
299 | </io.jenkins.plugins.analysis.core.util.QualityGate> | |
300 | </qualityGates> | |
301 | <trendChartType>AGGREGATION_TOOLS</trendChartType> | |
302 | <scm/> | |
303 | </io.jenkins.plugins.analysis.core.steps.IssuesRecorder> | |
0f505d21 MJ |
304 | - archive: *babeltrace_publisher_archive_defaults |
305 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
c871b3d3 MJ |
306 | |
307 | ||
0f505d21 | 308 | ## Job Templates |
b9c55ae7 | 309 | |
c8071f5f MJ |
310 | - job-template: |
311 | name: '{job_prefix}babeltrace_{version}_{buildtype}' | |
312 | defaults: babeltrace | |
313 | ||
0f505d21 MJ |
314 | <<: *babeltrace_matrix_axes_defaults |
315 | <<: *babeltrace_builders_defaults | |
316 | <<: *babeltrace_publishers_defaults | |
c8071f5f | 317 | |
6476f917 MJ |
318 | - job-template: |
319 | name: babeltrace_{version}_{cctype} | |
320 | defaults: babeltrace | |
321 | ||
0f505d21 MJ |
322 | <<: *babeltrace_matrix_axes_cc |
323 | <<: *babeltrace_builders_defaults | |
324 | <<: *babeltrace_publishers_defaults | |
4f827afb | 325 | |
c871b3d3 MJ |
326 | - job-template: |
327 | name: dev_gerrit_babeltrace_{buildtype} | |
328 | defaults: babeltrace | |
329 | concurrent: true | |
330 | ||
331 | scm: | |
332 | - git: | |
333 | url: https://review.lttng.org/babeltrace | |
334 | refspec: 'refs/changes/*:refs/changes/*' | |
335 | branches: | |
336 | - '$GERRIT_REFSPEC' | |
337 | basedir: src/babeltrace | |
338 | skip-tag: true | |
339 | ||
340 | triggers: | |
341 | - gerrit: | |
342 | trigger-on: | |
343 | - comment-added-event: | |
344 | approval-category: 'CI-Build' | |
345 | approval-value: 1 | |
346 | projects: | |
347 | - project-compare-type: 'PLAIN' | |
348 | project-pattern: 'babeltrace' | |
349 | branches: | |
350 | - branch-compare-type: 'ANT' | |
351 | branch-pattern: '**' | |
c871b3d3 | 352 | |
c871b3d3 MJ |
353 | properties: |
354 | - inject: | |
355 | properties-content: | | |
356 | PROJECT_NAME=babeltrace | |
357 | - build-discarder: | |
9fd34023 MJ |
358 | days-to-keep: 1 |
359 | - throttle: | |
360 | option: 'category' | |
361 | categories: | |
6c7048dc | 362 | - 'gerrit-{buildtype}' |
c871b3d3 | 363 | |
0f505d21 MJ |
364 | <<: *babeltrace_matrix_axes_defaults |
365 | <<: *babeltrace_builders_defaults | |
086e5af5 | 366 | <<: *babeltrace_publishers_gerrit |
5d26e468 | 367 | |
8abe9f8a MJ |
368 | - job-template: |
369 | name: babeltrace_{version}_release | |
370 | defaults: babeltrace | |
371 | node: 'amd64' | |
372 | ||
373 | triggers: | |
374 | - pollscm: | |
375 | cron: "@daily" | |
376 | ||
377 | scm: | |
378 | - git: | |
4d27af8f | 379 | url: https://github.com/{github_user}/{github_name}.git |
8abe9f8a MJ |
380 | browser: githubweb |
381 | browser-url: https://github.com/{github_user}/{github_name} | |
382 | refspec: '+refs/tags/*:refs/remotes/origin/tags/*' | |
383 | branches: | |
384 | - '*/tags/{version}.*' | |
385 | basedir: src/babeltrace | |
386 | ||
387 | builders: | |
388 | - shell: | |
389 | !include-raw-escape: scripts/babeltrace/release.sh | |
390 | ||
391 | publishers: | |
0f505d21 MJ |
392 | - tap: *babeltrace_publisher_tap_defaults |
393 | - raw: *babeltrace_publisher_warnings-ng_defaults | |
394 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults | |
8abe9f8a MJ |
395 | - archive: |
396 | artifacts: 'out/**,tap/**' | |
397 | allow-empty: false | |
398 | ||
07fd33e1 | 399 | - job-template: |
af11423c | 400 | name: dev_gerrit_babeltrace_pylint |
07fd33e1 MJ |
401 | defaults: babeltrace |
402 | concurrent: true | |
403 | ||
404 | scm: | |
405 | - git: | |
406 | url: https://review.lttng.org/babeltrace | |
407 | refspec: 'refs/changes/*:refs/changes/*' | |
408 | branches: | |
409 | - '$GERRIT_REFSPEC' | |
410 | basedir: src/babeltrace | |
411 | skip-tag: true | |
412 | ||
413 | triggers: | |
414 | - gerrit: | |
415 | trigger-on: | |
416 | - comment-added-event: | |
417 | approval-category: 'CI-Build' | |
418 | approval-value: 1 | |
419 | projects: | |
420 | - project-compare-type: 'PLAIN' | |
421 | project-pattern: 'babeltrace' | |
422 | branches: | |
423 | - branch-compare-type: 'ANT' | |
424 | branch-pattern: '**' | |
07fd33e1 MJ |
425 | |
426 | node: 'amd64' | |
427 | ||
428 | builders: | |
429 | - shell: | |
af11423c | 430 | !include-raw-escape: scripts/babeltrace/pylint.sh |
07fd33e1 MJ |
431 | |
432 | properties: | |
433 | - inject: | |
434 | properties-content: | | |
435 | PROJECT_NAME=babeltrace | |
436 | - build-discarder: | |
437 | days-to-keep: 1 | |
07fd33e1 | 438 | |
890bff23 MJ |
439 | - job-template: |
440 | name: babeltrace_{version}_cppcheck | |
441 | defaults: babeltrace | |
442 | ||
443 | triggers: | |
6cf22a3a MJ |
444 | - pollscm: |
445 | cron: "@daily" | |
890bff23 MJ |
446 | |
447 | builders: | |
448 | - shell: | | |
5279b0f2 MJ |
449 | rm -f cppcheck-result.xml |
450 | cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml | |
890bff23 MJ |
451 | |
452 | publishers: | |
0f505d21 | 453 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 454 | - archive: |
5279b0f2 | 455 | artifacts: 'cppcheck-result.xml' |
890bff23 | 456 | allow-empty: false |
890bff23 | 457 | - cppcheck: |
5279b0f2 | 458 | pattern: 'cppcheck-result.xml' |
890bff23 MJ |
459 | |
460 | - job-template: | |
461 | name: babeltrace_{version}_scan-build | |
462 | defaults: babeltrace | |
16844a6d | 463 | node: 'amd64' |
890bff23 MJ |
464 | |
465 | triggers: | |
6cf22a3a MJ |
466 | - pollscm: |
467 | cron: "@daily" | |
890bff23 MJ |
468 | |
469 | builders: | |
470 | - shell: | |
69f05d59 | 471 | !include-raw-escape: scripts/common/scan-build.sh |
890bff23 MJ |
472 | |
473 | publishers: | |
0f505d21 | 474 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 MJ |
475 | - html-publisher: |
476 | name: 'HTML Report' | |
477 | dir: 'scan-build-archive/' | |
478 | files: 'index.html' | |
479 | ||
6cf22a3a MJ |
480 | - job-template: |
481 | name: babeltrace_{version}_coverity | |
482 | defaults: babeltrace | |
16844a6d | 483 | node: 'amd64' |
6cf22a3a MJ |
484 | |
485 | triggers: | |
486 | - pollscm: | |
487 | cron: "@daily" | |
488 | ||
489 | wrappers: | |
0f505d21 MJ |
490 | - ansicolor: *babeltrace_wrapper_ansicolor_defaults |
491 | - timeout: *babeltrace_wrapper_timeout_defaults | |
6cf22a3a | 492 | - timestamps |
0f505d21 | 493 | - workspace-cleanup |
6cf22a3a MJ |
494 | - credentials-binding: |
495 | - username-password-separated: | |
496 | credential-id: babeltrace_coverity_token | |
497 | username: COVERITY_SCAN_PROJECT_NAME | |
498 | password: COVERITY_SCAN_TOKEN | |
0f505d21 | 499 | |
6cf22a3a MJ |
500 | builders: |
501 | - shell: | |
ef63064f | 502 | !include-raw-escape: scripts/common/coverity.sh |
6cf22a3a MJ |
503 | |
504 | publishers: | |
0f505d21 | 505 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
73778992 MJ |
506 | - archive: |
507 | artifacts: 'analysis-results.tgz,cov-int/**' | |
508 | allow-empty: false | |
890bff23 MJ |
509 | |
510 | - job-template: | |
511 | name: babeltrace_{version}_pylint | |
512 | defaults: babeltrace | |
16844a6d | 513 | node: 'amd64' |
890bff23 | 514 | |
890bff23 | 515 | triggers: |
6cf22a3a MJ |
516 | - pollscm: |
517 | cron: "@daily" | |
890bff23 MJ |
518 | |
519 | builders: | |
890bff23 | 520 | - shell: |
ef63064f | 521 | !include-raw-escape: scripts/babeltrace/pylint.sh |
890bff23 MJ |
522 | |
523 | publishers: | |
0f505d21 | 524 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 525 | - archive: |
af11423c | 526 | artifacts: 'black.out,flake8.out' |
0f505d21 MJ |
527 | allow-empty: false |
528 | - email-ext: *babeltrace_publisher_email-ext_defaults | |
556e87cc JR |
529 | |
530 | - job-template: | |
76f37297 MJ |
531 | name: '{job_prefix}babeltrace_{version}_glib-2.28.6' |
532 | defaults: babeltrace | |
533 | node: 'amd64' | |
890bff23 | 534 | |
0f505d21 MJ |
535 | <<: *babeltrace_builders_glib-2-28-6 |
536 | <<: *babeltrace_publishers_defaults | |
b9c55ae7 | 537 | |
07dafe32 MJ |
538 | |
539 | ## Views | |
540 | - view-template: | |
541 | name: 'Babeltrace' | |
542 | view-type: list | |
543 | regex: 'babeltrace[-_].*' | |
544 | ||
545 | ||
546 | ## Projects | |
624c5a25 MJ |
547 | - project: |
548 | name: babeltrace2 | |
c8071f5f | 549 | job_prefix: '' |
624c5a25 MJ |
550 | github_user: efficios |
551 | github_name: babeltrace | |
552 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
553 | version: | |
554 | - stable-2.0 | |
555 | - master | |
556 | jobs: | |
0f505d21 | 557 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 558 | buildtype: build |
0f505d21 MJ |
559 | archs: !!python/tuple [amd64] |
560 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
561 | confs: !!python/tuple [std, static, prod, min] | |
562 | filter: '' | |
563 | touchstone: '(build == "std") && (conf == "std")' | |
564 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
624c5a25 | 565 | buildtype: portbuild |
0f505d21 MJ |
566 | archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] |
567 | builds: !!python/tuple [std] | |
568 | confs: !!python/tuple [std, prod] | |
569 | filter: '' | |
570 | touchstone: '(build == "std") && (conf == "std") && (arch == "i386")' | |
571 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
624c5a25 | 572 | buildtype: slesbuild |
0f505d21 MJ |
573 | archs: !!python/tuple [sles12sp5] |
574 | builds: !!python/tuple [std] | |
575 | confs: !!python/tuple [std, prod] | |
576 | filter: '' | |
577 | touchstone: '' | |
578 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
568b5cbd | 579 | buildtype: elbuild |
1722d4cb | 580 | archs: !!python/tuple [el8, el9] |
0f505d21 MJ |
581 | builds: !!python/tuple [std] |
582 | confs: !!python/tuple [std, prod] | |
583 | filter: '' | |
584 | touchstone: '' | |
585 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
f0d7e5b1 | 586 | buildtype: macosbuild |
0f505d21 MJ |
587 | archs: !!python/tuple [macos-amd64, macos-arm64] |
588 | builds: !!python/tuple [std] | |
589 | confs: !!python/tuple [std, prod] | |
590 | filter: '' | |
591 | touchstone: '' | |
592 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
894db5f1 | 593 | buildtype: freebsdbuild |
0f505d21 MJ |
594 | archs: !!python/tuple [freebsd] |
595 | builds: !!python/tuple [std] | |
596 | confs: !!python/tuple [std, prod] | |
597 | filter: '' | |
598 | touchstone: '' | |
599 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
600 | buildtype: winbuild | |
601 | archs: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64] | |
602 | builds: !!python/tuple [std] | |
603 | confs: !!python/tuple [std] | |
604 | filter: '' | |
605 | touchstone: '' | |
624c5a25 MJ |
606 | - 'babeltrace_{version}_{cctype}': |
607 | cctype: clangbuild | |
0f505d21 MJ |
608 | archs: !!python/tuple [amd64] |
609 | builds: !!python/tuple [std] | |
610 | confs: !!python/tuple [std, static, prod] | |
611 | ccs: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] | |
612 | filter: '' | |
613 | touchstone: '' | |
8abe9f8a MJ |
614 | - 'babeltrace_{version}_release': |
615 | version: v2.0 | |
890bff23 MJ |
616 | - 'babeltrace_{version}_cppcheck' |
617 | - 'babeltrace_{version}_scan-build' | |
618 | - 'babeltrace_{version}_pylint' | |
6cf22a3a MJ |
619 | - 'babeltrace_{version}_coverity': |
620 | version: master | |
0f505d21 | 621 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
556e87cc | 622 | version: master |
a0b535b2 | 623 | |
07dafe32 MJ |
624 | - project: |
625 | name: gerrit-babeltrace | |
c8071f5f | 626 | job_prefix: '' |
07dafe32 MJ |
627 | github_user: efficios |
628 | github_name: babeltrace | |
629 | jobs: | |
630 | - 'dev_gerrit_babeltrace_{buildtype}': | |
631 | buildtype: build | |
0f505d21 MJ |
632 | archs: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386] |
633 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
634 | confs: !!python/tuple [std, static, prod, min] | |
9fd34023 | 635 | filter: '(build=="std" && conf=="std") || (arch=="amd64")' |
0f505d21 | 636 | touchstone: '' |
9fd34023 | 637 | - 'dev_gerrit_babeltrace_{buildtype}': |
f0d7e5b1 | 638 | buildtype: macosbuild |
0f505d21 MJ |
639 | archs: !!python/tuple [macos-amd64, macos-arm64] |
640 | builds: !!python/tuple [std] | |
641 | confs: !!python/tuple [std, prod] | |
9fd34023 | 642 | filter: '' |
0f505d21 MJ |
643 | touchstone: '' |
644 | - 'dev_gerrit_babeltrace_{buildtype}': | |
645 | buildtype: winbuild | |
646 | archs: !!python/tuple [cygwin64, msys2-mingw64] | |
647 | builds: !!python/tuple [std] | |
648 | confs: !!python/tuple [std] | |
649 | filter: '' | |
650 | touchstone: '' | |
af11423c | 651 | - 'dev_gerrit_babeltrace_pylint' |
07dafe32 MJ |
652 | |
653 | ||
76f37297 MJ |
654 | - project: |
655 | name: dev_upstream_babeltrace | |
656 | job_prefix: dev_upstream_ | |
657 | github_user: efficios | |
658 | github_name: babeltrace | |
659 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
660 | version: | |
661 | - stable-1.5 | |
662 | jobs: | |
663 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
664 | buildtype: build | |
0f505d21 MJ |
665 | archs: !!python/tuple [amd64] |
666 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
667 | confs: !!python/tuple [std, static, python-bindings] | |
668 | filter: '' | |
669 | touchstone: '(build == "std") && (conf == "std")' | |
76f37297 MJ |
670 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
671 | buildtype: portbuild | |
0f505d21 MJ |
672 | archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] |
673 | builds: !!python/tuple [std] | |
674 | confs: !!python/tuple [std, python-bindings] | |
675 | filter: '' | |
676 | touchstone: '(build == "std") && (conf == "std") && (arch == "i386")' | |
76f37297 MJ |
677 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
678 | buildtype: slesbuild | |
0f505d21 MJ |
679 | archs: !!python/tuple [sles12sp5] |
680 | builds: !!python/tuple [std] | |
681 | confs: !!python/tuple [std] | |
682 | filter: '' | |
683 | touchstone: '' | |
76f37297 MJ |
684 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
685 | buildtype: elbuild | |
1722d4cb | 686 | archs: !!python/tuple [el8, el9] |
0f505d21 MJ |
687 | builds: !!python/tuple [std] |
688 | confs: !!python/tuple [std] | |
689 | filter: '' | |
690 | touchstone: '' | |
76f37297 MJ |
691 | |
692 | ||
a0b535b2 MJ |
693 | - project: |
694 | name: babeltrace-jgalar-staging | |
76f37297 | 695 | job_prefix: 'dev_jgalar_' |
a0b535b2 MJ |
696 | github_user: jgalar |
697 | github_name: babeltrace | |
499a96d0 | 698 | email_to: "jgalar@efficios.com" |
a0b535b2 | 699 | version: |
a0b535b2 | 700 | - stable-1.5-staging |
a0b535b2 | 701 | jobs: |
76f37297 | 702 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
4f827afb | 703 | buildtype: build |
0f505d21 MJ |
704 | archs: !!python/tuple [amd64] |
705 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
706 | confs: !!python/tuple [std, static, python-bindings] | |
707 | filter: '' | |
708 | touchstone: '' | |
76f37297 | 709 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 710 | buildtype: macosbuild |
0f505d21 MJ |
711 | archs: !!python/tuple [macos-amd64, macos-arm64] |
712 | builds: !!python/tuple [std] | |
713 | confs: !!python/tuple [std] | |
714 | filter: '' | |
715 | touchstone: '' | |
890bff23 | 716 | |
c871b3d3 MJ |
717 | |
718 | - project: | |
07dafe32 | 719 | name: babeltrace2-jgalar-staging |
76f37297 | 720 | job_prefix: 'dev_jgalar_' |
07dafe32 | 721 | github_user: jgalar |
c871b3d3 | 722 | github_name: babeltrace |
07dafe32 MJ |
723 | email_to: "jgalar@efficios.com" |
724 | version: | |
725 | - stable-2.0-staging | |
726 | - master-staging | |
c871b3d3 | 727 | jobs: |
76f37297 | 728 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
07dafe32 MJ |
729 | version: |
730 | - master-staging | |
76f37297 | 731 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
c871b3d3 | 732 | buildtype: build |
0f505d21 MJ |
733 | archs: !!python/tuple [amd64] |
734 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
735 | confs: !!python/tuple [std, static, prod, min] | |
736 | filter: '' | |
737 | touchstone: '' | |
76f37297 | 738 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 739 | buildtype: macosbuild |
0f505d21 MJ |
740 | archs: !!python/tuple [macos-amd64, macos-arm64] |
741 | builds: !!python/tuple [std] | |
742 | confs: !!python/tuple [std, prod] | |
743 | filter: '' | |
744 | touchstone: '' | |
07dafe32 MJ |
745 | |
746 | - project: | |
747 | name: babeltrace-views | |
748 | views: | |
749 | - Babeltrace |