Skip to content

Let the release binaries build skip the agent when only the CLI is needed - #464

Merged
tnkuehne merged 1 commit into
mainfrom
release-binaries-packages
Nov 28, 2026
Merged

tnkuehne merged 1 commit into
mainfrom
release-binaries-packages

Conversation

@tnkuehne

Copy link
Copy Markdown
Contributor

tools/build-release-binaries.sh always compiled platform-agent and platform-cli. An image that only runs the CLI, such as the app CI build image, does not need the agent.

Changes

  • RELEASE_PACKAGES names the packages to compile: platform-agent, platform-cli or both. Without it the script builds both, so the release workflows are unchanged.
  • The script installs, hashes and archives only the executables it built. It rejects other package names.

Checks

Ran the script against a stand-in for docker: without RELEASE_PACKAGES it passes both packages to cargo and archives platform-agent and widefleet; with platform-cli only the CLI; an unknown name fails before building.

…eded

RELEASE_PACKAGES names the packages to compile, platform-agent and
platform-cli by default, so release images build as before. An image that
only runs the CLI sets it to platform-cli.
@tnkuehne
tnkuehne merged commit 7748892 into main Nov 28, 2026
14 of 15 checks passed
@tnkuehne
tnkuehne deleted the release-binaries-packages branch November 28, 2026 14:51
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.

1 participant