|
5 | 5 | 'helpers:pinGitHubActionDigestsToSemver', |
6 | 6 | ], |
7 | 7 | ignorePresets: [ |
8 | | - ':ignoreModulesAndTests', |
9 | | - 'workarounds:javaLTSVersions', |
| 8 | + ':ignoreModulesAndTests', // needed to keep maven-extension test pom files up-to-date |
| 9 | + 'workarounds:javaLTSVersions', // Allow all Java major versions, not just LTS |
10 | 10 | ], |
11 | | - prHourlyLimit: 5, |
| 11 | + prHourlyLimit: 5, // we have a large number of parallel runners |
12 | 12 | labels: [ |
13 | 13 | 'dependencies', |
14 | 14 | ], |
15 | 15 | packageRules: [ |
16 | 16 | { |
| 17 | + // reduces the number of Renovate PRs |
| 18 | + // (patch updates are typically non-breaking) |
17 | 19 | groupName: 'all patch versions', |
18 | 20 | matchUpdateTypes: [ |
19 | 21 | 'patch', |
|
23 | 25 | ], |
24 | 26 | }, |
25 | 27 | { |
| 28 | + // avoids these Renovate PRs from trickling in throughout the week |
| 29 | + // (consolidating the review process) |
26 | 30 | matchUpdateTypes: [ |
27 | 31 | 'minor', |
28 | 32 | 'major', |
|
42 | 46 | 'io.opentelemetry.semconv:**', |
43 | 47 | 'io.opentelemetry.proto:**', |
44 | 48 | ], |
| 49 | + // Renovate's default behavior is only to update from unstable -> unstable if it's for the |
| 50 | + // major.minor.patch, under the assumption that you would want to update to the stable version |
| 51 | + // of that release instead of the unstable version for a future release |
45 | 52 | ignoreUnstable: false, |
46 | 53 | }, |
47 | 54 | { |
| 55 | + // prevent 3.0.1u2 -> 3.0.1 |
48 | 56 | matchPackageNames: [ |
49 | 57 | 'com.google.code.findbugs:annotations', |
50 | 58 | ], |
51 | 59 | allowedVersions: '!/^3\\.0\\.1$/', |
52 | 60 | }, |
53 | 61 | { |
| 62 | + // disruptor 4+ requires Java 11+ |
54 | 63 | matchPackageNames: [ |
55 | 64 | 'com.lmax:disruptor', |
56 | 65 | ], |
|
60 | 69 | enabled: false, |
61 | 70 | }, |
62 | 71 | { |
| 72 | + // junit-pioneer 2+ requires Java 11+ |
63 | 73 | matchPackageNames: [ |
64 | 74 | 'org.junit-pioneer:junit-pioneer', |
65 | 75 | ], |
|
69 | 79 | enabled: false, |
70 | 80 | }, |
71 | 81 | { |
| 82 | + // mockito 5+ requires Java 11+ |
72 | 83 | matchUpdateTypes: [ |
73 | 84 | 'major', |
74 | 85 | ], |
|
78 | 89 | ], |
79 | 90 | }, |
80 | 91 | { |
| 92 | + // agrona 1.23+ requires Java 17+ |
81 | 93 | matchPackageNames: [ |
82 | 94 | 'org.agrona:agrona', |
83 | 95 | ], |
|
88 | 100 | enabled: false, |
89 | 101 | }, |
90 | 102 | { |
| 103 | + // system-stubs-jupiter 2.1+ requires Java 11+ |
91 | 104 | matchPackageNames: [ |
92 | 105 | 'uk.org.webcompere:system-stubs-jupiter', |
93 | 106 | ], |
|
98 | 111 | enabled: false, |
99 | 112 | }, |
100 | 113 | { |
| 114 | + // pinned version for compatibility |
101 | 115 | matchPackageNames: [ |
102 | 116 | 'io.micrometer:micrometer-core', |
103 | 117 | ], |
104 | 118 | matchCurrentVersion: '1.5.0', |
105 | 119 | enabled: false, |
106 | 120 | }, |
107 | 121 | { |
| 122 | + // pinned version for compatibility |
108 | 123 | matchCurrentVersion: '3.5.0', |
109 | 124 | enabled: false, |
110 | 125 | matchPackageNames: [ |
|
130 | 145 | ], |
131 | 146 | }, |
132 | 147 | { |
| 148 | + // pinned version for compatibility with java 8 JFR parsing |
133 | 149 | matchUpdateTypes: [ |
134 | 150 | 'major', |
135 | 151 | ], |
|
139 | 155 | ], |
140 | 156 | }, |
141 | 157 | { |
| 158 | + // pinned version for compatibility |
142 | 159 | matchFileNames: [ |
143 | 160 | 'jmx-scraper/test-webapp/build.gradle.kts', |
144 | 161 | ], |
|
149 | 166 | ], |
150 | 167 | }, |
151 | 168 | { |
| 169 | + // intentionally using Spring Boot 2 in gcp-auth-extension in order to test with Java 8+ |
152 | 170 | matchFileNames: [ |
153 | 171 | 'gcp-auth-extension/build.gradle.kts', |
154 | 172 | ], |
|
0 commit comments