-
Notifications
You must be signed in to change notification settings - Fork 3
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
Generate RPM/DEB packages using nFPM #439
Labels
builds
documentation
Improvements or additions to documentation
enhancement
New feature or request
packages
Related to generated packages for this project (e.g., RPM, DEB)
Milestone
Comments
atc0005
added
documentation
Improvements or additions to documentation
enhancement
New feature or request
builds
labels
Dec 13, 2022
NOTE: I'll also want to decide how to handle tracking nfpm releases. The usual practice for most of the repos I maintain is to add a tools.go and go.mod file for Dependabot to track & notify for; it may be easier to track the tool and bundle it in the atc0005/go-ci project instead. |
atc0005
added a commit
that referenced
this issue
Feb 1, 2023
Use new 'packages' Makefile recipe to build DEB and RPM packages using the nFPM tool from the GoReleaser project. refs GH-439 See also: - https://nfpm.goreleaser.com/ - https://github.com/goreleaser/nfpm Thanks to the nFPM project for this awesome tool!
This was referenced Feb 1, 2023
atc0005
added
the
packages
Related to generated packages for this project (e.g., RPM, DEB)
label
Feb 2, 2023
This was referenced Mar 1, 2023
This was referenced Apr 9, 2023
25 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
builds
documentation
Improvements or additions to documentation
enhancement
New feature or request
packages
Related to generated packages for this project (e.g., RPM, DEB)
Overview
The initial implementation won't include package signing or overall package niceties, but will hopefully still be useful.
Goals:
postinstall
script as nFPM does not appear to support natively applying SELinux contexts/usr/lib64/nagios/plugins/check_cert
via RPM/usr/lib/nagios/plugins/check_cert
via DEB/usr/local/bin
To more easily support generating packages, some current build settings/choices may need to be adjusted:
lscert-v0.9.2-0-gbc90f7e-linux-amd64
becomeslscert-linux-amd64
lscert-linux-amd64
is deployed to the system as/usr/local/bin/lscert
References
The text was updated successfully, but these errors were encountered: