jjb: Add dev_gerrit_barectf_build job
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 5 Jun 2019 14:47:52 +0000 (10:47 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Wed, 5 Jun 2019 14:47:52 +0000 (10:47 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/barectf.yaml

index 0d627e7502503cd3a86d8b768c21946a882e3460..05321d40f585826b01aa81c2a1a157758e15241a 100644 (file)
          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
           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]
This page took 0.024791 seconds and 4 git commands to generate.