Skip to contentSkip to conversation

schedulers: change default value for SWAT monitoring

PATCH New Alexandre Belloni 1 participant 1 message Aug 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 schedulers: change default value for SWAT monitoring

meta-oe and auh are not for SWAT, change the default to be false

---
 schedulers.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
schedulers.py +5 -1
index 8f6f34323a75..6b711d65766f 100644
@@ -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']:
Signature · 1 line
2.31.1