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

fix: Fix Blueprint integration test #88

Merged
merged 12 commits into from
Mar 27, 2024
Merged

fix: Fix Blueprint integration test #88

merged 12 commits into from
Mar 27, 2024

Conversation

NimJay
Copy link
Contributor

@NimJay NimJay commented Mar 26, 2024

  • I've created this in response to the following failure:
Error: Request `Enable Project Service "cloudresourcemanager.googleapis.com" for project "ci-genai-knowledge-base-fe1a"` returned error: failed to enable services: failed on request preconditions: googleapi: Error 403: Permission denied to enable service [cloudresourcemanager.googleapis.com]

@NimJay NimJay requested review from telpirion and a team as code owners March 26, 2024 19:41
@github-actions github-actions bot added fix and removed fix labels Mar 26, 2024
@NimJay NimJay requested a review from davidcavazos as a code owner March 26, 2024 20:08
@@ -21,6 +21,7 @@ locals {
"roles/documentai.editor",
"roles/firebase.admin",
"roles/iam.serviceAccountUser",
"roles/serviceusage.serviceUsageAdmin",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This addresses an error seen in integration tests:

Error 403: Permission denied to enable service [config.googleapis.com]

@@ -20,7 +20,9 @@ locals {
"roles/artifactregistry.admin",
"roles/documentai.editor",
"roles/firebase.admin",
"roles/iam.serviceAccountAdmin",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This address an error seen in integration tests:

Step #2 - "apply": Error: Error creating service account: googleapi: Error 403: Permission 'iam.serviceAccounts.create' denied on resource (or it may not exist).
Step #2 - "apply": Details:
Step #2 - "apply": [
Step #2 - "apply":   {
Step #2 - "apply":     "@type": "type.googleapis.com/google.rpc.ErrorInfo",
Step #2 - "apply":     "domain": "iam.googleapis.com",
Step #2 - "apply":     "metadata": {
Step #2 - "apply":       "permission": "iam.serviceAccounts.create"
Step #2 - "apply":     },
Step #2 - "apply":     "reason": "IAM_PERMISSION_DENIED"
Step #2 - "apply":   }

@NimJay NimJay changed the title fix: Enable cloudresourcemanager in tests fix: FIx integration tests Mar 26, 2024
@NimJay NimJay changed the title fix: FIx integration tests fix: Fix Blueprint integration test Mar 26, 2024
@github-actions github-actions bot added fix and removed fix labels Mar 26, 2024
NimJay and others added 5 commits March 26, 2024 19:23
This addresses the following error seen in the simple_example test:
Error: open /workspace/examples/simple_example/initial-index.json: no such file or directory
type = string
default = "initial-index.json"
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This addresses the following error seen in the simple_example test:

Error: open /workspace/examples/simple_example/initial-index.json: no such file or directory

@davidcavazos davidcavazos merged commit 0457df4 into main Mar 27, 2024
6 checks passed
@davidcavazos davidcavazos deleted the patch-1 branch March 27, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants