-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: track customization in templates (#1876)
- Loading branch information
1 parent
e19b0b1
commit a792419
Showing
16 changed files
with
363 additions
and
16 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
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
18 changes: 18 additions & 0 deletions
18
tests/fixtures/java_templates/defaults_test/.repo-metadata.json
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"api_shortname": "cloudasset", | ||
"name_pretty": "Cloud Asset Inventory", | ||
"product_documentation": "https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview", | ||
"api_reference": "https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview", | ||
"api_description": "provides inventory services based on a time series database. This database keeps a five week history of Google Cloud asset metadata. The Cloud Asset Inventory export service allows you to export all asset metadata at a certain timestamp or export event change history during a timeframe.", | ||
"client_documentation": "https://googleapis.dev/java/google-cloud-asset/latest/index.html", | ||
"issue_tracker": "https://issuetracker.google.com/issues/new?component=187210&template=0", | ||
"release_level": "stable", | ||
"transport": "grpc", | ||
"requires_billing": true, | ||
"language": "java", | ||
"repo": "googleapis/java-asset", | ||
"repo_short": "java-asset", | ||
"distribution_name": "com.google.cloud:google-cloud-asset", | ||
"library_type": "GAPIC_AUTO", | ||
"api_id": "cloudasset.googleapis.com" | ||
} |
38 changes: 38 additions & 0 deletions
38
tests/fixtures/java_templates/defaults_test/java11-integration-golden.cfg
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-public-resources/java11014" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "integration" | ||
} | ||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} | ||
|
||
env_vars: { | ||
key: "ENABLE_FLAKYBOT" | ||
value: "false" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/java-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "java-it-service-account" | ||
} | ||
|
38 changes: 38 additions & 0 deletions
38
tests/fixtures/java_templates/defaults_test/nightly-integration-golden.cfg
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-kokoro-resources/java8" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "integration" | ||
} | ||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "java-docs-samples-testing" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "java-docs-samples-testing" | ||
} | ||
|
||
env_vars: { | ||
key: "ENABLE_FLAKYBOT" | ||
value: "false" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/java-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "java-it-service-account" | ||
} | ||
|
34 changes: 34 additions & 0 deletions
34
tests/fixtures/java_templates/defaults_test/presubmit-integration-golden.cfg
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-kokoro-resources/java8" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "integration" | ||
} | ||
|
||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/java-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "java-it-service-account" | ||
} | ||
|
10 changes: 10 additions & 0 deletions
10
tests/fixtures/java_templates/partials_test/.integration-partials.yaml
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
integration_append: | | ||
env_vars: { | ||
key: "INTEGRATION_TEST_ARGS" | ||
value: "-P bigtable-emulator-it" | ||
} | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} |
18 changes: 18 additions & 0 deletions
18
tests/fixtures/java_templates/partials_test/.repo-metadata.json
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"api_shortname": "cloudasset", | ||
"name_pretty": "Cloud Asset Inventory", | ||
"product_documentation": "https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview", | ||
"api_reference": "https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/overview", | ||
"api_description": "provides inventory services based on a time series database. This database keeps a five week history of Google Cloud asset metadata. The Cloud Asset Inventory export service allows you to export all asset metadata at a certain timestamp or export event change history during a timeframe.", | ||
"client_documentation": "https://googleapis.dev/java/google-cloud-asset/latest/index.html", | ||
"issue_tracker": "https://issuetracker.google.com/issues/new?component=187210&template=0", | ||
"release_level": "stable", | ||
"transport": "grpc", | ||
"requires_billing": true, | ||
"language": "java", | ||
"repo": "googleapis/java-asset", | ||
"repo_short": "java-asset", | ||
"distribution_name": "com.google.cloud:google-cloud-asset", | ||
"library_type": "GAPIC_AUTO", | ||
"api_id": "cloudasset.googleapis.com" | ||
} |
47 changes: 47 additions & 0 deletions
47
tests/fixtures/java_templates/partials_test/java11-integration-golden.cfg
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-public-resources/java11014" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "integration" | ||
} | ||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} | ||
|
||
env_vars: { | ||
key: "ENABLE_FLAKYBOT" | ||
value: "false" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/java-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "java-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "INTEGRATION_TEST_ARGS" | ||
value: "-P bigtable-emulator-it" | ||
} | ||
|
||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} |
47 changes: 47 additions & 0 deletions
47
tests/fixtures/java_templates/partials_test/nightly-integration-golden.cfg
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-kokoro-resources/java8" | ||
} | ||
|
||
env_vars: { | ||
key: "JOB_TYPE" | ||
value: "integration" | ||
} | ||
# TODO: remove this after we've migrated all tests and scripts | ||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "java-docs-samples-testing" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_CLOUD_PROJECT" | ||
value: "java-docs-samples-testing" | ||
} | ||
|
||
env_vars: { | ||
key: "ENABLE_FLAKYBOT" | ||
value: "false" | ||
} | ||
|
||
env_vars: { | ||
key: "GOOGLE_APPLICATION_CREDENTIALS" | ||
value: "secret_manager/java-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "SECRET_MANAGER_KEYS" | ||
value: "java-it-service-account" | ||
} | ||
|
||
env_vars: { | ||
key: "INTEGRATION_TEST_ARGS" | ||
value: "-P bigtable-emulator-it" | ||
} | ||
|
||
env_vars: { | ||
key: "GCLOUD_PROJECT" | ||
value: "gcloud-devel" | ||
} |
Oops, something went wrong.