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

lint: Add check that configs are referenced in Makefile #97

Merged
merged 3 commits into from
Nov 9, 2022

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Nov 8, 2022

This adds a CI check that the $name,$version-r$epoch value for each *.yaml file in the repo have a corresponding line in the Makefile.

Unlike #73 this doesn't depend on yq to parse the files, it just extracts the name:, version: and epoch: lines using grep.

This change also formats some YAML files so they're more consistent, and so name etc are easier to extract.

@imjasonh imjasonh requested a review from kaniini November 8, 2022 20:58
luhring
luhring previously approved these changes Nov 8, 2022
@imjasonh imjasonh merged commit 6370c07 into wolfi-dev:main Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants