diff mbox series

[yocto-autobuilder2] schedulers: Add codebase on all forced builds

Message ID 20241024091355.146213-1-mathieu.dubois-briand@bootlin.com
State New
Headers show
Series [yocto-autobuilder2] schedulers: Add codebase on all forced builds | expand

Commit Message

Mathieu Dubois-Briand Oct. 24, 2024, 9:13 a.m. UTC
From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>

Adding the code base with no name and a label on sub-builders, so it
adds the missing "yocto-autobuilder-helper" header on the build start
pop-up. This mimic the behaviour we already have for the a-full/a-quick
builds.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
 schedulers.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/schedulers.py b/schedulers.py
index e4266a53d1b8..c678c1d17675 100644
--- a/schedulers.py
+++ b/schedulers.py
@@ -386,6 +386,7 @@  for builder in config.subbuilders:
     schedulers.append(sched.ForceScheduler(
         name=builder,
         builderNames=[builder],
+        codebases=[util.CodebaseParameter(codebase='', label="yocto-autobuilder-helper:", project=None)],
         reason=util.StringParameter(
                 name="reason",
                 label="""Reason (please note the reason for triggering the