mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
scheduler: make the default choice an option
The default choice on the force build form will select a random worker. builder_to_workers dictionary values can no longer be strings. Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8eba9650b1
commit
e00253a850
|
@ -127,7 +127,7 @@ builder_to_workers = {
|
||||||
"oe-selftest-opensuse": workers_opensuse,
|
"oe-selftest-opensuse": workers_opensuse,
|
||||||
"oe-selftest-centos": workers_centos,
|
"oe-selftest-centos": workers_centos,
|
||||||
"meta-mingw": workers_wine,
|
"meta-mingw": workers_wine,
|
||||||
"buildperf-ubuntu1604": "perf-ubuntu1604",
|
"buildperf-ubuntu1604": ["perf-ubuntu1604"],
|
||||||
"buildperf-centos7": "perf-centos7",
|
"buildperf-centos7": ["perf-centos7"],
|
||||||
"default": workers
|
"default": workers
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,7 +81,7 @@ def props_for_builder(builder):
|
||||||
default="*",
|
default="*",
|
||||||
multiple=False,
|
multiple=False,
|
||||||
strict=True,
|
strict=True,
|
||||||
choices=worker_list))
|
choices=worker_list + ["*"]))
|
||||||
return props
|
return props
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user