telegraf
telegraf copied to clipboard
chore(build): migrate to nFPM for packaging debs and rpms
Summary
Migrates to nFPM over FPM for building telegraf debs and rpms.
FPM, while a great tool, has some limitations, and also introduces a ruby dependency for building. nFPM is packaged as part of goreleaser, and is a pure go solution to building these files.
Things remaining:
- Test the CI container build, and once ready, publish the CI container
- Clean up some of the environment variables
- Restore .zip and .gz issues (need to investigate why they complain when building)
Following the above, I have another set of fixes for #7770, which will include a lintian-overrides file as well as some fixes for the install and remove scripts which I have prepared already but want to do as a separate PR.
Checklist
- [X] No AI generated code was used in this PR
Related issues
#7770