This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
fix: resolves api_unit_test token creation + datastore permissions issues #665
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
component: delivery
Related to automation, testing, deployment of the application.
and removed
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Sep 21, 2022
hold please, will resolve the terraform fmt issue |
rogerthatdev
suggested changes
Sep 21, 2022
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.
quick tf review
github-actions
bot
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
and removed
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Sep 22, 2022
github-actions
bot
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
and removed
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Sep 22, 2022
github-actions
bot
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
and removed
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Sep 23, 2022
Ready for 👀 again! |
rogerthatdev
suggested changes
Sep 23, 2022
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.
just one nit!
terraform/modules/ops/services.tf
Outdated
@@ -11,6 +11,12 @@ locals { | |||
beta_services = var.enable_apis ? [ | |||
"artifactregistry.googleapis.com" | |||
] : [] | |||
# Cloud build service account roles |
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.
This works, but to keep this file just for services, add a local block with this value at the top of main.tf
instead.
github-actions
bot
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
and removed
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Sep 23, 2022
rogerthatdev
approved these changes
Sep 23, 2022
github-actions
bot
added
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
and removed
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
labels
Sep 23, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
component: delivery
Related to automation, testing, deployment of the application.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue:
Resolves token retrieval error in
unit-tests.cloudbuild.yaml
. The curl fetch for new generated id token was throwingpermissions error due to the
cloudbuild
service account not given the correct roles.To recreate bug:
api-unit-tests
.Fixes:
roles/datastore.user
(firestore),roles/iam.serviceAccountTokenCreator
roles to cloudbuild service account