jjb: lttng-tools: babeltrace not used on Windows
[lttng-ci.git] / jobs / barectf.yaml
index 497c167bfbbb5eda8362e10f2478be8cc18df834..655fcb7bad2d1a6f3cec7712a7b38c79535542ae 100644 (file)
 #      - archive:
 #          artifacts: 'build/**'
 #          allow-empty: false
-      - ircbot:
-          strategy: new-failure-and-fixed
-          matrix-notifier: only-parent
-          channels:
-            - name: '#lttng'
+      - email-ext:
+         recipients: '{obj:email_to}'
+         reply-to: ci-notification@lists.lttng.org
+         always: false
+         unstable: false
+         first-failure: true
+         first-unstable: true
+         not-built: false
+         aborted: false
+         regression: false
+         failure: false
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         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
-    node: 'x86-64'
+    node: 'amd64'
 
     triggers:
       - pollscm:
             min: 10
             max: 999
             unstable: 999
-
+      - email-ext:
+         recipients: '{obj:email_to}'
+         reply-to: ci-notification@lists.lttng.org
+         always: false
+         unstable: false
+         first-failure: true
+         first-unstable: true
+         not-built: false
+         aborted: false
+         regression: false
+         failure: false
+         second-failure: false
+         improvement: false
+         still-failing: false
+         success: false
+         fixed: false
+         fixed-unhealthy: true
+         still-unstable: false
+         pre-build: false
+         matrix-trigger: only-parent
+         send-to:
+           - recipients
 
 ## Project
 - project:
     name: barectf
     github_user: efficios
     github_name: barectf
+    email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
     version:
       - 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]
This page took 0.023781 seconds and 4 git commands to generate.