Skip to content

client: build .deb and .rpm package variants with mainnet-beta env config#2819

Open
nikw9944 wants to merge 2 commits intomainfrom
nikw/1167
Open

client: build .deb and .rpm package variants with mainnet-beta env config#2819
nikw9944 wants to merge 2 commits intomainfrom
nikw/1167

Conversation

@nikw9944
Copy link
Contributor

@nikw9944 nikw9944 commented Feb 4, 2026

Summary

  • Add a doublezero-mainnet-beta nfpm package to the goreleaser base client config that ships a systemd service file with -env mainnet-betaand and includes a /etc/doublezero/cli/config.yml file configured for mainnet-beta
  • Filter Cloudsmith uploads in testnet and devnet goreleaser configs to only push the testnet-configured doublezero package (not the mainnet-beta variant)
  • The mainnet-beta .deb/.rpm are attached to the GitHub release and promoted to the doublezero Cloudsmith repo via a separate infra workflow
  • Extract resolve_config from read_doublezero_config in the Rust SDK so config precedence logic (user → system → default) can be tested without OnceLock or /etc access

Testing Verification

  • Pushed client/v0.0.0-test.1 tag on this branch and verified the release workflow produced both the testnet and mainnet-beta packages
  • Added 4 unit tests covering config file precedence: no files (default), system-only, user-overrides-system, and partial system config with serde defaults

@nikw9944 nikw9944 changed the title client: build mainnet-beta configured package for doublezero apt repo client: build package variant with mainnet-beta env config for doublezero apt repo Feb 4, 2026
@nikw9944 nikw9944 changed the title client: build package variant with mainnet-beta env config for doublezero apt repo client: build .deb and .rpm package variants with mainnet-beta env config for doublezero apt repo Feb 4, 2026
@nikw9944 nikw9944 changed the title client: build .deb and .rpm package variants with mainnet-beta env config for doublezero apt repo client: build .deb and .rpm package variants with mainnet-beta env config Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

client: default to testnet env in doublezero-testnet apt repo; default to mainnet-beta env in doublezero apt repo

1 participant