console-log-parsers:
- 'GNU Make + GNU C Compiler (gcc)'
total-thresholds:
- unstable:
+ failed:
total-all: 0
total-high: 0
total-normal: 0
node: 'master' # Applies only to matrix flyweight task
execution-strategy:
combination-filter: |
- (build=="std" && conf=="std") || (arch=="amd64")
+ {filter}
axes:
- axis:
type: slave
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
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]
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: