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

index 31487e6c89ec1b0357794241d934c7e3a6eaed2f..b0fd19f2d8e147a539bdaca8793de734f3e6d6de 100644 (file)
@@ -52,7 +52,7 @@
 
 
 ## Anchors
-- librseq_matrix_axes_defaults: &librseq_matrix_axes_defaults
+- _librseq_matrix_axes_defaults: &librseq_matrix_axes_defaults
     name: 'librseq_matrix_axes_defaults'
     project-type: matrix
     node: 'master' # Applies only to matrix flyweight task
@@ -74,7 +74,7 @@
          name: build
          values: '{obj:builds}'
 
-- librseq_matrix_axes_cc: &librseq_matrix_axes_cc
+- _librseq_matrix_axes_cc: &librseq_matrix_axes_cc
     name: 'librseq_matrix_axes_cc'
     project-type: matrix
     node: 'master' # Applies only to matrix flyweight task
@@ -91,7 +91,7 @@
          name: cc
          values: '{obj:ccs}'
 
-- librseq_builders_defaults: &librseq_builders_defaults
+- _librseq_builders_defaults: &librseq_builders_defaults
     name: 'librseq_builders_defaults'
     builders:
       - shell:
@@ -99,7 +99,7 @@
            - scripts/common/print.sh
            - scripts/librseq/build.sh
 
-- librseq_publishers_defaults: &librseq_publishers_defaults
+- _librseq_publishers_defaults: &librseq_publishers_defaults
     name: 'librseq_publishers_defaults'
     publishers:
       - tap: &librseq_publisher_tap_defaults
           send-to:
             - recipients
 
-- librseq_publishers_gerrit: &librseq_publishers_gerrit
-    name: 'librseq_publishers_gerrit'
+- _librseq_publishers_review: &librseq_publishers_review
+    name: 'librseq_publishers_review'
     publishers:
       - tap: *librseq_publisher_tap_defaults
       - raw: *librseq_publisher_warnings-ng_defaults
     <<: *librseq_publishers_defaults
 
 - job-template:
-    name: dev_gerrit_librseq_{buildtype}
+    name: dev_review_librseq_{version}_{buildtype}
     defaults: librseq
     concurrent: true
 
             - project-compare-type: 'PLAIN'
               project-pattern: 'librseq'
               branches:
-                - branch-compare-type: 'ANT'
-                  branch-pattern: '**'
+                - branch-compare-type: 'PLAIN'
+                  branch-pattern: '{version}'
 
     <<: *librseq_matrix_axes_defaults
     <<: *librseq_builders_defaults
-    <<: *librseq_publishers_gerrit
+    <<: *librseq_publishers_review
 
     properties:
       - inject:
           touchstone: '(build == "std") && (conf == "std") && (platform == "deb11-i386")'
 
 - project:
-    name: gerrit-librseq
+    name: review-librseq
     github_user: compudj
     github_name: librseq
+    version:
+      - master
     jobs:
-      - 'dev_gerrit_librseq_{buildtype}':
+      - 'dev_review_librseq_{version}_{buildtype}':
           buildtype: linuxbuild
           platforms: !!python/tuple [jammy-amd64]
           builds: !!python/tuple [std, oot, dist, oot-dist]
This page took 0.025204 seconds and 4 git commands to generate.