Commit 16312ec
authored
ci: restore sdk-platform-java jobs (#12813)
This pull request resolves an API compatibility issue in the
`sdk-platform-java` standalone Bazel build by updating the dependency
pointers for `google-auth-library`.
## Problem
Bazel integration tests for `sdk-platform-java` were failing due to a
mismatch between local source code usage and external dependency
signatures:
```
external/com_google_api_gax_java/gax/src/main/java/com/google/api/gax/rpc/ClientContext.java:357: error: incompatible types: String cannot be converted to URI
return ((GdchCredentials) credentials).createWithGdchAudience(audienceString);
^
```
This occurred because `gax-java` locally relies on
`createWithGdchAudience(String)`, which was introduced in newer versions
of `google-auth-library`, but the inner Bazel `dependencies.properties`
file was still downloading `1.42.1`.
## Solution
- Updated `google-auth-library-oauth2-http` and
`google-auth-library-credentials` versions from `1.42.1` to `1.46.0`
inside `sdk-platform-java/gax-java/dependencies.properties`.
- Added a temporary CI trigger to ensure standalone validation jobs are
correctly integrated into the main pipeline feedback cycle.1 parent f62742c commit 16312ec
File tree
2 files changed
+3
-2
lines changed- .github/workflows
- sdk-platform-java/gax-java
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments