jjb: xci: Fix bifrost blockers for XCI jobs 43/52343/2
authorMarkos Chandras <mchandras@suse.de>
Tue, 20 Feb 2018 08:41:33 +0000 (08:41 +0000)
committerMarkos Chandras <mchandras@suse.de>
Wed, 21 Feb 2018 08:46:56 +0000 (08:46 +0000)
The bifrost regexp was wrong leading to conflicts betwen the XCI
and bifrost jobs. Moreover, we need to add the same restrictions for
jobs/node on bifrost jobs similar to the XCI ones. This finally fixes
the 'throttle' property to use the 'xci-verify-virtual' category.

Change-Id: I6d3f8fdd82738c1d079b1a3fdef134753eb4281a
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/bifrost-verify-jobs.yml
jjb/xci/xci-merge-jobs.yml
jjb/xci/xci-verify-jobs.yml

index e4c2d0e..50b566b 100644 (file)
           use-build-blocker: true
           blocking-jobs:
             - 'xci-verify-{distro}-.*'
+            - 'xci-.*-{distro}-merge-.*'
             - '.*-bifrost-verify.*-{type}'
+      - throttle:
+          max-per-node: 2
+          max-total: 10
+          categories:
+            - xci-verify-virtual
+          option: category
 
           block-level: 'NODE'
 
index b8da612..492348d 100644 (file)
@@ -61,8 +61,7 @@
           blocking-jobs:
             - 'xci-verify-{distro}-.*'
             - 'xci-.*-{distro}-merge-.*'
-            - 'bifrost-verify-{distro}-.*'
-            - 'bifrost-periodic-{distro}-.*'
+            - 'openstack-bifrost-verify-{distro}-.*'
             - 'xci-osa-verify-{distro}-.*'
             - 'xci-osa-periodic-{distro}-.*'
             - 'xci-(os|k8s).*?-virtual-{distro}-.*'
@@ -71,7 +70,7 @@
           max-per-node: 2
           max-total: 10
           categories:
-            - xci-merge-virtual
+            - xci-verify-virtual
           option: category
 
     wrappers:
index 7c6871c..c6b6bc4 100644 (file)
@@ -67,8 +67,7 @@
           blocking-jobs:
             - 'xci-verify-{distro}-.*'
             - 'xci-.*-{distro}-merge-.*'
-            - 'bifrost-verify-{distro}-.*'
-            - 'bifrost-periodic-{distro}-.*'
+            - 'openstack-bifrost-verify-{distro}-.*'
             - 'xci-osa-verify-{distro}-.*'
             - 'xci-osa-periodic-{distro}-.*'
           block-level: 'NODE'