X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbarectf.yaml;h=655fcb7bad2d1a6f3cec7712a7b38c79535542ae;hb=523e784d86f8e0dfe8be50c31cf06f6c9918d349;hp=0d627e7502503cd3a86d8b768c21946a882e3460;hpb=16844a6de66cc1730db84f84074492c36bfaaf1c;p=lttng-ci.git diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 0d627e7..655fcb7 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -86,6 +86,53 @@ send-to: - recipients +- job-template: + name: dev_gerrit_barectf_{buildtype} + defaults: barectf + concurrent: true + + project-type: matrix + node: 'master' # Applies only to matrix flyweight task + axes: + - axis: + type: slave + name: arch + values: '{obj:arch}' + + scm: + - git: + url: https://review.lttng.org/barectf + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/barectf + skip-tag: true + + triggers: + - gerrit: + trigger-on: + - comment-added-event: + approval-category: 'CI-Build' + approval-value: 1 + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'barectf' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**' + trigger-for-unreviewed-patches: true + + properties: + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' + builders: + - shell: + !include-raw-escape: scripts/barectf/build.sh + - job-template: name: barectf_{version}_pylint defaults: barectf @@ -149,3 +196,11 @@ arch: !!python/tuple [i386, amd64] - 'barectf_{version}_pylint' +- project: + name: gerrit-barectf + github_user: efficios + github_name: babeltrace + jobs: + - 'dev_gerrit_barectf_{buildtype}': + buildtype: build + arch: !!python/tuple [i386, amd64]