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

Module attribution and version updater tool, plus release automation #672

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

rosmo
Copy link
Collaborator

@rosmo rosmo commented Jun 9, 2022

Added a Golang tool to update versions.tf with provider_meta blocks, terraform_version and provider versions automatically. It either adds or updates the blocks as necessary for google and google-beta provider.

Example usage:

tfeditor -path ./ -pattern versions.tf \
  -module-name "google-pso-tool/cloud-foundation-fabric/16.0.0 google-pso-tool/cloud-foundation-fabric/{{ .Module }}/16.0.0" \
  -terraform-version ">= 1.0.0" \
  -provider-versions "hashicorp/google>= 1.0.0,hashicorp/google-beta<= 1.0.0"

Also includes a workflow for release automation.

@rosmo rosmo force-pushed the module-attribution branch 2 times, most recently from 5d7807a to 93f6618 Compare June 9, 2022 09:28
@rosmo rosmo changed the title Module attribution tool Module attribution and version updater tool Jun 9, 2022
@rosmo rosmo force-pushed the module-attribution branch 4 times, most recently from f5ed979 to 2432284 Compare June 9, 2022 10:17
@rosmo rosmo force-pushed the module-attribution branch 2 times, most recently from c46e137 to 04eede7 Compare June 9, 2022 10:36
…nd provider versions on batch basis.

Also includes a pipeline to manually release new versions and update all module names.
@rosmo rosmo force-pushed the module-attribution branch from 04eede7 to b28b379 Compare June 9, 2022 10:41
@rosmo rosmo changed the title Module attribution and version updater tool Module attribution and version updater tool, plus release automation Jun 9, 2022
@rosmo rosmo merged commit 82822a6 into GoogleCloudPlatform:master Jun 9, 2022
@ludoo ludoo added the on:tools New or changed tool label Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on:tools New or changed tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants