forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): remove firestore project and its reference (GoogleCloudPla…
- Loading branch information
Showing
11 changed files
with
33 additions
and
84 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,22 +131,21 @@ func (td *TemplateData) GenerateTestFile(filePath string, resource api.Resource) | |
templatePath, | ||
} | ||
tmplInput := TestInput{ | ||
Res: resource, | ||
ImportPath: td.ImportPath(), | ||
PROJECT_NAME: "my-project-name", | ||
FIRESTORE_PROJECT_NAME: "my-project-name", | ||
CREDENTIALS: "my/credentials/filename.json", | ||
REGION: "us-west1", | ||
ORG_ID: "123456789", | ||
ORG_DOMAIN: "example.com", | ||
ORG_TARGET: "123456789", | ||
PROJECT_NUMBER: "1111111111111", | ||
BILLING_ACCT: "000000-0000000-0000000-000000", | ||
MASTER_BILLING_ACCT: "000000-0000000-0000000-000000", | ||
SERVICE_ACCT: "[email protected]", | ||
CUST_ID: "A01b123xz", | ||
IDENTITY_USER: "cloud_identity_user", | ||
PAP_DESCRIPTION: "description", | ||
Res: resource, | ||
ImportPath: td.ImportPath(), | ||
PROJECT_NAME: "my-project-name", | ||
CREDENTIALS: "my/credentials/filename.json", | ||
REGION: "us-west1", | ||
ORG_ID: "123456789", | ||
ORG_DOMAIN: "example.com", | ||
ORG_TARGET: "123456789", | ||
PROJECT_NUMBER: "1111111111111", | ||
BILLING_ACCT: "000000-0000000-0000000-000000", | ||
MASTER_BILLING_ACCT: "000000-0000000-0000000-000000", | ||
SERVICE_ACCT: "[email protected]", | ||
CUST_ID: "A01b123xz", | ||
IDENTITY_USER: "cloud_identity_user", | ||
PAP_DESCRIPTION: "description", | ||
} | ||
|
||
td.GenerateFile(filePath, templatePath, tmplInput, true, templates...) | ||
|
@@ -283,20 +282,19 @@ func (td *TemplateData) ImportPath() string { | |
} | ||
|
||
type TestInput struct { | ||
Res api.Resource | ||
ImportPath string | ||
PROJECT_NAME string | ||
FIRESTORE_PROJECT_NAME string | ||
CREDENTIALS string | ||
REGION string | ||
ORG_ID string | ||
ORG_DOMAIN string | ||
ORG_TARGET string | ||
PROJECT_NUMBER string | ||
BILLING_ACCT string | ||
MASTER_BILLING_ACCT string | ||
SERVICE_ACCT string | ||
CUST_ID string | ||
IDENTITY_USER string | ||
PAP_DESCRIPTION string | ||
Res api.Resource | ||
ImportPath string | ||
PROJECT_NAME string | ||
CREDENTIALS string | ||
REGION string | ||
ORG_ID string | ||
ORG_DOMAIN string | ||
ORG_TARGET string | ||
PROJECT_NUMBER string | ||
BILLING_ACCT string | ||
MASTER_BILLING_ACCT string | ||
SERVICE_ACCT string | ||
CUST_ID string | ||
IDENTITY_USER string | ||
PAP_DESCRIPTION string | ||
} |
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
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
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
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
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
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
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
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
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