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