-
Notifications
You must be signed in to change notification settings - Fork 147
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
feat: migrate to GAR for runner images #94
Conversation
Thanks for the PR! 🚀 |
@@ -277,9 +282,6 @@ resource "google_organization_iam_member" "cloudbuild_serviceusage_consumer" { | |||
org_id = var.org_id | |||
role = "roles/serviceusage.serviceUsageConsumer" | |||
member = "serviceAccount:${module.cloudbuild_project.project_number}@cloudbuild.gserviceaccount.com" | |||
depends_on = [ | |||
google_project_service.cloudbuild_apis, |
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.
is it safe to remove these? Previously there was race conditions with APIs being enabled & the SA existing in time for permissions to be applied.
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.
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.
new PF release will have that output
terraform-google-modules/terraform-google-project-factory#549
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.
LGTM - A couple of small things but not blockers.
Should we mark this as a breaking change @bharathkkb or I suppose the older image in GCR will remain regardless since it is built with gcloud? Can you also rebase from master :) |
@rjerrems this should not be a breaking change as the older image will continue to live in GCR. Rerun would just create a new image in GAR and users can switch to GAR image if desired. |
fixes #91