File tree Expand file tree Collapse file tree 5 files changed +38
-10
lines changed Expand file tree Collapse file tree 5 files changed +38
-10
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ branchProtectionRules:
3636 - " units (11)"
3737 - " Kokoro - Test: Integration"
3838 - " cla/google"
39- - ' Kokoro - Test: Java GraalVM Native Image'
40- - ' Kokoro - Test: Java 17 GraalVM Native Image'
41- - javadoc
39+ - ' Kokoro - Test: Java GraalVM Native Image A '
40+ - ' Kokoro - Test: Java GraalVM Native Image B '
41+ - ' Kokoro - Test: Java GraalVM Native Image C '
4242 - unmanaged_dependency_check
4343# Identifies the protection rule pattern. Name of the branch to be protected.
4444# Defaults to `main`
Original file line number Diff line number Diff line change 4545# Start the Spanner emulator if the environment variable for it has been set.
4646# TODO: Change if statement once the env var can be set in the config.
4747# if [[ ! -z "${SPANNER_EMULATOR_HOST}" ]]; then
48- if [[ " $JOB_TYPE " == " graalvm" ]] || [[ " $JOB_TYPE " == " graalvm17 " ]] ; then
48+ if [[ " $JOB_TYPE " == " graalvm" ]]; then
4949 echo " Starting emulator"
5050 export SPANNER_EMULATOR_HOST=localhost:9010
5151 docker pull gcr.io/cloud-spanner-emulator/emulator
@@ -113,11 +113,6 @@ graalvm)
113113 mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test " -Dtest=com.google.cloud.spanner.jdbc.it.**"
114114 RETURN_CODE=$?
115115 ;;
116- graalvm17)
117- # Run Unit and Integration Tests with Native Image.
118- mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test " -Dtest=com.google.cloud.spanner.jdbc.it.**"
119- RETURN_CODE=$?
120- ;;
121116samples)
122117 SAMPLES_DIR=samples
123118 # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ env_vars: {
88
99env_vars: {
1010 key: " JOB_TYPE"
11- value: " graalvm17 "
11+ value: " graalvm "
1212}
1313
1414# TODO: remove this after we've migrated all tests and scripts
Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ # Configure the docker image for kokoro-trampoline.
4+ env_vars: {
5+ key: " TRAMPOLINE_IMAGE"
6+ value: " gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.45.1"
7+ }
8+
9+ env_vars: {
10+ key: " JOB_TYPE"
11+ value: " graalvm"
12+ }
13+
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+
25+ env_vars: {
26+ key: " GOOGLE_APPLICATION_CREDENTIALS"
27+ value: " secret_manager/java-it-service-account"
28+ }
29+
30+ env_vars: {
31+ key: " SECRET_MANAGER_KEYS"
32+ value: " java-it-service-account"
33+ }
You can’t perform that action at this time.
0 commit comments