Skip to content

Commit df0f46d

Browse files
Merge branch 'main' into jdbc/otel-proxy-fix
2 parents 2a7210a + 6bf696f commit df0f46d

1,060 files changed

Lines changed: 232104 additions & 14258 deletions

File tree

Some content is hidden

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

‎.github/workflows/ci.yaml‎

Lines changed: 17 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -66,27 +66,18 @@ jobs:
6666
matrix:
6767
java: [11, 17, 21, 25, 26]
6868
steps:
69-
- name: Get current week within the year
70-
id: date
71-
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
72-
run: echo "::set-output name=week_of_year::$(date +'%W' --utc)"
7369
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
7470
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
7571
with:
7672
persist-credentials: false
77-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
73+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
7874
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
7975
with:
8076
distribution: temurin
8177
java-version: ${{matrix.java}}
78+
cache: maven
8279
- run: java -version
8380
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
84-
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
85-
id: mvn-cache
86-
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
87-
with:
88-
path: ~/.m2/repository
89-
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.week_of_year }}
9081
- run: .kokoro/build.sh
9182
if: ${{ needs.bulk-filter.outputs.runnable == 'true' && (needs.bulk-filter.outputs.src == 'true' || needs.bulk-filter.outputs.ci == 'true') }}
9283
env:
@@ -97,15 +88,11 @@ jobs:
9788
needs: bulk-filter
9889
name: "units (8)"
9990
steps:
100-
- name: Get current week within the year
101-
id: date
102-
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
103-
run: echo "::set-output name=week_of_year::$(date +'%W' --utc)"
10491
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
10592
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
10693
with:
10794
persist-credentials: false
108-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
95+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
10996
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
11097
with:
11198
java-version: 8
@@ -116,18 +103,12 @@ jobs:
116103
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
117104
run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java" >> $GITHUB_ENV
118105
shell: bash
119-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
106+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
120107
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
121108
with:
122109
java-version: 11
123110
distribution: temurin
124111
cache: maven
125-
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
126-
id: mvn-cache
127-
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
128-
with:
129-
path: ~/.m2/repository
130-
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.week_of_year }}
131112
- run: .kokoro/build.sh
132113
if: ${{ needs.bulk-filter.outputs.runnable == 'true' && (needs.bulk-filter.outputs.src == 'true' || needs.bulk-filter.outputs.ci == 'true') }}
133114
shell: bash
@@ -271,16 +252,14 @@ jobs:
271252
package: ${{ fromJSON(needs.changes.outputs.packages) }}
272253
java: [11, 17, 21, 25, 26]
273254
steps:
274-
- name: Get current week within the year
275-
id: date
276-
run: echo "::set-output name=week_of_year::$(date +'%W' --utc)"
277255
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
278256
with:
279257
persist-credentials: false
280-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
258+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
281259
with:
282260
distribution: temurin
283261
java-version: ${{matrix.java}}
262+
cache: maven
284263
- run: .kokoro/build.sh
285264
env:
286265
BUILD_SUBDIR: ${{matrix.package}}
@@ -296,30 +275,22 @@ jobs:
296275
package: ${{ fromJSON(needs.changes.outputs.packages) }}
297276
java: [8]
298277
steps:
299-
- name: Get current week within the year
300-
id: date
301-
run: echo "::set-output name=week_of_year::$(date +'%W' --utc)"
302278
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
303279
with:
304280
persist-credentials: false
305-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
281+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
306282
with:
307283
java-version: 11
308284
distribution: temurin
309285
cache: maven
310286
- run: java -version
311-
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
312-
id: mvn-cache
313-
with:
314-
path: ~/.m2/repository
315-
key: ${{ runner.os }}-maven-unified-${{ steps.date.outputs.week_of_year }}
316287
- name: Install all modules using Java 11
317288
shell: bash
318289
run: .kokoro/build.sh
319290
env:
320291
BUILD_SUBDIR: ${{matrix.package}}
321292
JOB_TYPE: install
322-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
293+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
323294
with:
324295
java-version: ${{matrix.java}}
325296
distribution: temurin
@@ -349,10 +320,11 @@ jobs:
349320
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
350321
with:
351322
persist-credentials: false
352-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
323+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
353324
with:
354325
distribution: temurin
355326
java-version: 11
327+
cache: maven
356328
- run: .kokoro/build.sh
357329
env:
358330
BUILD_SUBDIR: ${{matrix.package}}
@@ -368,10 +340,11 @@ jobs:
368340
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
369341
with:
370342
persist-credentials: false
371-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
343+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
372344
with:
373345
distribution: temurin
374346
java-version: 17
347+
cache: maven
375348
- run: .kokoro/dependencies.sh
376349
env:
377350
BUILD_SUBDIR: ${{matrix.package}}
@@ -396,7 +369,7 @@ jobs:
396369
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
397370
with:
398371
persist-credentials: false
399-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
372+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
400373
with:
401374
distribution: temurin
402375
java-version: 11
@@ -415,10 +388,11 @@ jobs:
415388
with:
416389
fetch-depth: 0
417390
persist-credentials: false
418-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
391+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
419392
with:
420393
distribution: temurin
421394
java-version: 17
395+
cache: maven
422396
- run: java -version
423397
- run: .kokoro/build.sh
424398
env:
@@ -430,13 +404,10 @@ jobs:
430404
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
431405
runs-on: ubuntu-latest
432406
steps:
433-
- name: Get current week within the year
434-
id: date
435-
run: echo "::set-output name=week_of_year::$(date +'%W' --utc)"
436407
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
437408
with:
438409
persist-credentials: false
439-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
410+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
440411
with:
441412
distribution: temurin
442413
java-version: 11
@@ -456,7 +427,7 @@ jobs:
456427
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
457428
with:
458429
persist-credentials: false
459-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
430+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
460431
with:
461432
java-version: 11
462433
distribution: temurin

‎.github/workflows/google-auth-library-java-ci.yaml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ jobs:
5252
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
5353
with:
5454
persist-credentials: false
55-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
55+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
5656
with:
5757
distribution: temurin
5858
java-version: ${{matrix.java}}
59+
cache: maven
5960
- run: java -version
6061
- run: .kokoro/build.sh
6162
env:
@@ -70,10 +71,11 @@ jobs:
7071
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
7172
with:
7273
persist-credentials: false
73-
- uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3
74+
- uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3.14.1
7475
with:
7576
distribution: temurin
7677
java-version: 11
78+
cache: maven
7779
- run: java -version
7880
- run: .kokoro/build.sh
7981
env:
@@ -87,10 +89,11 @@ jobs:
8789
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
8890
with:
8991
persist-credentials: false
90-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
92+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
9193
with:
9294
distribution: temurin
9395
java-version: 17
96+
cache: maven
9497
- run: .kokoro/dependencies.sh
9598

9699
required:

‎.github/workflows/java-bigquery-jdbc-ci.yaml‎

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ jobs:
5959
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
6060
with:
6161
persist-credentials: false
62-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
62+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
6363
with:
6464
distribution: temurin
6565
java-version: ${{matrix.java}}
66+
cache: maven
6667
- run: java -version
6768
- run: .kokoro/build.sh
6869
env:
@@ -77,19 +78,21 @@ jobs:
7778
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
7879
with:
7980
persist-credentials: false
80-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
81+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
8182
with:
8283
java-version: 8
8384
distribution: temurin
85+
cache: maven
8486
- name: "Set jvm system property environment variable for surefire plugin (unit tests)"
8587
# Maven surefire plugin (unit tests) allows us to specify JVM to run the tests.
8688
# https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm
8789
run: echo "SUREFIRE_JVM_OPT=-Djvm=${JAVA_HOME}/bin/java -P !java17" >> $GITHUB_ENV
8890
shell: bash
89-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
91+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
9092
with:
9193
java-version: 17
9294
distribution: temurin
95+
cache: maven
9396
- run: .kokoro/build.sh
9497
env:
9598
JOB_TYPE: test
@@ -105,10 +108,11 @@ jobs:
105108
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
106109
with:
107110
persist-credentials: false
108-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
111+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
109112
with:
110113
distribution: temurin
111114
java-version: 8
115+
cache: maven
112116
- run: java -version
113117
- run: .kokoro/build.sh
114118
env:
@@ -121,10 +125,11 @@ jobs:
121125
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
122126
with:
123127
persist-credentials: false
124-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
128+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
125129
with:
126130
distribution: temurin
127131
java-version: 17
132+
cache: maven
128133
- run: .kokoro/dependencies.sh
129134
javadoc:
130135
needs: filter
@@ -134,10 +139,11 @@ jobs:
134139
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
135140
with:
136141
persist-credentials: false
137-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
142+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
138143
with:
139144
distribution: temurin
140145
java-version: 17
146+
cache: maven
141147
- run: java -version
142148
- run: .kokoro/build.sh
143149
env:
@@ -151,10 +157,11 @@ jobs:
151157
with:
152158
fetch-depth: 0
153159
persist-credentials: false
154-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
160+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
155161
with:
156162
distribution: temurin
157163
java-version: 17
164+
cache: maven
158165
- run: java -version
159166
- run: .kokoro/build.sh
160167
env:

0 commit comments

Comments
 (0)