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

CI: Cloud Build to validate and test Terraform scripts #5

Open
3 tasks
markmandel opened this issue Jan 18, 2023 · 1 comment
Open
3 tasks

CI: Cloud Build to validate and test Terraform scripts #5

markmandel opened this issue Jan 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@markmandel
Copy link
Contributor

We'll need a Google Cloud Project to host this on, so that when PR's come into the project, we have at least some kind of CI testing for the GitHub repository.

I would do this in a few steps:

  • Create a blank cloudbuild.yaml in the root of the project (and get this PR merged)
  • Create a Google Cloud project and connect to it with the GitHub App
  • Expand the CI to include the basic terraform tests, like init, validate, fmt, etc with a secondary PR.

Possibly relevent: https://www.hashicorp.com/blog/testing-hashicorp-terraform for future efforts, but don't have to be included in this ticket.

@markmandel markmandel added the enhancement New feature or request label Jan 18, 2023
@markmandel
Copy link
Contributor Author

Discussion point: if we don't want to go full Google Cloud project and the responsibilities therein - we could also use GitHub actions to do the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant