Skip to content

Commit 832077e

Browse files
authored
Merge branch 'main' into admin-emulator-support
2 parents 500fd02 + 0e96d1f commit 832077e

File tree

574 files changed

+16827
-5504
lines changed

Some content is hidden

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

574 files changed

+16827
-5504
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Google LLC
1+
# Copyright 2024 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
16-
digest: sha256:81f75d962cd28b7ad10740a643b8069b8fa0357cb495b782eef8560bb7a8fd65
17-
# created: 2023-12-05T19:16:19.735195992Z
16+
digest: sha256:1fb09a3eb66af09221da69087fd1b4d075bc7c79e508d0708f5dc0f842069da2
17+
# created: 2024-02-05T19:43:08.106031548Z
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Renovate Bot Config Validation
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'renovate.json'
7+
8+
jobs:
9+
renovate_bot_config_validation:
10+
runs-on: ubuntu-22.04
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v3
18+
with:
19+
node-version: '20'
20+
21+
- name: Install Renovate and Config Validator
22+
run: |
23+
npm install -g npm@latest
24+
npm install --global renovate
25+
renovate-config-validator
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on:
2+
pull_request:
3+
name: Unmanaged dependency check
4+
jobs:
5+
unmanaged_dependency_check:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- uses: actions/setup-java@v3
10+
with:
11+
distribution: temurin
12+
java-version: 11
13+
- name: Install modules
14+
shell: bash
15+
run: |
16+
# No argument to build.sh installs the modules in local Maven
17+
# repository
18+
.kokoro/build.sh
19+
- name: Unmanaged dependency check
20+
uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@unmanaged-dependencies-check-latest
21+
with:
22+
bom-path: google-cloud-spanner-bom/pom.xml

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ nosetests.xml
2222
.settings
2323
.DS_Store
2424
.classpath
25+
.tool-versions
2526

2627
# Built documentation
2728
docs/

.kokoro/dependencies.sh

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -65,54 +65,3 @@ if [ ! -z "${JAVA8_HOME}" ]; then
6565
fi
6666

6767
mvn -B dependency:analyze -DfailOnWarning=true
68-
69-
echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************"
70-
## Run dependency list completeness check
71-
function completenessCheck() {
72-
# Output dep list with compile scope generated using the original pom
73-
# Running mvn dependency:list on Java versions that support modules will also include the module of the dependency.
74-
# This is stripped from the output as it is not present in the flattened pom.
75-
# Only dependencies with 'compile' or 'runtime' scope are included from original dependency list.
76-
msg "Generating dependency list using original pom..."
77-
mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e 's/ --.*//' >.org-list.txt
78-
79-
# Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes)
80-
msg "Generating dependency list using flattened pom..."
81-
mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt
82-
83-
# Compare two dependency lists
84-
msg "Comparing dependency lists..."
85-
diff .org-list.txt .new-list.txt >.diff.txt
86-
if [[ $? == 0 ]]
87-
then
88-
msg "Success. No diff!"
89-
else
90-
msg "Diff found. See below: "
91-
msg "You can also check .diff.txt file located in $1."
92-
cat .diff.txt
93-
return 1
94-
fi
95-
}
96-
97-
# Allow failures to continue running the script
98-
set +e
99-
100-
error_count=0
101-
for path in **/.flattened-pom.xml
102-
do
103-
# Check flattened pom in each dir that contains it for completeness
104-
dir=$(dirname "$path")
105-
pushd "$dir"
106-
completenessCheck "$dir"
107-
error_count=$(($error_count + $?))
108-
popd
109-
done
110-
111-
if [[ $error_count == 0 ]]
112-
then
113-
msg "All checks passed."
114-
exit 0
115-
else
116-
msg "Errors found. See log statements above."
117-
exit 1
118-
fi

.kokoro/presubmit/graalvm-native-17.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-kokoro-resources/graalvm17:22.3.3"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.24.0"
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native.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-kokoro-resources/graalvm:22.3.3"
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.24.0"
77
}
88

99
env_vars: {

.kokoro/release/bump_snapshot.cfg

Lines changed: 0 additions & 53 deletions
This file was deleted.

.kokoro/release/bump_snapshot.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

.kokoro/release/common.cfg

Lines changed: 0 additions & 49 deletions
This file was deleted.

.kokoro/release/common.sh

Lines changed: 0 additions & 50 deletions
This file was deleted.

.kokoro/release/drop.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

.kokoro/release/drop.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

.kokoro/release/promote.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)