Skip to content

Commit 348cae4

Browse files
Merge branch 'main' into renovate/org.json-json-20250517.x
2 parents 8c6b4ab + bf69b1a commit 348cae4

File tree

84 files changed

+4442
-1700
lines changed

Some content is hidden

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

84 files changed

+4442
-1700
lines changed

.github/release-please.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,11 @@ branches:
4646
bumpMinorPreMajor: true
4747
handleGHRelease: true
4848
branch: 6.88.x
49+
- releaseType: java-backport
50+
bumpMinorPreMajor: true
51+
handleGHRelease: true
52+
branch: 6.96.x
53+
- releaseType: java-backport
54+
bumpMinorPreMajor: true
55+
handleGHRelease: true
56+
branch: 6.95.x

.github/scripts/update_generation_config.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ set -e
1515
function get_latest_released_version() {
1616
local group_id=$1
1717
local artifact_id=$2
18-
json_content=$(curl -s "https://search.maven.org/solrsearch/select?q=g:${group_id}+AND+a:${artifact_id}&core=gav&rows=500&wt=json")
19-
latest=$(jq -r '.response.docs[] | select(.v | test("^[0-9]+(\\.[0-9]+)*$")) | .v' <<< "${json_content}" | sort -V | tail -n 1)
18+
group_id_url_path="$(sed 's|\.|/|g' <<< "${group_id}")"
19+
url="https://repo1.maven.org/maven2/${group_id_url_path}/${artifact_id}/maven-metadata.xml"
20+
xml_content=$(curl -s --fail "${url}")
21+
latest=$(xmllint --xpath 'metadata/versioning/latest/text()' - <<< "${xml_content}")
2022
if [[ -z "${latest}" ]]; then
2123
echo "The latest version of ${group_id}:${artifact_id} is empty."
2224
echo "The returned json from maven.org is invalid: ${json_content}"

.github/sync-repo-settings.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,48 @@ branchProtectionRules:
182182
- units-with-multiplexed-session (11)
183183
- unmanaged_dependency_check
184184
- library_generation
185+
- pattern: 6.96.x
186+
isAdminEnforced: true
187+
requiredApprovingReviewCount: 1
188+
requiresCodeOwnerReviews: true
189+
requiresStrictStatusChecks: false
190+
requiredStatusCheckContexts:
191+
- dependencies (17)
192+
- lint
193+
- javadoc
194+
- units (8)
195+
- units (11)
196+
- 'Kokoro - Test: Integration'
197+
- 'Kokoro - Test: Integration with Multiplexed Sessions'
198+
- cla/google
199+
- checkstyle
200+
- compile (8)
201+
- compile (11)
202+
- units-with-multiplexed-session (8)
203+
- units-with-multiplexed-session (11)
204+
- unmanaged_dependency_check
205+
- library_generation
206+
- pattern: 6.95.x
207+
isAdminEnforced: true
208+
requiredApprovingReviewCount: 1
209+
requiresCodeOwnerReviews: true
210+
requiresStrictStatusChecks: false
211+
requiredStatusCheckContexts:
212+
- dependencies (17)
213+
- lint
214+
- javadoc
215+
- units (8)
216+
- units (11)
217+
- 'Kokoro - Test: Integration'
218+
- 'Kokoro - Test: Integration with Multiplexed Sessions'
219+
- cla/google
220+
- checkstyle
221+
- compile (8)
222+
- compile (11)
223+
- units-with-multiplexed-session (8)
224+
- units-with-multiplexed-session (11)
225+
- unmanaged_dependency_check
226+
- library_generation
185227
permissionRules:
186228
- team: yoshi-admins
187229
permission: admin

.github/workflows/hermetic_library_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/scripts@v2.59.0
40+
- uses: googleapis/sdk-platform-java/.github/scripts@v2.60.2
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}

.github/workflows/unmanaged_dependency_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.50.0
20+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.50.2
2121
with:
2222
bom-path: google-cloud-spanner-bom/pom.xml

.github/workflows/update_generation_config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
33+
- name: Install Dependencies
34+
shell: bash
35+
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
3336
- name: Update params in generation config to latest
3437
shell: bash
3538
run: |

.kokoro/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ integration-cloud-devel-directpath-enabled)
160160
-Denforcer.skip=true \
161161
-Dmaven.main.skip=true \
162162
-Dspanner.gce.config.server_url=https://staging-wrenchworks.sandbox.googleapis.com \
163-
-Dspanner.testenv.instance=projects/span-cloud-testing/instances/spanner-java-client-directpath \
163+
-Dspanner.testenv.instance=projects/span-cloud-testing/instances/cloud-spanner-java-directpath \
164164
-Dspanner.gce.config.project_id=span-cloud-testing \
165165
-fae \
166166
verify

.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.49.0" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.50.2" # {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.49.0" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.50.2" # {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.49.0" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.50.2" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

0 commit comments

Comments
 (0)