Skip to content

Commit b1c94bf

Browse files
committed
Merge remote-tracking branch 'origin/main' into observability/tracing-attr/url.domain
2 parents bbddcea + ac1f0f4 commit b1c94bf

File tree

4,273 files changed

+533623
-2603
lines changed

Some content is hidden

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

4,273 files changed

+533623
-2603
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
/java-spanner/ @googleapis/spanner-team @googleapis/cloud-sdk-java-team
1313
/java-spanner-jdbc/ @googleapis/spanner-team @googleapis/cloud-sdk-java-team
1414
/google-auth-library-java/ @googleapis/cloud-sdk-auth-team @googleapis/cloud-sdk-java-team
15+
/java-storage/ @googleapis/gcs-team @googleapis/cloud-sdk-java-team

.github/requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
requests==2.32.4
1+
requests==2.33.0

.github/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ idna==3.7 \
104104
--hash=sha256:028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \
105105
--hash=sha256:82fee1fc78add43492d3a1898bfa6d8a904cc97d8427f683ed8e798d07761aa0
106106
# via requests
107-
requests==2.32.4 \
108-
--hash=sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c \
109-
--hash=sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422
107+
requests==2.33.0 \
108+
--hash=sha256:3324635456fa185245e24865e810cecec7b4caf933d7eb133dcde67d48cee69b \
109+
--hash=sha256:c7ebc5e8b0f21837386ad0e1c8fe8b829fa5f544d8df3b2253bff14ef29d7652
110110
# via -r requirements.in
111111
urllib3==2.6.3 \
112112
--hash=sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed \

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ jobs:
9292
java-bigquery: java-bigquery/**
9393
java-bigquerystorage: java-bigquerystorage/**
9494
java-datastore: java-datastore/**
95-
java-logging: java-logging/**
9695
java-logging-logback: java-logging-logback/**
96+
java-logging: java-logging/**
9797
java-spanner: java-spanner/**
98+
java-storage: java-storage/**
9899
sdk-platform-java: sdk-platform-java/**
99100
split-units:
100101
runs-on: ubuntu-latest
@@ -236,7 +237,7 @@ jobs:
236237
run: |
237238
mvn install -B -ntp -T 1C -DskipTests -Dclirr.skip -Dcheckstyle.skip -Denforcer.skip
238239
- name: Validate gapic-libraries-bom
239-
uses: googleapis/java-cloud-bom/tests/validate-bom@v26.54.0
240+
uses: googleapis/java-cloud-bom/tests/validate-bom@v26.79.0
240241
with:
241242
bom-path: gapic-libraries-bom/pom.xml
242243
generation-config-check:

.github/workflows/sdk-platform-java-dependency_compatibility_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ jobs:
8888
# Need to cd out of the directory to get the scripts as this step is run inside the java-showcase directory
8989
run: |
9090
if [[ -n "${{ env.DEPENDENCIES_LIST }}" ]]; then
91-
../sdk-platform-java/.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
91+
../.github/scripts/test_dependency_compatibility.sh -l ${{ env.DEPENDENCIES_LIST }}
9292
else
93-
../sdk-platform-java/.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
93+
../.github/scripts/test_dependency_compatibility.sh -f ../dependencies.txt
9494
fi
9595
working-directory: sdk-platform-java/java-showcase

.github/workflows/sdk-platform-java-verify_library_generation.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
git checkout -b "${head_ref}" fork/${head_ref}
4444
changed_directories="$(git diff --name-only "fork/${head_ref}" "origin/${base_ref}")"
4545
fi
46-
if [[ ${changed_directories} =~ "hermetic_build/" ]] || [[ ${changed_directories} =~ ".cloudbuild/library_generation/" ]]; then
46+
if [[ ${changed_directories} =~ "sdk-platform-java/hermetic_build/" ]] || [[ ${changed_directories} =~ "sdk-platform-java/.cloudbuild/library_generation/" ]]; then
4747
echo "should_run=true" >> $GITHUB_OUTPUT
4848
else
4949
echo "should_run=false" >> $GITHUB_OUTPUT
@@ -58,6 +58,9 @@ jobs:
5858
needs: [filter, should-run-library-generation-tests]
5959
if: needs.filter.outputs.library == 'true' && needs.should-run-library-generation-tests.outputs.should_run == 'true'
6060
runs-on: ubuntu-22.04
61+
defaults:
62+
run:
63+
working-directory: sdk-platform-java
6164
steps:
6265
- uses: actions/checkout@v4
6366
- uses: actions/setup-python@v5
@@ -86,12 +89,15 @@ jobs:
8689
needs: [filter, should-run-library-generation-tests]
8790
if: needs.filter.outputs.library == 'true' && needs.should-run-library-generation-tests.outputs.should_run == 'true'
8891
runs-on: ubuntu-22.04
92+
defaults:
93+
run:
94+
working-directory: sdk-platform-java
8995
steps:
9096
- uses: actions/checkout@v4
9197
- name: Run ShellCheck
9298
uses: ludeeus/action-shellcheck@2.0.0
9399
with:
94-
scandir: 'hermetic_build'
100+
scandir: 'sdk-platform-java/hermetic_build'
95101
format: tty
96102
severity: error
97103
ignore_paths:
@@ -100,6 +106,9 @@ jobs:
100106
needs: [filter, should-run-library-generation-tests]
101107
if: needs.filter.outputs.library == 'true' && needs.should-run-library-generation-tests.outputs.should_run == 'true'
102108
runs-on: ubuntu-22.04
109+
defaults:
110+
run:
111+
working-directory: sdk-platform-java
103112
steps:
104113
- uses: actions/checkout@v4
105114
- uses: actions/setup-python@v5

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ monorepo
7878
*.tfstate.backup
7979
*.tfstate.*.backup
8080
*.tfstate.lock.info
81+
82+
.jqwik-database

.kokoro/common.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ excluded_modules=(
3232
'java-spanner'
3333
'java-spanner-jdbc'
3434
'google-auth-library-java'
35+
'java-storage'
3536
)
3637

3738
function retry_with_backoff {
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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_a:3.58.0" # {x-version-update:google-cloud-shared-dependencies:current}
7+
}
8+
9+
env_vars: {
10+
key: "JOB_TYPE"
11+
value: "graalvm-single"
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+
}
34+
35+
env_vars: {
36+
key: "IT_SERVICE_ACCOUNT_EMAIL"
37+
value: "it-service-account@gcloud-devel.iam.gserviceaccount.com"
38+
}
39+
env_vars: {
40+
key: "BUILD_SUBDIR"
41+
value: "java-storage"
42+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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-kokoro-resources/java11"
7+
}
8+
9+
env_vars: {
10+
key: "JOB_TYPE"
11+
value: "integration-single"
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,client-library-test-universe-domain-credential"
33+
}
34+
35+
env_vars: {
36+
key: "IT_SERVICE_ACCOUNT_EMAIL"
37+
value: "it-service-account@gcloud-devel.iam.gserviceaccount.com"
38+
}
39+
40+
41+
env_vars: {
42+
key: "BUILD_SUBDIR"
43+
value: "java-storage"
44+
}

0 commit comments

Comments
 (0)