feat(lint): add yamale and yamllint extra-args flags
What this PR does / why we need it:
This adds --yamllint-extra-args and --yamale-extra-args flags to ct lint. Yamllint in particular has options
Which issue this PR fixes:
This allows users of ct to fix or workaround https://github.com/helm/chart-testing-action/issues/70 by passing --yamllint-extra-args -f,standard.
Special notes for your reviewer:
The issue with the default github formatting with yamllint is github seems to swallow the important information that is output when yamllint detects it is running under a github action, as can be seen in https://github.com/helm/chart-testing-action/issues/70.
If it would be preferable to just hardcode -f standard into ct, I can issue a PR to do that, too, but being able to fully customize how yamale and yamllint are run might be useful for other situations, too.
@acobaugh thanks for the PR, can you please rebase this with the latest code in main?
@cpanato Done!
hey, just realize that you need to generate the docs
go build -o ct-bin ./ct/main.go
$ ./ct-bin doc-gen
Generating docs...
Done.
@cpanato done!
there are some failures, can you take a look when you have a chance? thanks!
Alright, tests passed locally for me this time. Let's give this another go.
there are some conflicts are you able to rebase? thanks
@cpanato done!
i will run that locally
@acobaugh there are some tests failures can you check that when you have some time?
need some rebase
rebased.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR was closed because it has been stalled for 10 days with no activity.