X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fbarectf.yaml;h=05321d40f585826b01aa81c2a1a157758e15241a;hb=20defd5e328ab5a054111f3657ebc0323a3a2f7f;hp=0135e388966b8bcab0b22eaad5fcbb1c1f599f70;hpb=98aca00598dec2826ff66db1c88f2687b2941fa2;p=lttng-ci.git diff --git a/jobs/barectf.yaml b/jobs/barectf.yaml index 0135e38..05321d4 100644 --- a/jobs/barectf.yaml +++ b/jobs/barectf.yaml @@ -86,10 +86,50 @@ 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 + + builders: + - shell: + !include-raw-escape: scripts/barectf/build.sh + - job-template: name: barectf_{version}_pylint defaults: barectf - node: 'x86-64' + node: 'amd64' triggers: - pollscm: @@ -146,6 +186,14 @@ - master jobs: - 'barectf_{version}_build': - arch: !!python/tuple [x86-32, x86-64] + 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]