Skip to content

Set build host in goreleaser to have reproducible rpms#7307

Merged
neilalexander merged 1 commit intomainfrom
set_build_host
Sep 16, 2025
Merged

Set build host in goreleaser to have reproducible rpms#7307
neilalexander merged 1 commit intomainfrom
set_build_host

Conversation

@alexbozhenko
Copy link
Copy Markdown
Member

@alexbozhenko alexbozhenko commented Sep 12, 2025

Follow-up to #6359 and #6701

Since 2.11.2 version of goreleaser, it is allowed to set buildhost for RPMs
https://github.com/orgs/goreleaser/discussions/5662

I believe with this all the rpms, debs and tars will be reproducible(the binaries have been reproducible for long time)

Test plan:

# go clean -cache && goreleaser  release --skip=announce,publish,validate --clean -f .goreleaser.yml
# rpm -qip nats-server-v2.12.0-RC.3-s390x.rpm | grep -i 'Build Host'

Build Host  : synadia.com

Signed-off-by: Alex Bozhenko alexbozhenko@gmail.com

Signed-off-by: Alex Bozhenko <alexbozhenko@gmail.com>
@alexbozhenko alexbozhenko requested a review from a team as a code owner September 12, 2025 17:38
Copy link
Copy Markdown
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neilalexander neilalexander merged commit a5bbe08 into main Sep 16, 2025
69 of 70 checks passed
@neilalexander neilalexander deleted the set_build_host branch September 16, 2025 09:47
neilalexander added a commit that referenced this pull request Sep 29, 2025
Includes the following:

- #7290
- #7295
- #7291
- #7287
- #7299
- #7300
- #7297
- #7303
- #7304
- #7305
- #7309
- #7307
- #7320
- #7337
- #7344
- #7345
- #7348
- #7349
- #7350
- #7357
- #7356
- #7358
- #7367
- #7293

Signed-off-by: Neil Twigg <neil@nats.io>
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.

2 participants