jjb: babeltrace: throttle gerrit builds
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 9 Aug 2019 21:54:16 +0000 (17:54 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Fri, 9 Aug 2019 21:55:03 +0000 (17:55 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/babeltrace.yaml

index b45bd7040c5d611efd3699bdcb7d6a71f0e91cc3..43ffa8d0b3175b73bcf7ba120f09aae9f67482b9 100644 (file)
     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: babeltrace_{version}_cppcheck
           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: ''
 
 
 - project:
This page took 0.023752 seconds and 4 git commands to generate.