Skip to content

Commit 56aa79d

Browse files
authored
chore: add continuous tests against cloud-devel (#1094)
* chore: add continuous tests against cloud-devel
1 parent 6388da2 commit 56aa79d

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

.kokoro/build.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@ integration)
6969
verify
7070
RETURN_CODE=$?
7171
;;
72+
integration-cloud-devel)
73+
mvn -B ${INTEGRATION_TEST_ARGS} \
74+
-ntp \
75+
-Penable-integration-tests \
76+
-DtrimStackTrace=false \
77+
-Dclirr.skip=true \
78+
-Denforcer.skip=true \
79+
-Dspanner.gce.config.server_url=https://staging-wrenchworks.sandbox.googleapis.com \
80+
-Dspanner.testenv.instance=projects/span-cloud-testing/instances/spanner-testing-east1 \
81+
-Dspanner.gce.config.project_id=span-cloud-testing \
82+
-fae \
83+
verify
84+
RETURN_CODE=$?
85+
;;
7286
graalvm)
7387
# Run Unit and Integration Tests with Native Image.
7488
mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test "-Dtest=com.google.cloud.spanner.jdbc.it.**"
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
regex: "**/*sponge_log.txt"
8+
}
9+
}
10+
11+
# Download trampoline resources.
12+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
13+
14+
# Use the trampoline script to run in docker.
15+
build_file: "java-spanner-jdbc/.kokoro/trampoline.sh"
16+
17+
env_vars: {
18+
key: "TRAMPOLINE_BUILD_FILE"
19+
value: "github/java-spanner-jdbc/.kokoro/build.sh"
20+
}
21+
22+
env_vars: {
23+
key: "JOB_TYPE"
24+
value: "integration-cloud-devel"
25+
}
26+
27+
env_vars: {
28+
key: "GOOGLE_APPLICATION_CREDENTIALS"
29+
value: "secret_manager/java-client-testing"
30+
}
31+
32+
env_vars: {
33+
key: "SECRET_MANAGER_KEYS"
34+
value: "java-client-testing"
35+
}

0 commit comments

Comments
 (0)