Add GoReleaser config + tag-driven release workflow#3425
Draft
monty-sei wants to merge 1 commit into
Draft
Conversation
Adds the first standardised release-artefact pipeline for sei-chain so
that every `v*` tag publishes a pre-built static `seid` binary on
the GitHub Release page alongside the existing Docker images.
Files:
- .goreleaser.yaml static linux/amd64 `seid` build
- .github/workflows/goreleaser-release.yml
tag-triggered caller; delegates to
sei-protocol/uci's reusable goreleaser
workflow
- scripts/check-libwasmvm-static.sh
fail-fast pre-build hook verifying the
muslc `.a` files are present
Build details:
- CGO_ENABLED=1, CC=musl-gcc, tags netgo,muslc,ledger
- linkmode=external with -static extldflags
- LDFLAGS match the existing Makefile (sei-cosmos/version.* symbols)
- libwasmvm_muslc.a / libwasmvm_muslc.aarch64.a are already checked
into sei-wasmvm/internal/api/, so no rebuild at release time
- release: draft=true, mode=append so this coexists safely with any
other release-creation paths (uci release-publish, manual)
Out of scope (follow-ups):
- linux/arm64 static seid (requires aarch64 musl cross-toolchain)
- macOS seid
- cosign signatures, SBOM, SLSA provenance
Once the uci PR adding goreleaser-release.yml is merged and tagged,
update the @ref in goreleaser-release.yml to a uci version tag.
Refs PLT-41, PLT-266.
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
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.
First standardised release-artefact pipeline for sei-chain. Every
v*tag would publish a pre-built staticseidbinary on the GitHub Release page alongside the existing Docker images.Blocked — wasmd static archive issue: the
libwasmvmXXXstatic.afiles for wasmd v152/v155 insei-wasmd/x/wasm/artifacts/are Mach-O arm64 (macOS dev artefacts), not Linux musl ELF. The linker errors withcannot find -lwasmvm152_muslc/-lwasmvm155_muslc. This reproduces on GitHub Actions runners — the.afiles themselves are the issue. Pending resolution on PLT-41 before this can land.Opened as draft for review of the goreleaser config and workflow shape only.
Refs PLT-41, PLT-266.