From f373f06fb72197faa2927732d2ab31bba914ee36 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Thu, 11 Sep 2025 15:29:09 +0200 Subject: [PATCH] *: Scavenge for configure logs and upload them to bincache This searches for portage logs and configure logs after a build, and uploads them to bincache. This is currently only done for SDK builds, SDK container builds and package builds. This probably could be extended to catch logs for sysext builds, but this was annoying to implement, IIRC. Signed-off-by: Krzesimir Nowak --- bootstrap_sdk_container | 8 ++++- build_sdk_container_image | 26 +++++++++++++- ci-automation/ci_automation_common.sh | 22 ++++++++++++ ci-automation/garbage_collect.sh | 2 ++ ci-automation/packages.sh | 37 +++++++++++++++----- ci-automation/sdk_bootstrap.sh | 36 +++++++++++++++++--- ci-automation/sdk_container.sh | 34 +++++++++++++++---- sdk_lib/Dockerfile.sdk-build | 8 +---- sdk_lib/sdk_container_common.sh | 37 ++++++++++++++++++++ sdk_lib/setup_boards.sh | 49 +++++++++++++++++++++++++++ 10 files changed, 231 insertions(+), 28 deletions(-) create mode 100755 sdk_lib/setup_boards.sh diff --git a/bootstrap_sdk_container b/bootstrap_sdk_container index 6384e69e49..c197787179 100755 --- a/bootstrap_sdk_container +++ b/bootstrap_sdk_container @@ -11,6 +11,7 @@ source sdk_lib/sdk_container_common.sh seed_version="" target_version="" +logdir='' declare -a cleanup @@ -30,6 +31,7 @@ usage() { echo " -x - For each resource generated during build (container etc.)" echo " add a cleanup line to