X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbabeltrace.yaml;h=ade2e88bee5c589e251524568503ef294e99e0e3;hb=77d2de479c2522ca159958e1dbb67a3bc794648a;hp=85ab54519de4964f2c8de8c7dbc5bb1be3be929d;hpb=1d56e325ac199eb068729afbb04b3e954cb23061;p=lttng-ci.git diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index 85ab545..ade2e88 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -247,7 +247,7 @@ console-log-parsers: - 'GNU Make + GNU C Compiler (gcc)' total-thresholds: - unstable: + failed: total-all: 0 total-high: 0 total-normal: 0 @@ -335,7 +335,7 @@ node: 'master' # Applies only to matrix flyweight task execution-strategy: combination-filter: | - (build=="std" && conf=="std") || (arch=="amd64") + {filter} axes: - axis: type: slave @@ -358,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 @@ -619,7 +662,7 @@ buildtype: macosxbuild arch: !!python/tuple [macosx] build: !!python/tuple [std] - conf: !!python/tuple [std, python-bindings] + conf: !!python/tuple [std] - 'babeltrace_{version}_{cctype}': cctype: clangbuild arch: !!python/tuple [amd64] @@ -691,6 +734,14 @@ 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: