|
7 | 7 | ignorePaths: [ |
8 | 8 | 'instrumentation/**', |
9 | 9 | ], |
10 | | - // needed in order to get patch-only updates in package rules below |
11 | | - // unfortunately you can't combine updateTypes and separateMinorPatch in the same package rule |
12 | | - // so we have to apply it globally here, see |
13 | | - // https://github.com/renovatebot/renovate/discussions/8399#discussioncomment-305798 |
14 | 10 | separateMinorPatch: true, |
15 | 11 | packageRules: [ |
16 | 12 | { |
17 | | - // this is to reduce the number of renovate PRs |
18 | 13 | matchManagers: [ |
19 | 14 | 'github-actions', |
20 | 15 | 'dockerfile', |
|
23 | 18 | 'schedule:weekly', |
24 | 19 | ], |
25 | 20 | groupName: 'weekly update', |
26 | | - separateMinorPatch: false, // overrides separateMinorPatch specified above |
| 21 | + separateMinorPatch: false, |
27 | 22 | }, |
28 | 23 | { |
29 | 24 | matchPackageNames: [ |
|
36 | 31 | 'io.opentelemetry.proto:opentelemetry-proto', |
37 | 32 | 'io.opentelemetry.semconv:opentelemetry-semconv', |
38 | 33 | ], |
39 | | - // Renovate's default behavior is only to update from unstable -> unstable if it's for the |
40 | | - // major.minor.patch, under the assumption that you would want to update to the stable version |
41 | | - // of that release instead of the unstable version for a future release |
42 | | - // (TODO remove once the artifacts above release stable versions) |
43 | 34 | ignoreUnstable: false, |
44 | 35 | allowedVersions: '!/\\-SNAPSHOT$/', |
45 | 36 | }, |
|
92 | 83 | ], |
93 | 84 | }, |
94 | 85 | { |
95 | | - // prevent update to 2.4-groovy-4.0-SNAPSHOT |
96 | 86 | allowedVersions: '!/\\-SNAPSHOT$/', |
97 | 87 | matchPackageNames: [ |
98 | 88 | 'org.spockframework:{/,}**', |
99 | 89 | ], |
100 | 90 | }, |
101 | 91 | { |
102 | | - // prevent 3.0.1u2 -> 3.0.1 |
103 | 92 | matchPackageNames: [ |
104 | 93 | 'com.google.code.findbugs:annotations', |
105 | 94 | ], |
106 | 95 | allowedVersions: '!/3\\.0\\.1$/', |
107 | 96 | }, |
108 | 97 | { |
109 | | - // OpenTelemetry SDK updates are handled by auto-update-otel-sdk.yml |
110 | 98 | enabled: false, |
111 | 99 | matchPackageNames: [ |
112 | 100 | 'io.opentelemetry:{/,}**', |
113 | 101 | ], |
114 | 102 | }, |
115 | 103 | { |
116 | | - // junit-pioneer 2+ requires Java 11+ |
117 | 104 | matchPackageNames: [ |
118 | 105 | 'org.junit-pioneer:junit-pioneer', |
119 | 106 | ], |
|
123 | 110 | enabled: false, |
124 | 111 | }, |
125 | 112 | { |
126 | | - // mockito 5+ requires Java 11+ |
127 | 113 | matchUpdateTypes: [ |
128 | 114 | 'major', |
129 | 115 | ], |
|
133 | 119 | ], |
134 | 120 | }, |
135 | 121 | { |
136 | | - // system-stubs-jupiter 2.1+ requires Java 11+ |
137 | 122 | matchPackageNames: [ |
138 | 123 | 'uk.org.webcompere:system-stubs-jupiter', |
139 | 124 | ], |
|
144 | 129 | enabled: false, |
145 | 130 | }, |
146 | 131 | { |
147 | | - // intentionally using Spring Boot 2 in this smoke tests |
148 | | - // new versions of Spring Boot 3 are tested with |
149 | | - // https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/dc4330e0a3060bd7d8c4090ad0b8fc4727e68113/settings.gradle.kts#L43-L45 |
150 | 132 | matchFileNames: [ |
151 | 133 | 'smoke-tests/images/spring-boot/build.gradle.kts', |
152 | 134 | 'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts', |
|
157 | 139 | ], |
158 | 140 | matchPackageNames: [ |
159 | 141 | 'org.slf4j:slf4j-api', |
160 | | - 'org.springframework.boot:org.springframework.boot.gradle.plugin', // this is for plugin id "org.springframework.boot" |
| 142 | + 'org.springframework.boot:org.springframework.boot.gradle.plugin', |
161 | 143 | 'org.springframework.boot:spring-boot-dependencies', |
162 | 144 | ], |
163 | 145 | matchUpdateTypes: [ |
|
167 | 149 | enabled: false, |
168 | 150 | }, |
169 | 151 | { |
170 | | - // intentionally using Spring Boot 2 in this smoke tests |
171 | 152 | matchFileNames: [ |
172 | 153 | 'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts', |
173 | 154 | 'smoke-tests-otel-starter/spring-boot-reactive-2/build.gradle.kts', |
|
181 | 162 | enabled: false, |
182 | 163 | }, |
183 | 164 | { |
184 | | - // intentionally using logback 1.2 in this smoke tests |
185 | 165 | matchFileNames: [ |
186 | 166 | 'smoke-tests/images/spring-boot/build.gradle.kts', |
187 | 167 | ], |
|
195 | 175 | ], |
196 | 176 | }, |
197 | 177 | { |
198 | | - // intentionally using slf4j 1 in this smoke tests |
199 | 178 | matchFileNames: [ |
200 | 179 | 'smoke-tests/images/spring-boot/build.gradle.kts', |
201 | 180 | ], |
|
208 | 187 | ], |
209 | 188 | }, |
210 | 189 | { |
211 | | - // intentionally pinning specifically to guice 5 in the play smoke test |
212 | | - // until we are able to test against the latest version of play |
213 | 190 | matchFileNames: [ |
214 | 191 | 'smoke-tests/images/play/build.gradle.kts', |
215 | 192 | ], |
|
223 | 200 | ], |
224 | 201 | }, |
225 | 202 | { |
226 | | - // intentionally aligning both netty 4.0 and 4.1 version in this convention |
227 | 203 | matchFileNames: [ |
228 | 204 | 'conventions/src/main/kotlin/otel.java-conventions.gradle.kts', |
229 | 205 | ], |
|
237 | 213 | enabled: false, |
238 | 214 | }, |
239 | 215 | { |
240 | | - // intentionally using scala 2.11 in otel.scala-conventions.gradle.kts |
241 | 216 | matchFileNames: [ |
242 | 217 | 'conventions/src/main/kotlin/otel.scala-conventions.gradle.kts', |
243 | 218 | ], |
|
251 | 226 | enabled: false, |
252 | 227 | }, |
253 | 228 | { |
254 | | - // intentionally using Java 11 in some examples |
255 | 229 | matchPackageNames: [ |
256 | 230 | 'eclipse-temurin', |
257 | 231 | ], |
|
261 | 235 | enabled: false, |
262 | 236 | }, |
263 | 237 | { |
264 | | - // using old version of this obscure artifact to test instrumentation of Java 1.1 bytecode |
265 | 238 | matchPackageNames: [ |
266 | 239 | 'net.sf.jt400:jt400', |
267 | 240 | ], |
268 | 241 | matchCurrentVersion: '6.1', |
269 | 242 | enabled: false, |
270 | 243 | }, |
271 | 244 | { |
272 | | - // pinned version for compatibility |
273 | 245 | matchPackageNames: [ |
274 | 246 | 'javax.servlet:javax.servlet-api', |
275 | 247 | ], |
276 | 248 | matchCurrentVersion: '3.0.1', |
277 | 249 | enabled: false, |
278 | 250 | }, |
279 | 251 | { |
280 | | - // pinned version for compatibility |
281 | 252 | matchPackageNames: [ |
282 | 253 | 'jakarta.servlet:jakarta.servlet-api', |
283 | 254 | ], |
284 | 255 | matchCurrentVersion: '5.0.0', |
285 | 256 | enabled: false, |
286 | 257 | }, |
287 | 258 | { |
288 | | - // intentionally using logback 1.3 in dependency management (for Java 8 support) |
289 | 259 | matchFileNames: [ |
290 | 260 | 'dependencyManagement/build.gradle.kts', |
291 | 261 | ], |
|
299 | 269 | ], |
300 | 270 | }, |
301 | 271 | { |
302 | | - // intentionally using Spring Boot 2 in dependency management (for Java 8 support) |
303 | 272 | matchFileNames: [ |
304 | 273 | 'dependencyManagement/build.gradle.kts', |
305 | 274 | ], |
|
312 | 281 | ], |
313 | 282 | }, |
314 | 283 | { |
315 | | - // pinned version to Jetty 8 (Servlet 3.0) for compatibility |
316 | 284 | matchFileNames: [ |
317 | 285 | 'examples/distro/instrumentation/servlet-3/build.gradle', |
318 | 286 | ], |
|
329 | 297 | { |
330 | 298 | customType: 'regex', |
331 | 299 | datasourceTemplate: 'pypi', |
332 | | - fileMatch: [ |
333 | | - '^.github/workflows/', |
| 300 | + managerFilePatterns: [ |
| 301 | + '/^.github/workflows//', |
334 | 302 | ], |
335 | 303 | matchStrings: [ |
336 | 304 | 'pip install (?<depName>[^=]+)==(?<currentValue>[^\\s]+)', |
|
339 | 307 | { |
340 | 308 | customType: 'regex', |
341 | 309 | datasourceTemplate: 'npm', |
342 | | - fileMatch: [ |
343 | | - '^.github/workflows/', |
| 310 | + managerFilePatterns: [ |
| 311 | + '/^.github/workflows//', |
344 | 312 | ], |
345 | 313 | matchStrings: [ |
346 | 314 | 'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)', |
|
0 commit comments