-
Notifications
You must be signed in to change notification settings - Fork 3
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
LS-58504-cleanup-generaterootmod and CI checks #103
Conversation
1. Update the README 2. update generaterootmod so it programmatically gets the required provider version 3. remove the broken pre-commit-config in favor of `make ready` 4. fix the broken make ready command
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.
looks great!
@@ -1,4 +1,4 @@ | |||
variable "lightstep_project" { | |||
description = "Name of Cloud Observability project" | |||
type = string | |||
} | |||
} |
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.
may have lost a newline here
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.
This file was inconsistent with the newline at the end so I just added them across the board.
Description
What does this PR do?
This PR addresses some housekeeping for this repo.
updates
generaterootmod
so it programmatically gets the required provider version from a module. This should be safe since dependabot will keep all the modules in sync with the latest provider versionFixes the broken pre-commit by adding a
go.mod
at the root of the repo and cleaning up the arguments for tflint so it can recursively check subdirectoriesFixes the broken
make ready
command by cleaning up the arguments for tflint so it can recursively check subdirectories with the config defined at the root of the repo.Please confirm the following items:
The checklist below doesn't apply. Instead, you can test this locally by cloning down this branch and running:
make ready
pre-commit run --all-files
or make some changes and try to commit themPR checklist