Skip to content

Commit 66e9b92

Browse files
committed
Merge branch 'main' into remove-session-pool
2 parents 89a99b2 + 0ca9541 commit 66e9b92

File tree

74 files changed

+4667
-529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+4667
-529
lines changed

.github/workflows/auto-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
if: contains(github.head_ref, 'release-please')
2323
steps:
24-
- uses: actions/github-script@v7
24+
- uses: actions/github-script@v8
2525
with:
2626
github-token: ${{secrets.YOSHI_APPROVER_TOKEN}}
2727
debug: true

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
java: [11, 17, 21]
28+
java: [11, 17, 21, 25]
2929
steps:
3030
- uses: actions/checkout@v4
3131
- uses: actions/setup-java@v3

.github/workflows/hermetic_library_generation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
else
3333
echo "SHOULD_RUN=true" >> $GITHUB_ENV
3434
fi
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
if: env.SHOULD_RUN == 'true'
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/scripts@v2.62.2
40+
- uses: googleapis/sdk-platform-java/.github/scripts@v2.63.0
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}

.github/workflows/integration-tests-against-emulator-with-regular-session.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
- 9020:9020
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- uses: stCarolas/setup-maven@v5
2121
with:
2222
maven-version: 3.8.1
2323
# Build with JDK 11 and run tests with JDK 8
24-
- uses: actions/setup-java@v4
24+
- uses: actions/setup-java@v5
2525
with:
2626
java-version: 11
2727
distribution: temurin
2828
- name: Compiling main library
2929
run: .kokoro/build.sh
30-
- uses: actions/setup-java@v4
30+
- uses: actions/setup-java@v5
3131
with:
3232
java-version: 8
3333
distribution: temurin

.github/workflows/integration-tests-against-emulator.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
- 9020:9020
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- uses: stCarolas/setup-maven@v5
2121
with:
2222
maven-version: 3.8.1
2323
# Build with JDK 11 and run tests with JDK 8
24-
- uses: actions/setup-java@v4
24+
- uses: actions/setup-java@v5
2525
with:
2626
java-version: 11
2727
distribution: temurin
2828
- name: Compiling main library
2929
run: .kokoro/build.sh
30-
- uses: actions/setup-java@v4
30+
- uses: actions/setup-java@v5
3131
with:
3232
java-version: 8
3333
distribution: temurin

.github/workflows/unmanaged_dependency_check.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ jobs:
55
unmanaged_dependency_check:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
9-
- uses: actions/setup-java@v4
8+
- uses: actions/checkout@v5
9+
- uses: actions/setup-java@v5
1010
with:
1111
distribution: temurin
1212
java-version: 11
@@ -17,6 +17,6 @@ jobs:
1717
# repository
1818
.kokoro/build.sh
1919
- name: Unmanaged dependency check
20-
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.52.2
20+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.53.0
2121
with:
2222
bom-path: google-cloud-spanner-bom/pom.xml

.kokoro/build.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ integration)
104104
verify
105105
RETURN_CODE=$?
106106
;;
107-
integration-directpath-enabled)
107+
integration-regular-sessions)
108108
mvn -B ${INTEGRATION_TEST_ARGS} \
109109
-ntp \
110110
-Penable-integration-tests \
@@ -113,13 +113,13 @@ integration-directpath-enabled)
113113
-Dclirr.skip=true \
114114
-Denforcer.skip=true \
115115
-Dmaven.main.skip=true \
116-
-Dspanner.testenv.instance=projects/span-cloud-testing/instances/spanner-java-client-directpath \
117-
-Dspanner.gce.config.project_id=span-cloud-testing \
116+
-Dspanner.gce.config.project_id=gcloud-devel \
117+
-Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests-regular-sessions \
118118
-fae \
119119
verify
120120
RETURN_CODE=$?
121121
;;
122-
integration-multiplexed-sessions-enabled)
122+
integration-directpath-enabled)
123123
mvn -B ${INTEGRATION_TEST_ARGS} \
124124
-ntp \
125125
-Penable-integration-tests \
@@ -129,7 +129,7 @@ integration-multiplexed-sessions-enabled)
129129
-Denforcer.skip=true \
130130
-Dmaven.main.skip=true \
131131
-Dspanner.gce.config.project_id=gcloud-devel \
132-
-Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests-multiplexed-sessions \
132+
-Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests-directpath \
133133
-fae \
134134
verify
135135
RETURN_CODE=$?
@@ -184,12 +184,14 @@ integration-cloud-staging|integration-cloud-staging-directpath-enabled)
184184
;;
185185
graalvm)
186186
# Run Unit and Integration Tests with Native Image
187-
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests
187+
# NOTE: These integration tests run on the Emulator.
188+
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests-graalvm
188189
RETURN_CODE=$?
189190
;;
190191
graalvm17)
191192
# Run Unit and Integration Tests with Native Image
192-
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests
193+
# NOTE: These integration tests run on the Emulator.
194+
mvn test -Pnative -Penable-integration-tests -Dspanner.gce.config.project_id=gcloud-devel -Dspanner.testenv.instance=projects/gcloud-devel/instances/java-client-integration-tests-graalvm
193195
RETURN_CODE=$?
194196
;;
195197
slowtests)

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.52.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.52.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.52.2" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

0 commit comments

Comments
 (0)