Skip to content

Commit f7ffeef

Browse files
authored
Merge branch 'main' into pqc-grpc-poc-1.83.0
2 parents bab29b6 + 0992cf0 commit f7ffeef

4,821 files changed

Lines changed: 485015 additions & 423656 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: 32 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
# runnable is true if there are changes outside the .github/workflows directory OR if ci.yaml itself (or kokoro scripts) is modified.
3636
runnable: ${{ fromJSON(steps.filter.outputs.all_count) > fromJSON(steps.filter.outputs.workflows_count) || fromJSON(steps.filter.outputs.ci_count) > 0 }}
3737
steps:
38-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
38+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
3939
with:
4040
persist-credentials: false
4141
# Use this action, rather than a file filter so that we can make this
4242
# mandatory.
4343
# See https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-including-branches
4444
# for more details.
45-
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
45+
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
4646
id: filter
4747
with:
4848
filters: |
@@ -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)"
73-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
69+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
7470
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
7571
with:
7672
persist-credentials: false
77-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
73+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
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)"
104-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
91+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
10592
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
10693
with:
10794
persist-credentials: false
108-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
95+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
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.8.0
106+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
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
@@ -144,10 +125,10 @@ jobs:
144125
outputs:
145126
packages: ${{ steps.filter.outputs.changes }}
146127
steps:
147-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
128+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
148129
with:
149130
persist-credentials: false
150-
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
131+
- uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
151132
id: filter
152133
with:
153134
# For each library, run CI in split repos where there are changes in:
@@ -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)"
277-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
255+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
278256
with:
279257
persist-credentials: false
280-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
258+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
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)"
302-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
278+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
303279
with:
304280
persist-credentials: false
305-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
281+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
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.8.0
293+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
323294
with:
324295
java-version: ${{matrix.java}}
325296
distribution: temurin
@@ -346,13 +317,14 @@ jobs:
346317
matrix:
347318
package: ${{ fromJSON(needs.changes.outputs.packages) }}
348319
steps:
349-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
320+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
350321
with:
351322
persist-credentials: false
352-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
323+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
353324
with:
354325
distribution: temurin
355326
java-version: 11
327+
cache: maven
356328
- run: .kokoro/build.sh
357329
env:
358330
BUILD_SUBDIR: ${{matrix.package}}
@@ -365,13 +337,14 @@ jobs:
365337
matrix:
366338
package: ${{ fromJSON(needs.changes.outputs.packages) }}
367339
steps:
368-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
340+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
369341
with:
370342
persist-credentials: false
371-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
343+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
372344
with:
373345
distribution: temurin
374346
java-version: 17
347+
cache: maven
375348
- run: .kokoro/dependencies.sh
376349
env:
377350
BUILD_SUBDIR: ${{matrix.package}}
@@ -393,10 +366,10 @@ jobs:
393366
steps:
394367
- name: Support longpaths
395368
run: git config --system core.longpaths true
396-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
369+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
397370
with:
398371
persist-credentials: false
399-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
372+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
400373
with:
401374
distribution: temurin
402375
java-version: 11
@@ -411,14 +384,15 @@ jobs:
411384
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
412385
runs-on: ubuntu-latest
413386
steps:
414-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
387+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
415388
with:
416389
fetch-depth: 0
417390
persist-credentials: false
418-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
391+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
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)"
436-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
407+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
437408
with:
438409
persist-credentials: false
439-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
410+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
440411
with:
441412
distribution: temurin
442413
java-version: 11
@@ -453,10 +424,10 @@ jobs:
453424
if: ${{ needs.bulk-filter.outputs.runnable == 'true' }}
454425
runs-on: ubuntu-latest
455426
steps:
456-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
427+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
457428
with:
458429
persist-credentials: false
459-
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4.8.0
430+
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4.9.1
460431
with:
461432
java-version: 11
462433
distribution: temurin
@@ -466,7 +437,7 @@ jobs:
466437
env:
467438
JOB_TYPE: install
468439
- name: Validate gapic-libraries-bom
469-
uses: googleapis/java-cloud-bom/tests/validate-bom@377c8d1fac6b1521dc52a10f4d02e5d371a0de67 # v26.79.0
440+
uses: googleapis/java-cloud-bom/tests/validate-bom@a634dd9327474415b45a6c1c0e42c3375800a249 # v26.84.0
470441
with:
471442
bom-path: gapic-libraries-bom/pom.xml
472443

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
with:
5757
distribution: temurin
5858
java-version: ${{matrix.java}}
59+
cache: maven
5960
- run: java -version
6061
- run: .kokoro/build.sh
6162
env:
@@ -74,6 +75,7 @@ jobs:
7475
with:
7576
distribution: temurin
7677
java-version: 11
78+
cache: maven
7779
- run: java -version
7880
- run: .kokoro/build.sh
7981
env:
@@ -91,6 +93,7 @@ jobs:
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
distribution: temurin
6565
java-version: ${{matrix.java}}
66+
cache: maven
6667
- run: java -version
6768
- run: .kokoro/build.sh
6869
env:
@@ -81,6 +82,7 @@ jobs:
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
@@ -90,6 +92,7 @@ jobs:
9092
with:
9193
java-version: 17
9294
distribution: temurin
95+
cache: maven
9396
- run: .kokoro/build.sh
9497
env:
9598
JOB_TYPE: test
@@ -109,6 +112,7 @@ jobs:
109112
with:
110113
distribution: temurin
111114
java-version: 8
115+
cache: maven
112116
- run: java -version
113117
- run: .kokoro/build.sh
114118
env:
@@ -125,6 +129,7 @@ jobs:
125129
with:
126130
distribution: temurin
127131
java-version: 17
132+
cache: maven
128133
- run: .kokoro/dependencies.sh
129134
javadoc:
130135
needs: filter
@@ -138,6 +143,7 @@ jobs:
138143
with:
139144
distribution: temurin
140145
java-version: 17
146+
cache: maven
141147
- run: java -version
142148
- run: .kokoro/build.sh
143149
env:
@@ -155,6 +161,7 @@ jobs:
155161
with:
156162
distribution: temurin
157163
java-version: 17
164+
cache: maven
158165
- run: java -version
159166
- run: .kokoro/build.sh
160167
env:

.github/workflows/java-bigtable-ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
with:
5656
distribution: temurin
5757
java-version: ${{matrix.java}}
58+
cache: maven
5859
- run: java -version
5960
- run: .kokoro/build.sh
6061
env:
@@ -73,6 +74,7 @@ jobs:
7374
with:
7475
java-version: 8
7576
distribution: temurin
77+
cache: maven
7678
- name: "Set jvm system property environment variable for surefire plugin (unit tests)"
7779
# Maven surefire plugin (unit tests) allows us to specify JVM to run the tests.
7880
# https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#jvm
@@ -82,6 +84,7 @@ jobs:
8284
with:
8385
java-version: 17
8486
distribution: temurin
87+
cache: maven
8588
- run: .kokoro/build.sh
8689
env:
8790
JOB_TYPE: test
@@ -99,6 +102,7 @@ jobs:
99102
with:
100103
distribution: temurin
101104
java-version: 8
105+
cache: maven
102106
- run: java -version
103107
- run: .kokoro/build.sh
104108
env:
@@ -118,6 +122,7 @@ jobs:
118122
with:
119123
distribution: temurin
120124
java-version: ${{matrix.java}}
125+
cache: maven
121126
- run: java -version
122127
- run: .kokoro/dependencies.sh
123128
javadoc:
@@ -132,6 +137,7 @@ jobs:
132137
with:
133138
distribution: temurin
134139
java-version: 17
140+
cache: maven
135141
- run: java -version
136142
- run: .kokoro/build.sh
137143
env:
@@ -149,6 +155,7 @@ jobs:
149155
with:
150156
distribution: temurin
151157
java-version: 17
158+
cache: maven
152159
- run: java -version
153160
- run: .kokoro/build.sh
154161
env:
@@ -167,6 +174,7 @@ jobs:
167174
with:
168175
distribution: temurin
169176
java-version: 11
177+
cache: maven
170178
- run: java -version
171179
- run: .kokoro/build.sh
172180
env:

0 commit comments

Comments
 (0)