mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:39:02 +02:00
schedulers: Ensure xxx/master-next matches master
riscv builds weren't being triggered for some master-next builds. Tweak the logic to us "in" instead of "startswith" to avoid this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cafa9fddb8
commit
f5bd6ea704
|
@ -434,7 +434,7 @@ def builderNamesFromConfigQuick(props):
|
|||
|
||||
builders = config.trigger_builders_wait_quick
|
||||
for b in config.trigger_builders_wait_quick_releases:
|
||||
if yp_branch and yp_branch.startswith(b):
|
||||
if yp_branch and yp_branch in b:
|
||||
log.msg("builderNames: Filtering branch %s due to entry %s" % (str(yp_branch), str(b)))
|
||||
builders = config.trigger_builders_wait_quick_releases[b]
|
||||
|
||||
|
@ -447,7 +447,7 @@ def builderNamesFromConfigFull(props):
|
|||
|
||||
builders = config.trigger_builders_wait_full
|
||||
for b in config.trigger_builders_wait_full_releases:
|
||||
if yp_branch and yp_branch.startswith(b):
|
||||
if yp_branch and yp_branch in b:
|
||||
log.msg("builderNames: Filtering branch %s due to entry %s" % (str(yp_branch), str(b)))
|
||||
builders = config.trigger_builders_wait_full_releases[b]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user