| Message ID | 20250904-contrib-mathieu-build_props-v1-0-0ffaafcd01cb@bootlin.com |
|---|---|
| Headers | show |
| Series | runconfig: Add build configuration as properties | expand |
On Thu, 2025-09-04 at 17:48 +0200, Mathieu Dubois-Briand via lists.yoctoproject.org wrote: > It was recently brought to my attention that the "Build properties" tab > on buildbot could contain more data. One is the build configuration, > such as MACHINE or DISTRO, the other is about the poky-ci-archive tag > that is automatically created on a-full and a-quick builds. > > This series aims to improve a bit the situation, by extracting DISTRO, > MACHINE, SDKMACHINE and PACKAGE_CLASSES from the config.json file > describing builds configuration, and adding them as build properties. > More properties can be added if any appears to be useful. > > It also stores poky-ci-archive tag as well as a web git URL in > "poky-ci-archive_tag" and "poky-ci-archive_url" properties, on a-full > and a-quick builds, copied to all sub-builds. I'm not convinced by the > need to have both properties, so I'm open for any feedback. > > This series has a dependency on run-config modifications, in > yocto-autobuilder-helper git [1]. The challenge is we have to patch all helper branches we're still using when we make a change like that, which makes this kind of change a lot harder to merge. Cheers, Richard
On Mon Sep 8, 2025 at 4:24 PM CEST, Richard Purdie wrote: > On Thu, 2025-09-04 at 17:48 +0200, Mathieu Dubois-Briand via lists.yoctoproject.org wrote: >> It was recently brought to my attention that the "Build properties" tab >> on buildbot could contain more data. One is the build configuration, >> such as MACHINE or DISTRO, the other is about the poky-ci-archive tag >> that is automatically created on a-full and a-quick builds. >> >> This series aims to improve a bit the situation, by extracting DISTRO, >> MACHINE, SDKMACHINE and PACKAGE_CLASSES from the config.json file >> describing builds configuration, and adding them as build properties. >> More properties can be added if any appears to be useful. >> >> It also stores poky-ci-archive tag as well as a web git URL in >> "poky-ci-archive_tag" and "poky-ci-archive_url" properties, on a-full >> and a-quick builds, copied to all sub-builds. I'm not convinced by the >> need to have both properties, so I'm open for any feedback. >> >> This series has a dependency on run-config modifications, in >> yocto-autobuilder-helper git [1]. > > The challenge is we have to patch all helper branches we're still using > when we make a change like that, which makes this kind of change a lot > harder to merge. > > Cheers, > > Richard Oops, I had the dependency order wrong for a second. So I confirm I had no intention to mandate an update of all helper branches, but only master. I will try to come with a better idea on the yocto-autobuilder2 side, so it can work both with old and new helper code. Thanks, Mathieu
It was recently brought to my attention that the "Build properties" tab on buildbot could contain more data. One is the build configuration, such as MACHINE or DISTRO, the other is about the poky-ci-archive tag that is automatically created on a-full and a-quick builds. This series aims to improve a bit the situation, by extracting DISTRO, MACHINE, SDKMACHINE and PACKAGE_CLASSES from the config.json file describing builds configuration, and adding them as build properties. More properties can be added if any appears to be useful. It also stores poky-ci-archive tag as well as a web git URL in "poky-ci-archive_tag" and "poky-ci-archive_url" properties, on a-full and a-quick builds, copied to all sub-builds. I'm not convinced by the need to have both properties, so I'm open for any feedback. This series has a dependency on run-config modifications, in yocto-autobuilder-helper git [1]. Also add b4 configuration file, to ease a bit the patch submission process. [1] https://lists.yoctoproject.org/g/yocto-patches/message/2129 Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> --- Mathieu Dubois-Briand (3): runconfig: Add build configuration as properties builders: Add poky-ci-archive tag in build properties b4-config: Add basic b4 configuration .b4-config | 4 ++++ builders.py | 10 +++++++++- steps/runconfig.py | 12 +++++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) --- base-commit: 45b64625b3d58449fc6e18bf2cbe473b63745656 change-id: 20250904-contrib-mathieu-build_props-a30fbeef06d3 Best regards,