Skip to content

Commit 0ce50f3

Browse files
Merge branch 'main' into feat-datastore-request-tags
2 parents aa1b0ef + 50ebc70 commit 0ce50f3

314 files changed

Lines changed: 2078 additions & 2078 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.
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
permissions:
2+
contents: read
3+
4+
on:
5+
pull_request:
6+
# Runs on PRs targeting main, but will be filtered for Release PRs
7+
branches:
8+
- 'main'
9+
workflow_dispatch:
10+
inputs:
11+
protobuf_runtime_versions:
12+
description: 'Comma separated list of Protobuf-Java versions (i.e. "3.25.x","4.x.y"). Leave empty to use version from pom-parent.'
13+
required: false
14+
schedule:
15+
- cron: '0 1 * * *' # Nightly at 1am
16+
17+
# This job intends to test the compatibility of Protobuf runtime version against modules in the monorepo.
18+
name: sdk-platform-java Downstream Protobuf Compatibility Check Nightly
19+
jobs:
20+
setup:
21+
if: github.head_ref == 'release-please--branches--main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
22+
runs-on: ubuntu-22.04
23+
permissions:
24+
contents: read
25+
outputs:
26+
protobuf-versions: ${{ steps.resolve-versions.outputs.protobuf-versions }}
27+
steps:
28+
- name: Checkout monorepo
29+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30+
with:
31+
persist-credentials: false
32+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
33+
with:
34+
java-version: 11
35+
distribution: temurin
36+
cache: maven
37+
- id: resolve-versions
38+
name: Resolve Protobuf versions
39+
env:
40+
INPUT_VERSIONS: ${{ inputs.protobuf_runtime_versions }}
41+
run: |
42+
if [ -n "${INPUT_VERSIONS}" ]; then
43+
echo "protobuf-versions=[${INPUT_VERSIONS}]" >> "$GITHUB_OUTPUT"
44+
else
45+
VERSION=$(mvn -f sdk-platform-java/gapic-generator-java-pom-parent/pom.xml help:evaluate -Dexpression=protobuf.version -q -DforceStdout)
46+
echo "protobuf-versions=[\"${VERSION}\"]" >> "$GITHUB_OUTPUT"
47+
fi
48+
49+
downstream-protobuf-test:
50+
needs: setup
51+
# This job runs if any of the three conditions match:
52+
# 1. PR is raised from Release-Please (PR comes from branch: release-please--branches-main)
53+
# 2. Job is invoked by the nightly job (scheduled event)
54+
# 3. Job is manually invoked via Github UI (workflow_dispatch event)
55+
if: github.head_ref == 'release-please--branches--main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
56+
runs-on: ubuntu-22.04
57+
permissions:
58+
contents: read
59+
strategy:
60+
fail-fast: false
61+
matrix:
62+
module:
63+
- java-bigtable
64+
- java-bigquery
65+
- java-bigquerystorage
66+
- java-datastore
67+
- java-firestore
68+
- java-grafeas
69+
- java-logging
70+
- java-logging-logback
71+
- java-pubsub
72+
- java-resourcemanager
73+
- java-showcase
74+
- java-spanner
75+
- java-spanner-jdbc
76+
- java-storage
77+
- java-storage-nio
78+
- java-translate
79+
protobuf-version: ${{ fromJSON(needs.setup.outputs.protobuf-versions) }}
80+
steps:
81+
- name: Checkout monorepo
82+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
83+
with:
84+
persist-credentials: false
85+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
86+
with:
87+
java-version: 8
88+
distribution: temurin
89+
- run: echo "JAVA8_HOME=${JAVA_HOME}" >> $GITHUB_ENV
90+
# Java Client Libraries are compiled with Java 11 and target Java 8. Java 11 is required because GraalVM
91+
# minimum support is for Java 11.
92+
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
93+
with:
94+
java-version: 11
95+
distribution: temurin
96+
cache: maven
97+
- name: Install monorepo modules
98+
shell: bash
99+
run: .kokoro/build.sh
100+
env:
101+
BUILD_SUBDIR: ${{ matrix.module }}
102+
JOB_TYPE: install
103+
- name: Print Protobuf-Java testing version
104+
run: echo "Testing with Protobuf-Java v${PROTOBUF_RUNTIME_VERSION}"
105+
env:
106+
PROTOBUF_RUNTIME_VERSION: ${{ matrix.protobuf-version }}
107+
- name: Perform downstream source compatibility testing
108+
run: ./sdk-platform-java/.kokoro/nightly/downstream-protobuf-source-compatibility.sh
109+
env:
110+
MODULES_UNDER_TEST: ${{ matrix.module }}
111+
PROTOBUF_RUNTIME_VERSION: ${{ matrix.protobuf-version }}
112+
GOOGLE_CLOUD_PROJECT: placeholder-test-project
113+
- name: Perform downstream binary compatibility testing
114+
run: ./sdk-platform-java/.kokoro/nightly/downstream-protobuf-binary-compatibility.sh
115+
env:
116+
MODULES_UNDER_TEST: ${{ matrix.module }}
117+
PROTOBUF_RUNTIME_VERSION: ${{ matrix.protobuf-version }}

.kokoro/common.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,9 @@ function install_modules() {
418418
always_install_deps_list=(
419419
'java-monitoring/google-cloud-monitoring'
420420
'java-monitoring/google-cloud-monitoring-bom'
421+
'java-kms/google-cloud-kms'
422+
'java-kms/proto-google-cloud-kms-v1'
423+
'java-kms/grpc-google-cloud-kms-v1'
421424
'google-auth-library-java/appengine'
422425
'google-auth-library-java/bom'
423426
'google-auth-library-java/cab-token-generator'

java-accessapproval/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.83.0</version>
22+
<version>26.86.0</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -41,28 +41,28 @@ If you are using Maven without the BOM, add this to your dependencies:
4141
<dependency>
4242
<groupId>com.google.cloud</groupId>
4343
<artifactId>google-cloud-accessapproval</artifactId>
44-
<version>2.95.0</version>
44+
<version>2.96.0</version>
4545
</dependency>
4646
```
4747

4848
If you are using Gradle 5.x or later, add this to your dependencies:
4949

5050
```Groovy
51-
implementation platform('com.google.cloud:libraries-bom:26.83.0')
51+
implementation platform('com.google.cloud:libraries-bom:26.86.0')
5252
5353
implementation 'com.google.cloud:google-cloud-accessapproval'
5454
```
5555

5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-cloud-accessapproval:2.95.0'
59+
implementation 'com.google.cloud:google-cloud-accessapproval:2.96.0'
6060
```
6161

6262
If you are using SBT, add this to your dependencies:
6363

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.95.0"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-accessapproval" % "2.96.0"
6666
```
6767

6868
## Authentication
@@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
180180
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-accessapproval/latest/overview
181181
[stability-image]: https://img.shields.io/badge/stability-stable-green
182182
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-accessapproval.svg
183-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.95.0
183+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-accessapproval/2.96.0
184184
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
185185
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
186186
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-accesscontextmanager/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.83.0</version>
22+
<version>26.86.0</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -41,28 +41,28 @@ If you are using Maven without the BOM, add this to your dependencies:
4141
<dependency>
4242
<groupId>com.google.cloud</groupId>
4343
<artifactId>google-identity-accesscontextmanager</artifactId>
44-
<version>1.95.0</version>
44+
<version>1.96.0</version>
4545
</dependency>
4646
```
4747

4848
If you are using Gradle 5.x or later, add this to your dependencies:
4949

5050
```Groovy
51-
implementation platform('com.google.cloud:libraries-bom:26.83.0')
51+
implementation platform('com.google.cloud:libraries-bom:26.86.0')
5252
5353
implementation 'com.google.cloud:google-identity-accesscontextmanager'
5454
```
5555

5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-identity-accesscontextmanager:1.95.0'
59+
implementation 'com.google.cloud:google-identity-accesscontextmanager:1.96.0'
6060
```
6161

6262
If you are using SBT, add this to your dependencies:
6363

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.95.0"
65+
libraryDependencies += "com.google.cloud" % "google-identity-accesscontextmanager" % "1.96.0"
6666
```
6767

6868
## Authentication
@@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
180180
[javadocs]: https://cloud.google.com/java/docs/reference/google-identity-accesscontextmanager/latest/overview
181181
[stability-image]: https://img.shields.io/badge/stability-stable-green
182182
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-identity-accesscontextmanager.svg
183-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.95.0
183+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-identity-accesscontextmanager/1.96.0
184184
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
185185
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
186186
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-admanager/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ If you are using Maven, add this to your pom.xml file:
2121
<dependency>
2222
<groupId>com.google.api-ads</groupId>
2323
<artifactId>ad-manager</artifactId>
24-
<version>0.53.0</version>
24+
<version>0.54.0</version>
2525
</dependency>
2626
```
2727

2828
If you are using Gradle without BOM, add this to your dependencies:
2929

3030
```Groovy
31-
implementation 'com.google.api-ads:ad-manager:0.53.0'
31+
implementation 'com.google.api-ads:ad-manager:0.54.0'
3232
```
3333

3434
If you are using SBT, add this to your dependencies:
3535

3636
```Scala
37-
libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.53.0"
37+
libraryDependencies += "com.google.api-ads" % "ad-manager" % "0.54.0"
3838
```
3939

4040
## Authentication
@@ -155,7 +155,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
155155
[javadocs]: https://cloud.google.com/java/docs/reference/ad-manager/latest/overview
156156
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
157157
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.api-ads/ad-manager.svg
158-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.53.0
158+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.api-ads/ad-manager/0.54.0
159159
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
160160
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
161161
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-advisorynotifications/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>libraries-bom</artifactId>
22-
<version>26.83.0</version>
22+
<version>26.86.0</version>
2323
<type>pom</type>
2424
<scope>import</scope>
2525
</dependency>
@@ -41,28 +41,28 @@ If you are using Maven without the BOM, add this to your dependencies:
4141
<dependency>
4242
<groupId>com.google.cloud</groupId>
4343
<artifactId>google-cloud-advisorynotifications</artifactId>
44-
<version>0.83.0</version>
44+
<version>0.84.0</version>
4545
</dependency>
4646
```
4747

4848
If you are using Gradle 5.x or later, add this to your dependencies:
4949

5050
```Groovy
51-
implementation platform('com.google.cloud:libraries-bom:26.83.0')
51+
implementation platform('com.google.cloud:libraries-bom:26.86.0')
5252
5353
implementation 'com.google.cloud:google-cloud-advisorynotifications'
5454
```
5555

5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-cloud-advisorynotifications:0.83.0'
59+
implementation 'com.google.cloud:google-cloud-advisorynotifications:0.84.0'
6060
```
6161

6262
If you are using SBT, add this to your dependencies:
6363

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.83.0"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-advisorynotifications" % "0.84.0"
6666
```
6767

6868
## Authentication
@@ -180,7 +180,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
180180
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-advisorynotifications/latest/overview
181181
[stability-image]: https://img.shields.io/badge/stability-stable-green
182182
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-advisorynotifications.svg
183-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.83.0
183+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-advisorynotifications/0.84.0
184184
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
185185
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
186186
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-agentidentity/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2222
<dependency>
2323
<groupId>com.google.cloud</groupId>
2424
<artifactId>libraries-bom</artifactId>
25-
<version>26.83.0</version>
25+
<version>26.86.0</version>
2626
<type>pom</type>
2727
<scope>import</scope>
2828
</dependency>
@@ -44,28 +44,28 @@ If you are using Maven without the BOM, add this to your dependencies:
4444
<dependency>
4545
<groupId>com.google.cloud</groupId>
4646
<artifactId>google-cloud-agentidentity</artifactId>
47-
<version>0.0.0</version>
47+
<version>0.1.0</version>
4848
</dependency>
4949
```
5050

5151
If you are using Gradle 5.x or later, add this to your dependencies:
5252

5353
```Groovy
54-
implementation platform('com.google.cloud:libraries-bom:26.83.0')
54+
implementation platform('com.google.cloud:libraries-bom:26.86.0')
5555
5656
implementation 'com.google.cloud:google-cloud-agentidentity'
5757
```
5858

5959
If you are using Gradle without BOM, add this to your dependencies:
6060

6161
```Groovy
62-
implementation 'com.google.cloud:google-cloud-agentidentity:0.0.0'
62+
implementation 'com.google.cloud:google-cloud-agentidentity:0.1.0'
6363
```
6464

6565
If you are using SBT, add this to your dependencies:
6666

6767
```Scala
68-
libraryDependencies += "com.google.cloud" % "google-cloud-agentidentity" % "0.0.0"
68+
libraryDependencies += "com.google.cloud" % "google-cloud-agentidentity" % "0.1.0"
6969
```
7070

7171
## Authentication
@@ -186,7 +186,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
186186
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-agentidentity/latest/overview
187187
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
188188
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-agentidentity.svg
189-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-agentidentity/0.0.0
189+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-agentidentity/0.1.0
190190
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
191191
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
192192
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

0 commit comments

Comments
 (0)