Skip to content

Conversation

@tt-232
Copy link
Contributor

@tt-232 tt-232 commented Nov 25, 2025

This pull request updates the scripts/build_bundle.sh script to make the bundling process more robust by conditionally including files based on their existence in the container. The main improvement is that the bundle now only contains files that are actually present, preventing errors when optional files are missing.

Improvements to bundle creation logic:

  • Added checks to only copy default_config.binarypb and parameter-descriptor-set.proto.bin from the container if they exist, preventing failures when these files are absent.
  • Dynamically constructs the list of files to include in the bundle tarball (TAR_FILES), ensuring only existing files are added to images/$SERVICE_NAME.bundle.tar.

@feuerste feuerste requested a review from mjcarroll November 28, 2025 08:31
@feuerste
Copy link
Contributor

feuerste commented Dec 5, 2025

@mjcarroll Can you please also have a quick look?

@feuerste feuerste merged commit 47a23a7 into main Dec 5, 2025
2 of 3 checks passed
@feuerste feuerste deleted the ttwei/add_condition_checks_for_building_bundles branch December 5, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants