[yocto-autobuilder2] schedulers: change default value for SWAT monitoring

Submitted by Alexandre Belloni on Aug. 13, 2021, 3:48 p.m. | Patch ID: 180069

Details

Message ID 20210813154843.1149376-1-alexandre.belloni@bootlin.com
State New
Headers show

Commit Message

Alexandre Belloni Aug. 13, 2021, 3:48 p.m.
meta-oe and auh are not for SWAT, change the default to be false

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 schedulers.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/schedulers.py b/schedulers.py
index 8f6f34323a75..6b711d65766f 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -206,11 +206,15 @@  def props_for_builder(builder):
     scheduler
     """
 
+    swat_default = True
+    if builder in ['auh', 'meta-oe']:
+        swat_default = False
+
     props = []
     props.append(util.BooleanParameter(
         name="swat_monitor",
         label="Should SWAT monitor this build?",
-        default=True))
+        default=swat_default))
     if builder == 'build-appliance':
         props.append(buildappsrcrev_param())
     if builder in ['build-appliance', 'buildtools', 'eclipse-plugin-neon', 'eclipse-plugin-oxygen']: