Skip to content

Commit 8a124d3

Browse files
authored
chore(config): migrate renovate config (#3442)
The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed. You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon. 🔕 **Ignore**: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid. ❓ Got questions? Does something look wrong to you? Please don't hesitate to [request help here](https://redirect.github.com/renovatebot/renovate/discussions). --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/sdk-platform-java).
1 parent d29475a commit 8a124d3

File tree

1 file changed

+87
-79
lines changed

1 file changed

+87
-79
lines changed

renovate.json

Lines changed: 87 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
"ignoreDeps": [
77
"rules_pkg"
88
],
9-
"ignorePaths": ["^library_generation/requirements\\.txt$"],
9+
"ignorePaths": [
10+
"^library_generation/requirements\\.txt$"
11+
],
1012
"customManagers": [
1113
{
1214
"customType": "regex",
@@ -44,9 +46,13 @@
4446
},
4547
{
4648
"customType": "regex",
47-
"fileMatch": ["^.kokoro/presubmit/graalvm-native.*.cfg$"],
48-
"matchStrings": ["value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm:(?<currentValue>.*?)\"",
49-
"value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm17:(?<currentValue>.*?)\""],
49+
"fileMatch": [
50+
"^.kokoro/presubmit/graalvm-native.*.cfg$"
51+
],
52+
"matchStrings": [
53+
"value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm:(?<currentValue>.*?)\"",
54+
"value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm17:(?<currentValue>.*?)\""
55+
],
5056
"depNameTemplate": "ghcr.io/graalvm/graalvm-ce",
5157
"datasourceTemplate": "docker"
5258
},
@@ -77,7 +83,9 @@
7783
],
7884
"packageRules": [
7985
{
80-
"matchPackageNames": ["com.google.cloud:google-cloud-shared-config"],
86+
"matchPackageNames": [
87+
"com.google.cloud:google-cloud-shared-config"
88+
],
8189
"registryUrls": [
8290
"https://repo.maven.apache.org/maven2/",
8391
"https://repo1.maven.org/maven2"
@@ -87,114 +95,114 @@
8795
"matchUpdateTypes": [
8896
"major"
8997
],
90-
"matchPackagePatterns": [
98+
"enabled": false,
99+
"matchPackageNames": [
91100
"*"
92-
],
93-
"enabled": false
101+
]
94102
},
95103
{
96-
"matchPackagePatterns": [
97-
"^com.google.protobuf:"
98-
],
99-
"enabled": false
104+
"enabled": false,
105+
"matchPackageNames": [
106+
"/^com.google.protobuf:/"
107+
]
100108
},
101109
{
102-
"matchPackagePatterns": [
103-
"^com.google.guava:"
104-
],
105-
"versioning": "docker"
110+
"versioning": "docker",
111+
"matchPackageNames": [
112+
"/^com.google.guava:/"
113+
]
106114
},
107115
{
108-
"matchPackagePatterns": [
109-
"*"
110-
],
111116
"semanticCommitType": "deps",
112-
"semanticCommitScope": null
117+
"semanticCommitScope": null,
118+
"matchPackageNames": [
119+
"*"
120+
]
113121
},
114122
{
115-
"matchPackagePatterns": [
116-
"^org.apache.maven",
117-
"^org.jacoco:",
118-
"^org.codehaus.mojo:",
119-
"^org.sonatype.plugins:",
120-
"^com.coveo:",
121-
"^com.google.cloud:google-cloud-shared-config"
122-
],
123123
"semanticCommitType": "build",
124124
"semanticCommitScope": "deps",
125-
"enabled": true
125+
"enabled": true,
126+
"matchPackageNames": [
127+
"/^org.apache.maven/",
128+
"/^org.jacoco:/",
129+
"/^org.codehaus.mojo:/",
130+
"/^org.sonatype.plugins:/",
131+
"/^com.coveo:/",
132+
"/^com.google.cloud:google-cloud-shared-config/"
133+
]
126134
},
127135
{
128-
"matchPackagePatterns": [
129-
"^{{metadata['repo']['distribution_name']}}",
130-
"^com.google.cloud:libraries-bom",
131-
"^com.google.cloud.samples:shared-configuration"
132-
],
133136
"semanticCommitType": "chore",
134-
"semanticCommitScope": "deps"
137+
"semanticCommitScope": "deps",
138+
"matchPackageNames": [
139+
"/^{{metadata['repo']['distribution_name']}}/",
140+
"/^com.google.cloud:libraries-bom/",
141+
"/^com.google.cloud.samples:shared-configuration/"
142+
]
135143
},
136144
{
137-
"matchPackagePatterns": [
138-
"^junit:junit",
139-
"^com.google.truth:truth",
140-
"^org.mockito:mockito-core",
141-
"^org.objenesis:objenesis",
142-
"^com.google.cloud:google-cloud-conformance-tests"
143-
],
144145
"semanticCommitType": "test",
145-
"semanticCommitScope": "deps"
146+
"semanticCommitScope": "deps",
147+
"matchPackageNames": [
148+
"/^junit:junit/",
149+
"/^com.google.truth:truth/",
150+
"/^org.mockito:mockito-core/",
151+
"/^org.objenesis:objenesis/",
152+
"/^com.google.cloud:google-cloud-conformance-tests/"
153+
]
146154
},
147155
{
148-
"matchPackagePatterns": [
149-
"^com.google.cloud:google-cloud-"
150-
],
151-
"ignoreUnstable": false
156+
"ignoreUnstable": false,
157+
"matchPackageNames": [
158+
"/^com.google.cloud:google-cloud-/"
159+
]
152160
},
153161
{
154-
"matchPackagePatterns": [
155-
"^com.fasterxml.jackson.core"
156-
],
157-
"groupName": "jackson dependencies"
162+
"groupName": "jackson dependencies",
163+
"matchPackageNames": [
164+
"/^com.fasterxml.jackson.core/"
165+
]
158166
},
159167
{
160-
"matchPackagePatterns": [
161-
"^io.grpc"
162-
],
163-
"groupName": "gRPC dependencies"
168+
"groupName": "gRPC dependencies",
169+
"matchPackageNames": [
170+
"/^io.grpc/"
171+
]
164172
},
165173
{
166-
"matchPackagePatterns": [
167-
"^com.google.auth"
168-
],
169-
"groupName": "Google Auth Library dependencies"
174+
"groupName": "Google Auth Library dependencies",
175+
"matchPackageNames": [
176+
"/^com.google.auth/"
177+
]
170178
},
171179
{
172-
"matchPackagePatterns": [
173-
"com.google.api.grpc:grpc-google-common-protos",
174-
"com.google.api.grpc:grpc-google-iam-v1",
175-
"com.google.api.grpc:proto-google-common-protos",
176-
"com.google.api.grpc:proto-google-iam-v1",
177-
"com.google.api:api-common"
178-
],
179-
"groupName": "Google API dependencies"
180+
"groupName": "Google API dependencies",
181+
"matchPackageNames": [
182+
"/com.google.api.grpc:grpc-google-common-protos/",
183+
"/com.google.api.grpc:grpc-google-iam-v1/",
184+
"/com.google.api.grpc:proto-google-common-protos/",
185+
"/com.google.api.grpc:proto-google-iam-v1/",
186+
"/com.google.api:api-common/"
187+
]
180188
},
181189
{
182-
"matchPackagePatterns": [
183-
"^com.google.http-client"
184-
],
185-
"groupName": "Google HTTP Client dependencies"
190+
"groupName": "Google HTTP Client dependencies",
191+
"matchPackageNames": [
192+
"/^com.google.http-client/"
193+
]
186194
},
187195
{
188-
"matchPackagePatterns": [
189-
"^io.opencensus"
190-
],
191-
"groupName": "OpenCensus dependencies"
196+
"groupName": "OpenCensus dependencies",
197+
"matchPackageNames": [
198+
"/^io.opencensus/"
199+
]
192200
},
193201
{
194-
"matchPackagePatterns": [
195-
"^io.netty"
196-
],
197-
"groupName": "Netty dependencies"
202+
"groupName": "Netty dependencies",
203+
"matchPackageNames": [
204+
"/^io.netty/"
205+
]
198206
}
199207
]
200208
}

0 commit comments

Comments
 (0)