Commit 4223a86
authored
chore: Add renovate custom manager to update upper-bound files (#3894)
Dependencies CI Test:
https://github.com/googleapis/sdk-platform-java/actions/runs/18327368470/job/52195017520
## Changes
In order to keep the current Maven pom.xml files the same, we create a
new format in the dependencies.txt file:
`{GroupID}:{ArtifactID},{MavenPropertyID}={Version}`. The `GroupID`,
`ArtifactID`, and `Version` values are by renovate bot to determine
there should be a dependency bump. The `MavenPropertyID` and `Version`
values are used to build the maven test command.
The format may not look intuitive and can be changed in the future.
Values/ Separators were chosen so that it doesn't have any weird edge
cases/ impact in shell scripts (avoiding ';', '*', '|' characters)
## Local Renovate Bot Invocation
Local invocation of renovate shows that it is able to match the
versions:
```
{
"depName": "com.fasterxml.jackson:jackson-bom",
"currentValue": "2.19.2",
"datasource": "maven",
"replaceString": "com.fasterxml.jackson:jackson-bom=2.19.2\n",
"updates": [
{
"bucket": "non-major",
"newVersion": "2.20.0",
"newValue": "2.20.0",
"releaseTimestamp": "2025-08-28T22:48:03.000Z",
"newVersionAgeInDays": 0,
"newMajor": 2,
"newMinor": 20,
"newPatch": 0,
"updateType": "minor",
"isBreaking": false,
"branchName": "renovate/com.fasterxml.jackson-jackson-bom-2.x"
}
],
...
],
"matchStrings": ["(?<depName>.*)=(?<currentValue>.*)\\n"],
"datasourceTemplate": "maven",
"packageFile": "dependencies.txt"
}
```1 parent 598de06 commit 4223a86
File tree
5 files changed
+58
-55
lines changed- .github
- scripts
- workflows
- gapic-generator-java-pom-parent
5 files changed
+58
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | 31 | | |
45 | 32 | | |
46 | 33 | | |
| |||
59 | 46 | | |
60 | 47 | | |
61 | 48 | | |
62 | | - | |
| 49 | + | |
63 | 50 | | |
64 | 51 | | |
65 | 52 | | |
| |||
77 | 64 | | |
78 | 65 | | |
79 | 66 | | |
80 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
81 | 72 | | |
82 | 73 | | |
83 | 74 | | |
| |||
91 | 82 | | |
92 | 83 | | |
93 | 84 | | |
94 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
95 | 89 | | |
96 | 90 | | |
97 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | | - | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
0 commit comments