-
Notifications
You must be signed in to change notification settings - Fork 910
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
Turn on ci, add linting and boilerplate steps #6
Conversation
Linting step uses the Docker tflint image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no reason why this repository should use different linters than the standard flow? https://github.com/terraform-google-modules/terraform-google-module-template/blob/master/terraform-google-%7B%7Bcookiecutter.module_name%7D%7D/build/lint.cloudbuild.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is on fabric, I'm fine with divergence.
That being said, I think it'd be cool to upstream the tflint rules into the standard linter as well.
Yes, let's experiment with it here for a while, taking it upstream if it's solid will be very easy. Thanks for chiming in so quickly! |
Added a simple step to check boilerplate (and spotted 3 files missing it). The script is simple, but it reflects what our presubmit checks usually do, so it should be good enough (and less prone to breakage). |
Preliminary linting step.