Skip to content

Commit 9489fa0

Browse files
authored
build: use span-cloud-testing for integration tests (#1994)
1 parent 97d4840 commit 9489fa0

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.kokoro/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ integration)
7676
-DtrimStackTrace=false \
7777
-Dclirr.skip=true \
7878
-Denforcer.skip=true \
79+
-Dspanner.testenv.instance=projects/span-cloud-testing/instances/java-client-integration-test \
80+
-Dspanner.gce.config.project_id=span-cloud-testing \
7981
-fae \
8082
verify
8183
RETURN_CODE=$?

.kokoro/presubmit/integration.cfg

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,13 @@ env_vars: {
1111
value: "integration"
1212
}
1313

14-
# TODO: remove this after we've migrated all tests and scripts
15-
env_vars: {
16-
key: "GCLOUD_PROJECT"
17-
value: "gcloud-devel"
18-
}
19-
20-
env_vars: {
21-
key: "GOOGLE_CLOUD_PROJECT"
22-
value: "gcloud-devel"
23-
}
24-
2514
env_vars: {
2615
key: "GOOGLE_APPLICATION_CREDENTIALS"
27-
value: "secret_manager/java-it-service-account"
16+
value: "secret_manager/java-client-testing"
2817
}
2918

3019
env_vars: {
3120
key: "SECRET_MANAGER_KEYS"
32-
value: "java-it-service-account"
21+
value: "java-client-testing"
3322
}
3423

0 commit comments

Comments
 (0)