chore(release): ship bare binaries; document broker-by-default Docker image#1
Merged
Merged
Conversation
… image - .goreleaser.yml: format: tar.gz -> binary; name_template drops version (matches sluice style; users grab peerbus_<os>_<arch> directly, no extract step). LICENSE/README dropped from archive — repo already carries both and release notes link them. - Dockerfile: rewrite the stale 'BROKER ONLY' rationale. v0.2.0+ ships one peerbus binary; the image bakes in serve as the default CMD but CMD is overridable (audit verify, --version, etc.). Adapters remain a bad fit for a container service (stdio child of the agent runtime). - deploy/compose.yml + README: match the new framing — broker-by-default, not broker-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small release-pipeline cleanups bundled into one PR.
1. Bare binaries instead of tar.gz archives
format: binaryinstead oftar.gz, name_template drops the version — matches the sluice convention. Userscurl -L -o peerbus https://.../releases/latest/download/peerbus_linux_amd64 && chmod +x peerbusinstead of downloading a tarball that contains exactly one binary + a LICENSE/README that already live in the repo.Verified with
goreleaser release --snapshot --clean: produces2. Dockerfile framing: broker-by-default, not broker-only
Pre-refactor the image literally only contained the broker binary, so 'BROKER ONLY' was true. Post-v0.2.0 the image bakes in the full
peerbusmulti-command binary withCMD ["serve"]as the default —docker run peerbus:latestis still the broker, butdocker run peerbus:latest audit verify --db /data/peerbus.db(or--version) works for ops tasks because Docker CMD is overridable. Adapters remain a bad fit for a container service (stdio MCP child of the agent runtime; running it as a long-lived container has no parent stdio to attach to and is the cc2cc orphan failure mode). Comment + README + compose.yml updated to reflect that.No code changes; tests unaffected. Will cut v0.2.1 once this is in.