Add linter for charts#357
Conversation
|
|
Some of these check failures don't look right. It is also checking READMEs. |
|
| uses: karancode/yamllint-github-action@master | ||
| with: | ||
| yamllint_file_or_dir: 'charts/whatsapp-proxy-chart/*/*' | ||
| yamllint_file_or_dir: 'charts/whatsapp-proxy-chart/*/*.yml' |
There was a problem hiding this comment.
Yeah we need to add *.yaml here as well because almost all of our files are .yamls.
There was a problem hiding this comment.
Thinking about it more, I'm pretty sure helm charts actually fail yamllint, since the interpolation isn't yaml standard. I don't think we can use this, we'll need to do a helm lint instead per sbaudoin/yamllint#16 (comment)
There was a problem hiding this comment.
We should use https://github.com/helm/chart-testing-action instead. Although neither of these would catch the procotcl misspelling error, as there's no defined spec for it. It'd catch invalid formatting, but not invalid keys.
|
Hi @peixian! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
No description provided.