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

LS-58504-cleanup-generaterootmod and CI checks #103

Merged
merged 9 commits into from
Jan 29, 2024

Conversation

adil-sultan
Copy link
Collaborator

@adil-sultan adil-sultan commented Jan 26, 2024

Description

What does this PR do?

This PR addresses some housekeeping for this repo.

  1. 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 version

  2. Fixes 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 subdirectories

  3. Fixes 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:

  1. from terminal run make ready
  2. brew install pre-commit
  3. pre-commit install
  4. then you can either runpre-commit run --all-files or make some changes and try to commit them

PR checklist

  • At least one screenshot of the proposed dashboard is included in this PR. If you're proposing substantive changes to queries or new queries then please ensure your screenshot shows relevant data.
  • All chart names are in Title case.
  • All query names are lower case letters, beginning the first query of each chart as "a" and proceeding alphabetically ... "b", "c", etcetera.

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
@adil-sultan adil-sultan added the WIP Work In Progress label Jan 26, 2024
@adil-sultan adil-sultan changed the title Some repo management fixes LS-58504-cleanup-generaterootmod and CI checks Jan 26, 2024
@adil-sultan adil-sultan requested review from nslaughter and a team January 29, 2024 17:20
@adil-sultan adil-sultan marked this pull request as ready for review January 29, 2024 17:20
@adil-sultan adil-sultan removed the WIP Work In Progress label Jan 29, 2024
Copy link

@gdfast gdfast left a 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
}
}
Copy link

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

Copy link
Collaborator Author

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.

@adil-sultan adil-sultan merged commit 171b67d into main Jan 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants