From 670c41378ef20bffc13159a3d5dd11d216726d46 Mon Sep 17 00:00:00 2001 From: Daiane Angolini Date: Fri, 10 Apr 2026 11:41:28 -0300 Subject: [PATCH 1/2] lmp/build.sh: Make sure to fetch the tags Fetch tags from GH_TARGET_REPO into the local clone before handing it off to repo init, so the tags are available in the setup-environment-internal context. Fix the error on scarthgap: Saved manifest to /archive/manifest.pinned.xml == 2026-04-07 20:47:38 Base LmP cache version detected as: 97 fatal: No names found, cannot describe anything. Script completed with error(s) == 2026-04-07 20:47:42.780281: Finding artifacts to upload Signed-off-by: Daiane Angolini --- lmp/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lmp/build.sh b/lmp/build.sh index 714fe9de..29a01e7b 100755 --- a/lmp/build.sh +++ b/lmp/build.sh @@ -16,6 +16,10 @@ if [[ $GIT_URL == *"/lmp-manifest.git"* ]]; then manifest="file://$(pwd)/.git -b $GIT_SHA" # repo init won't work off detached heads, so do this to work around: git branch pr-branch $GIT_SHA + # fetch also the tags when we are in the CI + if [ -n "$GH_TARGET_REPO" ] && [ "$GH_TARGET_REPO" != "$GIT_URL" ]; then + git fetch "$GH_TARGET_REPO" --tags --quiet + fi # Check to make sure REPO_INIT_OVERRIDES isn't setting a "-b ". # That will break our logic for checking out the exact GIT_SHA above export REPO_INIT_OVERRIDES=$(echo $REPO_INIT_OVERRIDES | sed -e 's/-b\s*\S*//') From 3d82d14b52f651331ce5889191cfcd580944a5c3 Mon Sep 17 00:00:00 2001 From: Daiane Angolini Date: Fri, 10 Apr 2026 16:29:09 -0300 Subject: [PATCH 2/2] Revert "jobserv: make it build from a branch" We don't need to debug anymore, so go back on using master. This reverts commit 7dc72a5de74d2a163b33c20c44d5b46a877222f2. Signed-off-by: Daiane Angolini --- lmp/jobserv.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/lmp/jobserv.yml b/lmp/jobserv.yml index d44a6270..9bc46278 100644 --- a/lmp/jobserv.yml +++ b/lmp/jobserv.yml @@ -398,4 +398,3 @@ params: script-repos: fio: clone-url: https://github.com/foundriesio/ci-scripts - git-ref: debug-branch