Skip to content
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

chore(build): migrate to nFPM for packaging debs and rpms #16011

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DStrand1
Copy link
Member

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

  • No AI generated code was used in this PR

Related issues

#7770

@DStrand1 DStrand1 self-assigned this Oct 11, 2024
@telegraf-tiger telegraf-tiger bot added the chore label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants