X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbabeltrace.yaml;h=ade2e88bee5c589e251524568503ef294e99e0e3;hb=d1c6fb4fbbc64b5f86847baf754b5c6802834a7b;hp=d5df88a08666a17762a214a9385ed8a96c53ff9b;hpb=9d56171a2dbaa3992a455c741ac55da952b5d100;p=lttng-ci.git diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index d5df88a..ade2e88 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -154,6 +154,7 @@ publishers: - tap: results: 'tap/**/*.log' + fail-if-no-results: true failed-tests-mark-build-as-failure: true todo-is-failure: false - warnings: @@ -196,6 +197,7 @@ publishers: - tap: results: 'tap/**/*.log' + fail-if-no-results: true failed-tests-mark-build-as-failure: true todo-is-failure: false - warnings: @@ -238,13 +240,14 @@ publishers: - tap: results: 'tap/**/*.log' + fail-if-no-results: true failed-tests-mark-build-as-failure: true todo-is-failure: false - warnings: console-log-parsers: - 'GNU Make + GNU C Compiler (gcc)' total-thresholds: - unstable: + failed: total-all: 0 total-high: 0 total-normal: 0 @@ -332,7 +335,7 @@ node: 'master' # Applies only to matrix flyweight task execution-strategy: combination-filter: | - (build=="std" && conf=="python-bindings") || (arch=="amd64") + {filter} axes: - axis: type: slave @@ -355,9 +358,52 @@ properties-content: | PROJECT_NAME=babeltrace - build-discarder: - days-to-keep: 2 - - github: - url: https://github.com/{github_user}/{github_name} + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit' + +- job-template: + name: dev_gerrit_babeltrace_black + defaults: babeltrace + concurrent: true + + scm: + - git: + url: https://review.lttng.org/babeltrace + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/babeltrace + skip-tag: true + + triggers: + - gerrit: + trigger-on: + - comment-added-event: + approval-category: 'CI-Build' + approval-value: 1 + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'babeltrace' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**' + trigger-for-unreviewed-patches: true + + node: 'amd64' + + builders: + - shell: + !include-raw-escape: scripts/babeltrace/black.sh + + properties: + - inject: + properties-content: | + PROJECT_NAME=babeltrace + - build-discarder: + days-to-keep: 1 - job-template: name: babeltrace_{version}_cppcheck @@ -572,7 +618,15 @@ send-to: - recipients -## Project + +## Views +- view-template: + name: 'Babeltrace' + view-type: list + regex: 'babeltrace[-_].*' + + +## Projects - project: name: babeltrace1 github_user: efficios @@ -584,7 +638,7 @@ - 'babeltrace_{version}_{buildtype}': buildtype: build arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist] + build: !!python/tuple [std, oot, dist, oot-dist] conf: !!python/tuple [std, static, python-bindings] - 'babeltrace_{version}_{buildtype}': buildtype: portbuild @@ -608,7 +662,7 @@ buildtype: macosxbuild arch: !!python/tuple [macosx] build: !!python/tuple [std] - conf: !!python/tuple [std, python-bindings, production] + conf: !!python/tuple [std] - 'babeltrace_{version}_{cctype}': cctype: clangbuild arch: !!python/tuple [amd64] @@ -635,7 +689,7 @@ - 'babeltrace_{version}_{buildtype}': buildtype: build arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist] + build: !!python/tuple [std, oot, dist, oot-dist] conf: !!python/tuple [std, static, prod, min] - 'babeltrace_{version}_{buildtype}': buildtype: portbuild @@ -670,6 +724,26 @@ - 'babeltrace_{version}_glib-2.22.5': version: master +- project: + name: gerrit-babeltrace + github_user: efficios + github_name: babeltrace + jobs: + - 'dev_gerrit_babeltrace_{buildtype}': + buildtype: build + arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386] + build: !!python/tuple [std, oot, dist, oot-dist] + conf: !!python/tuple [std, static, prod, min] + filter: '(build=="std" && conf=="std") || (arch=="amd64")' + - 'dev_gerrit_babeltrace_{buildtype}': + buildtype: macosxbuild + arch: !!python/tuple [macosx] + build: !!python/tuple [std] + conf: !!python/tuple [std, prod] + filter: '' + - 'dev_gerrit_babeltrace_black' + + - project: name: babeltrace-jgalar-staging user: jgalar @@ -679,35 +753,46 @@ version: - stable-1.3-staging - stable-1.5-staging - - stable-2.0-staging - - master-staging jobs: - - 'dev_{user}_babeltrace_{version}_glib-2.22.5': - version: - - master-staging - 'dev_{user}_babeltrace_{version}_{buildtype}': buildtype: build arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist] + build: !!python/tuple [std, oot, dist, oot-dist] conf: !!python/tuple [std, static, python-bindings] - 'dev_{user}_babeltrace_{version}_{buildtype}': buildtype: macosxbuild version: # macOS support was introduced in 1.4 - stable-1.5-staging - - stable-2.0-staging - - master-staging arch: !!python/tuple [macosx] build: !!python/tuple [std] conf: !!python/tuple [std] - project: - name: gerrit-babeltrace - github_user: efficios + name: babeltrace2-jgalar-staging + user: jgalar + github_user: jgalar github_name: babeltrace + email_to: "jgalar@efficios.com" + version: + - stable-2.0-staging + - master-staging jobs: - - 'dev_gerrit_babeltrace_{buildtype}': + - 'dev_{user}_babeltrace_{version}_glib-2.22.5': + version: + - master-staging + - 'dev_{user}_babeltrace_{version}_{buildtype}': buildtype: build - arch: !!python/tuple [amd64, armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, static, python-bindings, production] + arch: !!python/tuple [amd64] + build: !!python/tuple [std, oot, dist, oot-dist] + conf: !!python/tuple [std, static, prod, min] + - 'dev_{user}_babeltrace_{version}_{buildtype}': + buildtype: macosxbuild + arch: !!python/tuple [macosx] + build: !!python/tuple [std] + conf: !!python/tuple [std, prod] + +- project: + name: babeltrace-views + views: + - Babeltrace