mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 20:59:02 +02:00
reprodubile: Weight the same as other reproducible builds so it starts earlier
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
2d60fe7103
commit
d63c3a4f66
|
@ -184,6 +184,8 @@ builder_bonuses = {}
|
|||
for builder in config.builder_to_workers:
|
||||
bonus = (len(config.workers) - len(config.builder_to_workers[builder])) * 2
|
||||
builder_bonuses[builder] = timedelta(seconds=bonus)
|
||||
# Ensure plain reproducible builds start earlier too
|
||||
builder_bonuses["reproducible"] = builder_bonuses["reproducible-debian"]
|
||||
|
||||
# Modified default algothirm from buildbot with a bonus mechanism (thanks tardyp!)
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Reference in New Issue
Block a user