Skip to content

ci: publish official release binaries - #438

Merged
robertodauria merged 1 commit into
mainfrom
ci/release-binaries
Oct 6, 2026
Merged

robertodauria merged 1 commit into
mainfrom
ci/release-binaries

Conversation

@robertodauria

@robertodauria robertodauria commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Attach official, statically linked ndt-server binaries to every GitHub Release, so consumers such as the BYOS Debian package can download pinned builds instead of compiling from source. Same workflow shape as m-lab/jostler#62.

  • New release-binaries workflow: on release: published, builds ndt-server and cmd/generate-schemas for linux/amd64 with CGO_ENABLED=0 -trimpath -ldflags "-s -w" and the same version.Version and prometheusx.GitShortCommit stamps as the container image, then uploads ndt-server_<tag>_linux_amd64 and generate-schemas_<tag>_linux_amd64 plus checksums.txt to the release.
  • workflow_dispatch with a tag input attaches binaries to an existing release. Releases before the cgo removal (fix(bbr): remove cgo dependency, build statically with CGO_ENABLED=0 #436) do not build with CGO_ENABLED=0, so the first release with binaries is the next one.

This change is Reviewable

@robertodauria
robertodauria merged commit 852df94 into main Oct 6, 2026
4 checks passed
@robertodauria
robertodauria deleted the ci/release-binaries branch October 6, 2026 12:22
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