schedulers: remove obsolete ourTriggerable class

c8393c1b0d
eliminates the need for ourTriggerable reconfigure safe class.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Michael Halstead 2025-07-16 11:45:03 -07:00 committed by Richard Purdie
parent 6a5b665536
commit 010a0e43ae

View File

@ -457,17 +457,11 @@ def builderNamesFromConfigFull(props):
return builders
# Upstream Triggerable class will rasise NotImplementedError() which will mean triggers abort upon reconfig
# Hack to intercept and ignore this, we'd rather they just survive in our case.
class ourTriggerable(sched.Triggerable):
def reconfigService(self, name=None, *args, **kwargs):
return
# nightly builder triggers various other builders
wait_quick = ourTriggerable(name="wait-quick",
wait_quick = sched.Triggerable(name="wait-quick",
builderNames=builderNamesFromConfigQuick)
schedulers.append(wait_quick)
wait_full = ourTriggerable(name="wait-full",
wait_full = sched.Triggerable(name="wait-full",
builderNames=builderNamesFromConfigFull)
schedulers.append(wait_full)