• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nats-io / nats-server / 12477062341
83%

Build:
DEFAULT BRANCH: main
Ran 24 Dec 2024 05:41AM UTC
Jobs 1
Files 57
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Dec 2024 10:25PM UTC coverage: 85.452% (-0.04%) from 85.488%
12477062341

push

github

web-flow
Make goreleaser archives reproducible (#6299)

Use commit time in mod_timestamp, as documented in:
https://goreleaser.com/customization/builds/#reproducible-builds
https://goreleaser.com/blog/reproducible-builds/

https://goreleaser.com/customization/templates/?h=templates#common-fields

## Test plan:
### Before.
Build two times:
```
goreleaser release --snapshot --clean -f .goreleaser.yml
mv dist/ ~/tmp/dist_before
goreleaser release --snapshot --clean -f .goreleaser.yml 
vimdiff dist/SHA256SUMS ~/tmp/dist_before/SHA256SUMS
```
Observe all the shasums are different:

![image](https://github.com/user-attachments/assets/ed0b932c-ab5b-46de-bf73-0516e223af8a)

### After:
Do the build two times, 
```
goreleaser release --snapshot --clean -f .goreleaser.yml
mv dist/ ~/tmp/dist_after
goreleaser release --snapshot --clean -f .goreleaser.yml 
vimdiff dist/SHA256SUMS ~/tmp/dist_after/SHA256SUMS
```
Observe that only rpm and deb packages are different

![image](https://github.com/user-attachments/assets/ad4e3786-5d2b-480b-9e66-c2824f379d57)

There was a feature added to goreleaser to make packages reproducible
too, but I haven't figured out how to use it yet:
https://github.com/goreleaser/nfpm/pull/748
I asked in Discord. We can tackle that separately

Signed-off-by: Alex Bozhenko <alex@synadia.com>

68382 of 80024 relevant lines covered (85.45%)

1135726.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12477062341.1 24 Dec 2024 05:41AM UTC 0
85.45
GitHub Action Run
Source Files on build 12477062341
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12477062341
  • c4b778c6 on github
  • Prev Build on main (#12461370053)
  • Next Build on main (#12489477550)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc