New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add packages to release #1282
Add packages to release #1282
Conversation
* Add deb/rpm packages to goreleaser. * Add a checksums file to the release. Signed-off-by: Ben Kochie <superq@gmail.com>
Hello, Sorry but it's a bit more complex than just add the goreleaser configuration:
From my memory, lego is already available from Debian repositories, and maybe on rpm repositories. I prefer to not manage those packaging because this kind of build can be difficult to maintain. Thank you anyway. |
Ahh, I added the checksums thing because I think in previous versions of goreleaser, the checksums file was missing by default. This appears to not be the case anymore. I have removed this change. NFPM is built into goreleaser as a library. No changes to the build pipeline are required. Lego is technicaly available in Debian, but as usual, it does not get upated in stable. So the only available version is 0.3.1. |
I wonder if providing deb or rpm packages (i.e. without a proper repository infrastructure) is such a good idea. One of the benefit expected by users of those package formats, and not provided by Github, is an actual package repository, for automatic/semi-automatic updates. So, after downloading and installing a hypothetical
Comparing to the That being said, I'm not against providing deb/rpm packages, per se; especially if it really doesn't affect the build/release pipeline. The wording on the GoReleaser docs is a bit weird: "GoReleaser can be wired to nfpm" can be interpreted as "have In the end, @ldez creates the releases, so I'm in 100% support of his decision. |
I forgot to mention another point: the build time in Travis is limited to 50 min. Currently, a release takes about 45 minutes, we don't have much margin. https://travis-ci.com/github/go-acme/lego/builds/199000810 |
Hm. This is a bit off-topic, but given the recent announcement (1000 min/month for their free/trial plan), maybe we should look into Github Actions? |
For providing proper repo, this can be done with PackageCloud. They offer free accounts to open source projects. We (Prometheus project) are quite happy with CircleCI. |
Now that the project has transitioned to Github Actions, can we merge this to start getting official deb/rpm? |
PackageCloud sounds pretty awesome if the grant is possible to make them more accessible, but that's a separate PR. |
Signed-off-by: Ben Kochie superq@gmail.com