Skip to content

Commit

Permalink
chore: add a partial template
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Sep 22, 2023
1 parent 710169f commit 8a79def
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .kokoro/nightly/integration.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,23 @@ env_vars: {
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "INTEGRATION_TEST_ARGS"
value: "-P bigtable-emulator-it,bigtable-prod-it,bigtable-prod-batch-it -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable -Dbigtable.table=integration-tests -Dbigtable.kms_key_name=projects/gcloud-devel/locations/us-east1/keyRings/cmek-test-key-ring/cryptoKeys/cmek-test-key -Dbigtable.wait-for-cmek-key-status=true"
}

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"
value: "java-docs-samples-testing"
}

env_vars: {
key: "GOOGLE_CLOUD_PROJECT"
value: "gcloud-devel"
value: "java-docs-samples-testing"
}

env_vars: {
key: "ENABLE_BUILD_COP"
key: "ENABLE_FLAKYBOT"
value: "true"
}

Expand Down
5 changes: 5 additions & 0 deletions .kokoro/nightly/integration.cfg.partials.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
env_vars:
- key: INTEGRATION_TEST_ARGS
value: "-P bigtable-emulator-it,bigtable-prod-it,bigtable-prod-batch-it -Dbigtable.project=gcloud-devel -Dbigtable.instance=google-cloud-bigtable -Dbigtable.table=integration-tests -Dbigtable.kms_key_name=projects/gcloud-devel/locations/us-east1/keyRings/cmek-test-key-ring/cryptoKeys/cmek-test-key -Dbigtable.wait-for-cmek-key-status=true"
- key: DATASTORE_PROJECT_ID
value: java-docs-samples-testing
4 changes: 3 additions & 1 deletion owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def make_internal_only(sources):
'.kokoro/presubmit/integration.cfg',
'.kokoro/presubmit/graalvm-native.cfg',
'.kokoro/presubmit/graalvm-native-17.cfg',
'.kokoro/nightly/integration.cfg',
# '.kokoro/nightly/integration.cfg',
'.kokoro/presubmit/samples.cfg',
'.kokoro/nightly/samples.cfg',
# todo remove once template is updated
Expand All @@ -111,3 +111,5 @@ def make_internal_only(sources):
'.github/release-please.yml',
'renovate.json',
])

java.load_partials(['.kokoro/nightly/integration.cfg.partials.yaml'])

0 comments on commit 8a79def

Please sign in to comment.