mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
builders/schedulers: Add 'Should SWAT monitor?' boolean field to build schedulers
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
99cafafe1a
commit
ccc041a8e8
|
@ -29,6 +29,7 @@ def ensure_props_set(props):
|
||||||
"""
|
"""
|
||||||
return {
|
return {
|
||||||
"sharedrepolocation": props.getProperty("sharedrepolocation", ""),
|
"sharedrepolocation": props.getProperty("sharedrepolocation", ""),
|
||||||
|
"swat_monitor": props.getProperty("swat_monitor", True),
|
||||||
"build_type": props.getProperty("build_type", "quick"),
|
"build_type": props.getProperty("build_type", "quick"),
|
||||||
"is_release": props.getProperty("is_release", False),
|
"is_release": props.getProperty("is_release", False),
|
||||||
"buildappsrcrev": props.getProperty("buildappsrcrev", ""),
|
"buildappsrcrev": props.getProperty("buildappsrcrev", ""),
|
||||||
|
|
|
@ -69,6 +69,10 @@ def props_for_builder(builder):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
props = []
|
props = []
|
||||||
|
props.append(util.BooleanParameter(
|
||||||
|
name="swat_monitor",
|
||||||
|
label="Should SWAT monitor this build?",
|
||||||
|
default=True))
|
||||||
if builder == 'build-appliance':
|
if builder == 'build-appliance':
|
||||||
props.append(buildappsrcrev_param())
|
props.append(buildappsrcrev_param())
|
||||||
if builder in ['build-appliance', 'buildtools', 'eclipse-plugin-neon', 'eclipse-plugin-oxygen']:
|
if builder in ['build-appliance', 'buildtools', 'eclipse-plugin-neon', 'eclipse-plugin-oxygen']:
|
||||||
|
@ -259,6 +263,10 @@ def parent_scheduler(target):
|
||||||
'branch_oecore': 'morty',
|
'branch_oecore': 'morty',
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
util.BooleanParameter(
|
||||||
|
name="swat_monitor",
|
||||||
|
label="Should SWAT monitor this build?",
|
||||||
|
default=True),
|
||||||
buildappsrcrev_param(),
|
buildappsrcrev_param(),
|
||||||
util.BooleanParameter(
|
util.BooleanParameter(
|
||||||
name="is_release",
|
name="is_release",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user