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 | |
399 | ||
07fd33e1 | 400 | - job-template: |
af11423c | 401 | name: dev_gerrit_babeltrace_pylint |
07fd33e1 MJ |
402 | defaults: babeltrace |
403 | concurrent: true | |
404 | ||
405 | scm: | |
406 | - git: | |
407 | url: https://review.lttng.org/babeltrace | |
408 | refspec: 'refs/changes/*:refs/changes/*' | |
409 | branches: | |
410 | - '$GERRIT_REFSPEC' | |
411 | basedir: src/babeltrace | |
412 | skip-tag: true | |
413 | ||
414 | triggers: | |
415 | - gerrit: | |
416 | trigger-on: | |
417 | - comment-added-event: | |
418 | approval-category: 'CI-Build' | |
419 | approval-value: 1 | |
420 | projects: | |
421 | - project-compare-type: 'PLAIN' | |
422 | project-pattern: 'babeltrace' | |
423 | branches: | |
424 | - branch-compare-type: 'ANT' | |
425 | branch-pattern: '**' | |
07fd33e1 | 426 | |
776b0d3d | 427 | node: 'bionic-amd64' |
07fd33e1 MJ |
428 | |
429 | builders: | |
430 | - shell: | |
af11423c | 431 | !include-raw-escape: scripts/babeltrace/pylint.sh |
07fd33e1 MJ |
432 | |
433 | properties: | |
434 | - inject: | |
435 | properties-content: | | |
436 | PROJECT_NAME=babeltrace | |
437 | - build-discarder: | |
438 | days-to-keep: 1 | |
07fd33e1 | 439 | |
890bff23 MJ |
440 | - job-template: |
441 | name: babeltrace_{version}_cppcheck | |
442 | defaults: babeltrace | |
443 | ||
444 | triggers: | |
6cf22a3a MJ |
445 | - pollscm: |
446 | cron: "@daily" | |
890bff23 MJ |
447 | |
448 | builders: | |
449 | - shell: | | |
5279b0f2 MJ |
450 | rm -f cppcheck-result.xml |
451 | cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/babeltrace 2> cppcheck-result.xml | |
890bff23 MJ |
452 | |
453 | publishers: | |
0f505d21 | 454 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 455 | - archive: |
5279b0f2 | 456 | artifacts: 'cppcheck-result.xml' |
890bff23 | 457 | allow-empty: false |
890bff23 | 458 | - cppcheck: |
5279b0f2 | 459 | pattern: 'cppcheck-result.xml' |
890bff23 MJ |
460 | |
461 | - job-template: | |
462 | name: babeltrace_{version}_scan-build | |
463 | defaults: babeltrace | |
776b0d3d | 464 | node: 'bionic-amd64' |
890bff23 MJ |
465 | |
466 | triggers: | |
6cf22a3a MJ |
467 | - pollscm: |
468 | cron: "@daily" | |
890bff23 MJ |
469 | |
470 | builders: | |
471 | - shell: | |
69f05d59 | 472 | !include-raw-escape: scripts/common/scan-build.sh |
890bff23 MJ |
473 | |
474 | publishers: | |
0f505d21 | 475 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 MJ |
476 | - html-publisher: |
477 | name: 'HTML Report' | |
478 | dir: 'scan-build-archive/' | |
479 | files: 'index.html' | |
480 | ||
6cf22a3a MJ |
481 | - job-template: |
482 | name: babeltrace_{version}_coverity | |
483 | defaults: babeltrace | |
776b0d3d | 484 | node: 'bionic-amd64' |
6cf22a3a MJ |
485 | |
486 | triggers: | |
487 | - pollscm: | |
488 | cron: "@daily" | |
489 | ||
490 | wrappers: | |
0f505d21 MJ |
491 | - ansicolor: *babeltrace_wrapper_ansicolor_defaults |
492 | - timeout: *babeltrace_wrapper_timeout_defaults | |
6cf22a3a | 493 | - timestamps |
0f505d21 | 494 | - workspace-cleanup |
6cf22a3a MJ |
495 | - credentials-binding: |
496 | - username-password-separated: | |
497 | credential-id: babeltrace_coverity_token | |
498 | username: COVERITY_SCAN_PROJECT_NAME | |
499 | password: COVERITY_SCAN_TOKEN | |
0f505d21 | 500 | |
6cf22a3a MJ |
501 | builders: |
502 | - shell: | |
ef63064f | 503 | !include-raw-escape: scripts/common/coverity.sh |
6cf22a3a MJ |
504 | |
505 | publishers: | |
0f505d21 | 506 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
73778992 MJ |
507 | - archive: |
508 | artifacts: 'analysis-results.tgz,cov-int/**' | |
509 | allow-empty: false | |
890bff23 MJ |
510 | |
511 | - job-template: | |
512 | name: babeltrace_{version}_pylint | |
513 | defaults: babeltrace | |
776b0d3d | 514 | node: 'bionic-amd64' |
890bff23 | 515 | |
890bff23 | 516 | triggers: |
6cf22a3a MJ |
517 | - pollscm: |
518 | cron: "@daily" | |
890bff23 MJ |
519 | |
520 | builders: | |
890bff23 | 521 | - shell: |
ef63064f | 522 | !include-raw-escape: scripts/babeltrace/pylint.sh |
890bff23 MJ |
523 | |
524 | publishers: | |
0f505d21 | 525 | - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults |
890bff23 | 526 | - archive: |
af11423c | 527 | artifacts: 'black.out,flake8.out' |
0f505d21 MJ |
528 | allow-empty: false |
529 | - email-ext: *babeltrace_publisher_email-ext_defaults | |
556e87cc JR |
530 | |
531 | - job-template: | |
76f37297 MJ |
532 | name: '{job_prefix}babeltrace_{version}_glib-2.28.6' |
533 | defaults: babeltrace | |
776b0d3d | 534 | node: 'bionic-amd64' |
890bff23 | 535 | |
0f505d21 MJ |
536 | <<: *babeltrace_builders_glib-2-28-6 |
537 | <<: *babeltrace_publishers_defaults | |
b9c55ae7 | 538 | |
07dafe32 MJ |
539 | |
540 | ## Views | |
541 | - view-template: | |
542 | name: 'Babeltrace' | |
543 | view-type: list | |
544 | regex: 'babeltrace[-_].*' | |
545 | ||
546 | ||
547 | ## Projects | |
624c5a25 MJ |
548 | - project: |
549 | name: babeltrace2 | |
c8071f5f | 550 | job_prefix: '' |
624c5a25 MJ |
551 | github_user: efficios |
552 | github_name: babeltrace | |
553 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
554 | version: | |
555 | - stable-2.0 | |
556 | - master | |
557 | jobs: | |
776b0d3d MJ |
558 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
559 | buildtype: linuxbuild | |
560 | platforms: !!python/tuple [jammy-amd64] | |
561 | builds: !!python/tuple [std, oot, dist, oot-dist] | |
562 | confs: !!python/tuple [std, static, prod, min, doc] | |
563 | filter: '' | |
564 | touchstone: '(build == "std") && (conf == "std")' | |
0f505d21 | 565 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 566 | buildtype: build |
776b0d3d | 567 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 | 568 | builds: !!python/tuple [std, oot, dist, oot-dist] |
301b8fc9 | 569 | confs: !!python/tuple [std, static, prod, min, doc] |
0f505d21 MJ |
570 | filter: '' |
571 | touchstone: '(build == "std") && (conf == "std")' | |
572 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
624c5a25 | 573 | buildtype: portbuild |
776b0d3d | 574 | platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
0f505d21 MJ |
575 | builds: !!python/tuple [std] |
576 | confs: !!python/tuple [std, prod] | |
577 | filter: '' | |
776b0d3d | 578 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")' |
0f505d21 | 579 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
624c5a25 | 580 | buildtype: slesbuild |
776b0d3d | 581 | platforms: !!python/tuple [sles12sp5-amd64] |
0f505d21 MJ |
582 | builds: !!python/tuple [std] |
583 | confs: !!python/tuple [std, prod] | |
584 | filter: '' | |
585 | touchstone: '' | |
586 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
568b5cbd | 587 | buildtype: elbuild |
776b0d3d | 588 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
0f505d21 MJ |
589 | builds: !!python/tuple [std] |
590 | confs: !!python/tuple [std, prod] | |
591 | filter: '' | |
592 | touchstone: '' | |
593 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
f0d7e5b1 | 594 | buildtype: macosbuild |
776b0d3d | 595 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
596 | builds: !!python/tuple [std] |
597 | confs: !!python/tuple [std, prod] | |
598 | filter: '' | |
599 | touchstone: '' | |
600 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
894db5f1 | 601 | buildtype: freebsdbuild |
776b0d3d | 602 | platforms: !!python/tuple [freebsd-amd64] |
0f505d21 MJ |
603 | builds: !!python/tuple [std] |
604 | confs: !!python/tuple [std, prod] | |
605 | filter: '' | |
606 | touchstone: '' | |
607 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
608 | buildtype: winbuild | |
776b0d3d | 609 | platforms: !!python/tuple [cygwin64, msys2-mingw32, msys2-mingw64] |
0f505d21 MJ |
610 | builds: !!python/tuple [std] |
611 | confs: !!python/tuple [std] | |
612 | filter: '' | |
613 | touchstone: '' | |
624c5a25 MJ |
614 | - 'babeltrace_{version}_{cctype}': |
615 | cctype: clangbuild | |
776b0d3d | 616 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 MJ |
617 | builds: !!python/tuple [std] |
618 | confs: !!python/tuple [std, static, prod] | |
619 | ccs: !!python/tuple [clang-3.9, clang-4.0, clang-6.0, clang-7] | |
620 | filter: '' | |
621 | touchstone: '' | |
8abe9f8a MJ |
622 | - 'babeltrace_{version}_release': |
623 | version: v2.0 | |
890bff23 MJ |
624 | - 'babeltrace_{version}_cppcheck' |
625 | - 'babeltrace_{version}_scan-build' | |
626 | - 'babeltrace_{version}_pylint' | |
6cf22a3a MJ |
627 | - 'babeltrace_{version}_coverity': |
628 | version: master | |
0f505d21 | 629 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
556e87cc | 630 | version: master |
a0b535b2 | 631 | |
07dafe32 MJ |
632 | - project: |
633 | name: gerrit-babeltrace | |
c8071f5f | 634 | job_prefix: '' |
07dafe32 MJ |
635 | github_user: efficios |
636 | github_name: babeltrace | |
637 | jobs: | |
638 | - 'dev_gerrit_babeltrace_{buildtype}': | |
639 | buildtype: build | |
776b0d3d | 640 | platforms: !!python/tuple [bionic-amd64, deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
0f505d21 MJ |
641 | builds: !!python/tuple [std, oot, dist, oot-dist] |
642 | confs: !!python/tuple [std, static, prod, min] | |
776b0d3d | 643 | filter: '(build=="std" && conf=="std") || (platform=="bionic-amd64")' |
0f505d21 | 644 | touchstone: '' |
9fd34023 | 645 | - 'dev_gerrit_babeltrace_{buildtype}': |
f0d7e5b1 | 646 | buildtype: macosbuild |
776b0d3d | 647 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
648 | builds: !!python/tuple [std] |
649 | confs: !!python/tuple [std, prod] | |
9fd34023 | 650 | filter: '' |
0f505d21 MJ |
651 | touchstone: '' |
652 | - 'dev_gerrit_babeltrace_{buildtype}': | |
653 | buildtype: winbuild | |
776b0d3d | 654 | platforms: !!python/tuple [cygwin64, msys2-mingw64] |
0f505d21 MJ |
655 | builds: !!python/tuple [std] |
656 | confs: !!python/tuple [std] | |
657 | filter: '' | |
658 | touchstone: '' | |
af11423c | 659 | - 'dev_gerrit_babeltrace_pylint' |
07dafe32 MJ |
660 | |
661 | ||
76f37297 MJ |
662 | - project: |
663 | name: dev_upstream_babeltrace | |
664 | job_prefix: dev_upstream_ | |
665 | github_user: efficios | |
666 | github_name: babeltrace | |
667 | email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' | |
668 | version: | |
669 | - stable-1.5 | |
670 | jobs: | |
671 | - '{job_prefix}babeltrace_{version}_{buildtype}': | |
776b0d3d MJ |
672 | buildtype: linuxbuild |
673 | platforms: !!python/tuple [jammy-amd64] | |
0f505d21 MJ |
674 | builds: !!python/tuple [std, oot, dist, oot-dist] |
675 | confs: !!python/tuple [std, static, python-bindings] | |
676 | filter: '' | |
677 | touchstone: '(build == "std") && (conf == "std")' | |
76f37297 MJ |
678 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
679 | buildtype: portbuild | |
776b0d3d | 680 | platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] |
0f505d21 MJ |
681 | builds: !!python/tuple [std] |
682 | confs: !!python/tuple [std, python-bindings] | |
683 | filter: '' | |
776b0d3d | 684 | touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")' |
76f37297 MJ |
685 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
686 | buildtype: slesbuild | |
776b0d3d | 687 | platforms: !!python/tuple [sles12sp5-amd64] |
0f505d21 MJ |
688 | builds: !!python/tuple [std] |
689 | confs: !!python/tuple [std] | |
690 | filter: '' | |
691 | touchstone: '' | |
76f37297 MJ |
692 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
693 | buildtype: elbuild | |
776b0d3d | 694 | platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] |
0f505d21 MJ |
695 | builds: !!python/tuple [std] |
696 | confs: !!python/tuple [std] | |
697 | filter: '' | |
698 | touchstone: '' | |
76f37297 MJ |
699 | |
700 | ||
a0b535b2 MJ |
701 | - project: |
702 | name: babeltrace-jgalar-staging | |
76f37297 | 703 | job_prefix: 'dev_jgalar_' |
a0b535b2 MJ |
704 | github_user: jgalar |
705 | github_name: babeltrace | |
499a96d0 | 706 | email_to: "jgalar@efficios.com" |
a0b535b2 | 707 | version: |
a0b535b2 | 708 | - stable-1.5-staging |
a0b535b2 | 709 | jobs: |
76f37297 | 710 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
4f827afb | 711 | buildtype: build |
776b0d3d | 712 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 MJ |
713 | builds: !!python/tuple [std, oot, dist, oot-dist] |
714 | confs: !!python/tuple [std, static, python-bindings] | |
715 | filter: '' | |
716 | touchstone: '' | |
76f37297 | 717 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 718 | buildtype: macosbuild |
776b0d3d | 719 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
720 | builds: !!python/tuple [std] |
721 | confs: !!python/tuple [std] | |
722 | filter: '' | |
723 | touchstone: '' | |
890bff23 | 724 | |
c871b3d3 MJ |
725 | |
726 | - project: | |
07dafe32 | 727 | name: babeltrace2-jgalar-staging |
76f37297 | 728 | job_prefix: 'dev_jgalar_' |
07dafe32 | 729 | github_user: jgalar |
c871b3d3 | 730 | github_name: babeltrace |
07dafe32 MJ |
731 | email_to: "jgalar@efficios.com" |
732 | version: | |
733 | - stable-2.0-staging | |
734 | - master-staging | |
c871b3d3 | 735 | jobs: |
76f37297 | 736 | - '{job_prefix}babeltrace_{version}_glib-2.28.6': |
07dafe32 MJ |
737 | version: |
738 | - master-staging | |
76f37297 | 739 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
c871b3d3 | 740 | buildtype: build |
776b0d3d | 741 | platforms: !!python/tuple [bionic-amd64] |
0f505d21 MJ |
742 | builds: !!python/tuple [std, oot, dist, oot-dist] |
743 | confs: !!python/tuple [std, static, prod, min] | |
744 | filter: '' | |
745 | touchstone: '' | |
76f37297 | 746 | - '{job_prefix}babeltrace_{version}_{buildtype}': |
f0d7e5b1 | 747 | buildtype: macosbuild |
776b0d3d | 748 | platforms: !!python/tuple [macos-amd64, macos-arm64] |
0f505d21 MJ |
749 | builds: !!python/tuple [std] |
750 | confs: !!python/tuple [std, prod] | |
751 | filter: '' | |
752 | touchstone: '' | |
07dafe32 MJ |
753 | |
754 | - project: | |
755 | name: babeltrace-views | |
756 | views: | |
757 | - Babeltrace |