jjb: liburcu: split gerrit jobs by branch
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Apr 2023 18:10:47 +0000 (14:10 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Apr 2023 19:23:02 +0000 (15:23 -0400)
Change-Id: I3c1bb30c26e127769cdfdfbb1bdcb78763ba8fc4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/liburcu.yaml

index fc8672e4172b9b832fc220c3b66b2ba42cd275fa..8b03e428d9e1701d14f7e541c411e025b7e3ea44 100644 (file)
@@ -62,7 +62,7 @@
 
 
 ## Anchors
-- liburcu_matrix_axes_defaults: &liburcu_matrix_axes_defaults
+- _liburcu_matrix_axes_defaults: &liburcu_matrix_axes_defaults
     name: 'liburcu_matrix_axes_defaults'
     project-type: matrix
     node: 'master' # Applies only to matrix flyweight task
@@ -84,7 +84,7 @@
          name: build
          values: '{obj:builds}'
 
-- liburcu_builders_defaults: &liburcu_builders_defaults
+- _liburcu_builders_defaults: &liburcu_builders_defaults
     name: 'liburcu_builders_defaults'
     builders:
       !j2-yaml: |
            - scripts/liburcu/build.sh
       {% endif %}
 
-- liburcu_publishers_defaults: &liburcu_publishers_defaults
+- _liburcu_publishers_defaults: &liburcu_publishers_defaults
     name: 'liburcu_publishers_defaults'
     publishers:
       - tap: &liburcu_publisher_tap_defaults
     <<: *liburcu_publishers_defaults
 
 - job-template:
-    name: dev_gerrit_liburcu_{buildtype}
+    name: dev_review_liburcu_{version}_{buildtype}
     defaults: liburcu
     concurrent: true
 
             - project-compare-type: 'PLAIN'
               project-pattern: 'userspace-rcu'
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**'
+                - branch-compare-type: 'PLAIN'
+                  branch-pattern: '{version}'
+
+    properties:
+      - inject:
+          properties-content: |
+            PROJECT_NAME=liburcu
+      - build-discarder:
+          days-to-keep: 1
+      - throttle:
+          option: 'category'
+          categories:
+            - 'gerrit-{buildtype}'
 
     <<: *liburcu_matrix_axes_defaults
     <<: *liburcu_builders_defaults
 
 
 - project:
-    name: gerrit-liburcu
+    name: review-liburcu
     github_user: urcu
     github_name: userspace-rcu
+    version:
+      - stable-0.13
+      - stable-0.14
+      - master
     jobs:
-      - 'dev_gerrit_liburcu_{buildtype}':
+      - 'dev_review_liburcu_{version}_{buildtype}':
           buildtype: build
           platforms: !!python/tuple [bionic-amd64]
           builds: !!python/tuple [std, oot, dist]
           confs: !!python/tuple [std, static, tls_fallback, debug-rcu]
           touchstone: '(build == "std")'
-      - 'dev_gerrit_liburcu_{buildtype}':
+      - 'dev_review_liburcu_{version}_{buildtype}':
           buildtype: portbuild
           platforms: !!python/tuple [deb11-armhf, deb11-arm64, deb11-ppc64el, deb11-i386]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
-          touchstone: '(build == "std")'
-      - 'dev_gerrit_liburcu_{buildtype}':
+          touchstone: ''
+      - 'dev_review_liburcu_{version}_{buildtype}':
           buildtype: winbuild
           platforms: !!python/tuple [cygwin64]
           builds: !!python/tuple [std]
This page took 0.02565 seconds and 4 git commands to generate.