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

initial draft of helmfile-linter #93

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

initial draft of helmfile-linter #93

wants to merge 21 commits into from

Conversation

dylanbannon
Copy link
Contributor

@dylanbannon dylanbannon commented Jan 19, 2021

Adds helmfile-linter action, which will print output from helmfile lint in the github actions console for every helmfile identified in a repo.

Tested using the cloudposse/helmfile-linter-test repo. Example of successful test and expected outputs: https://github.com/cloudposse/helmfile-linter-test/runs/1730194441?check_suite_focus=true.

NB: The cloudposse/helmfile-linter-test repo should be deleted once this PR is merged.

Design decisions:

  • Helmfiles are identified in the repo according to this error message output by helmfile lint: It must be named helmfile.d/*.{yaml,yml}, helmfile.yaml, or charts.yaml, or otherwise specified with the --file flag, except that no effort is made to identify helmfiles with custom names (the ones that would need to be specified with the --file flag).
  • Since the .github directory can contain a large number of yaml files, some of which could conceivably be named helmfile.yaml or charts.yaml, none of which are likely to be functional hemlfiles, helmfile-linter ignores any files in that directory.

@dylanbannon dylanbannon added the enhancement New feature or request label Jan 19, 2021
@dylanbannon dylanbannon self-assigned this Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant