Skip to content

Commit 76517a1

Browse files
committed
fix(ci): copy events metadata to top-level artifact directory
The packaging script only placed all_events.json.xz in an events/ subdirectory, but the firmware advertises the metadata URI at the board directory top level. New build targets added after the Jenkins-to-GHA migration had no legacy top-level copy, causing QGC to get a 404 when fetching component metadata. Fixes #26963 Signed-off-by: Ramon Roche <mrpollo@gmail.com>
1 parent ed38755 commit 76517a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tools/ci/package_build_artifacts.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ for build_dir_path in build/*/ ; do
2929
# Events
3030
mkdir -p artifacts/$build_dir/events/
3131
cp $build_dir_path/events/all_events.json.xz artifacts/$build_dir/events/ 2>/dev/null || true
32+
# Also copy to top level: firmware advertises the metadata URI without the events/ subdirectory
33+
# (see src/lib/component_information/CMakeLists.txt comp_metadata_events_uri_board)
34+
cp $build_dir_path/events/all_events.json.xz artifacts/$build_dir/ 2>/dev/null || true
3235
# SBOM
3336
cp $build_dir_path/*.sbom.spdx.json artifacts/$build_dir/ 2>/dev/null || true
3437
ls -la artifacts/$build_dir

0 commit comments

Comments
 (0)