mbox series

[yocto-autobuilder-helper,0/3] replace BUILD_HISTORY_DIRECTPUSH with hardcoded condition

Message ID 20230626080600.17359-1-alexis.lothore@bootlin.com
Headers show
Series replace BUILD_HISTORY_DIRECTPUSH with hardcoded condition | expand

Message

Alexis Lothoré June 26, 2023, 8:05 a.m. UTC
From: Alexis Lothoré <alexis.lothore@bootlin.com>

This series is a follow-up to [1], which hot-fixed tests results not being
pushed by Autobuilder by enriching the BUILD_HISTORY_DIRECTPUSH variable
with mickledore. Since the issue will likely happen for all new releases,
this series brings in a better fix (suggested by Richard) to systematically
include all "main" branches, based on their name and the target repository
(poky). Since the new condition is based on the branch name, it assumes
that except for the XXX-next branch, no other custom/non release branch
will be pushed to poky (contrary to poky-contrib)

[1] https://lists.yoctoproject.org/g/yocto/topic/99523809#60297

Alexis Lothoré (3):
  scripts/utils.py: replace BUILD_HISTORY_DIRECTPUSH with hardcoded
    condition
  config.json: remove BUILD_HISTORY_DIRECTPUSH
  scripts/test_utils.py: update test after BUILD_HISTORY_DIRECTPUSH
    removal

 config.json           |  1 -
 scripts/test_utils.py | 29 +++++++----------------------
 scripts/utils.py      | 13 +++++++++++--
 3 files changed, 18 insertions(+), 25 deletions(-)