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

Build and distribute config-file-validator rpm #43

Open
kehoecj opened this issue Sep 30, 2023 · 6 comments
Open

Build and distribute config-file-validator rpm #43

kehoecj opened this issue Sep 30, 2023 · 6 comments
Labels
distribution A new or improved way to distrubute the CFV

Comments

@kehoecj
Copy link
Contributor

kehoecj commented Sep 30, 2023

Build an RPM for the config-file-validator and go through the process of getting it added to Fedora. After it's been added to Fedora it can be added to EPEL

@kehoecj kehoecj added the distribution A new or improved way to distrubute the CFV label Sep 30, 2023
@kehoecj kehoecj changed the title Add config-file-validator to Fedora Build and distribute config-file-validator rpm Sep 30, 2023
@kranurag7
Copy link

@kehoecj Thanks for the validator, I am looking forward to use this project for linting YAMLs.

I released a minor version of config-file-validator on a fork here

It uses goreleaser to build tarballs, debian and rpm packages.
It uses goreleaser integration with ko to build container images for arm64 and amd64 platform.

  • The release config can be found here
  • The goreleaser config can be found here

Let me know if there are any comments on this and if you want to proceed ahead with goreleaser. I'll create a PR afterward.

@kehoecj kehoecj added question Further information is requested hacktoberfest Hacktoberfest 2023 labels Oct 7, 2023
@kehoecj
Copy link
Contributor Author

kehoecj commented Oct 9, 2023

@kranurag7 Thanks for taking a look at this - we're using go-release-action now (thanks to @LeslieLeung). Would this be able to integrate with that to produce the RPM's and DEB's?

@kranurag7
Copy link

@kehoecj I think we cannot de that with go-release-action. It seems they only support releasing binaries wrapped in .zip or tarballs.

@kehoecj
Copy link
Contributor Author

kehoecj commented Oct 9, 2023

@kranurag7 does goreleaser support our current releases (windows/Linux/macOS binaries) in addition to .deb and .rpm or can we use both goreleaser and go-release-action together in separate jobs/stages?

@kranurag7
Copy link

Yes, goreleaser do support binaries including debs and rpms.

Regarding using together, I think it'll be good if only one of the job having contents: write permissions writes to the releases page. But theoretically, yes, it seems doable where we will have one job using go-release-action and another job running goreleaser.

@kehoecj
Copy link
Contributor Author

kehoecj commented Oct 10, 2023

Okay great - sounds like we can just go with goreleaser then. If you can modify what you have on your fork to include the output of the current release job then I think that will be ready for submission

@kehoecj kehoecj removed hacktoberfest Hacktoberfest 2023 question Further information is requested labels Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distribution A new or improved way to distrubute the CFV
Projects
None yet
Development

No branches or pull requests

2 participants