Skip to content

Use Terraform to manage cloud-build triggers#1472

Draft
linsword13 wants to merge 10 commits intoGoogleCloudPlatform:developfrom
linsword13:cloud-build-triggers
Draft

Use Terraform to manage cloud-build triggers#1472
linsword13 wants to merge 10 commits intoGoogleCloudPlatform:developfrom
linsword13:cloud-build-triggers

Conversation

@linsword13
Copy link
Copy Markdown
Member

@linsword13 linsword13 commented Mar 27, 2026

Use terraform to describe the triggers. This makes it easy to update/add these triggers.

Besides porting the existing active triggers into Terraform configuration, also add in triggers for building new images upon code merging into develop.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@linsword13 linsword13 force-pushed the cloud-build-triggers branch from a5b0c72 to 990b2ce Compare March 27, 2026 17:58
@linsword13 linsword13 changed the title Create ci image-build triggers for code merge Use terraform to manage cloud-build triggers Mar 27, 2026
@linsword13 linsword13 changed the title Use terraform to manage cloud-build triggers Use Terraform to manage cloud-build triggers Mar 27, 2026
@linsword13
Copy link
Copy Markdown
Member Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces Terraform configurations to manage Google Cloud Build triggers for the Ramble repository, covering image builds, unit tests, performance tests, and style checks. The review feedback highlights several maintainability and security improvements: transitioning from end-of-life Python versions (3.7 and 3.8) to supported ones, replacing hardcoded version strings in trigger names and substitutions with dynamic references to the local image matrix, and removing the --auto-approve flag from the deployment documentation to encourage safer manual reviews.

@linsword13 linsword13 force-pushed the cloud-build-triggers branch from be73c52 to f1ce6ce Compare March 28, 2026 04:00
But don't set it for push-based triggers.
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.

1 participant