Skip to content

Commit 3048ad9

Browse files
committed
chore: update integration and samples credentials
1 parent 1e01e65 commit 3048ad9

File tree

5 files changed

+25
-31
lines changed

5 files changed

+25
-31
lines changed

.kokoro/nightly/integration.cfg

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,25 @@ env_vars: {
1313
# TODO: remove this after we've migrated all tests and scripts
1414
env_vars: {
1515
key: "GCLOUD_PROJECT"
16-
value: "gcloud-devel"
16+
value: "java-review"
1717
}
1818

1919
env_vars: {
2020
key: "GOOGLE_CLOUD_PROJECT"
21-
value: "gcloud-devel"
21+
value: "java-review"
2222
}
2323

2424
env_vars: {
25-
key: "ENABLE_BUILD_COP"
26-
value: "true"
25+
key: "GOOGLE_APPLICATION_CREDENTIALS"
26+
value: "secret_manager/java-review_firestore-java-it"
2727
}
2828

2929
env_vars: {
30-
key: "GOOGLE_APPLICATION_CREDENTIALS"
31-
value: "keystore/73713_java_it_service_account"
30+
key: "SECRET_MANAGER_KEYS"
31+
value: "java-review_firestore-java-it"
3232
}
3333

34-
before_action {
35-
fetch_keystore {
36-
keystore_resource {
37-
keystore_config_id: 73713
38-
keyname: "java_firestore_it_service_account"
39-
}
40-
}
34+
env_vars: {
35+
key: "ENABLE_BUILD_COP"
36+
value: "true"
4137
}

.kokoro/nightly/samples.cfg

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ env_vars: {
1414
# TODO: remove this after we've migrated all tests and scripts
1515
env_vars: {
1616
key: "GCLOUD_PROJECT"
17-
value: "java-docs-samples-testing"
17+
value: "java-review"
1818
}
1919

2020
env_vars: {
2121
key: "GOOGLE_CLOUD_PROJECT"
22-
value: "java-docs-samples-testing"
22+
value: "java-review"
2323
}
2424

2525
env_vars: {
2626
key: "GOOGLE_APPLICATION_CREDENTIALS"
27-
value: "secret_manager/java-docs-samples-service-account"
27+
value: "secret_manager/java-firestore-samples-secrets"
2828
}
2929

3030
env_vars: {
3131
key: "SECRET_MANAGER_KEYS"
32-
value: "java-docs-samples-service-account"
32+
value: "java-firestore-samples-secrets"
3333
}
3434

3535
env_vars: {

.kokoro/presubmit/integration.cfg

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ env_vars: {
1818

1919
env_vars: {
2020
key: "GOOGLE_APPLICATION_CREDENTIALS"
21-
value: "keystore/73713_java_firestore_it_service_account"
21+
value: "secret_manager/java-review_firestore-java-it"
2222
}
2323

24-
before_action {
25-
fetch_keystore {
26-
keystore_resource {
27-
keystore_config_id: 73713
28-
keyname: "java_firestore_it_service_account"
29-
}
30-
}
24+
env_vars: {
25+
key: "SECRET_MANAGER_KEYS"
26+
value: "java-review_firestore-java-it"
3127
}

.kokoro/presubmit/samples.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ env_vars: {
1414
# TODO: remove this after we've migrated all tests and scripts
1515
env_vars: {
1616
key: "GCLOUD_PROJECT"
17-
value: "java-docs-samples-testing"
17+
value: "java-docs-samples-firestore"
1818
}
1919

2020
env_vars: {
2121
key: "GOOGLE_CLOUD_PROJECT"
22-
value: "java-docs-samples-testing"
22+
value: "java-docs-samples-firestore"
2323
}
2424

2525
env_vars: {
2626
key: "GOOGLE_APPLICATION_CREDENTIALS"
27-
value: "secret_manager/java-docs-samples-service-account"
27+
value: "secret_manager/java-firestore-samples-secrets"
2828
}
2929

3030
env_vars: {
3131
key: "SECRET_MANAGER_KEYS"
32-
value: "java-docs-samples-service-account"
33-
}
32+
value: "java-firestore-samples-secrets"
33+
}

synth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ def generate_client(service, version, proto_path=None, bazel_target=None, packag
126126
# firestore uses a different project for its integration tests
127127
# due to the default project running datastore
128128
'.kokoro/presubmit/integration.cfg',
129-
'.kokoro/nightly/integration.cfg'
129+
'.kokoro/presubmit/samples.cfg',
130+
'.kokoro/nightly/integration.cfg',
131+
'.kokoro/nightly/samples.cfg'
130132
])
131133

132134
# Mark v1beta1 as deprecated

0 commit comments

Comments
 (0)