|
5 | 5 | 'helpers:pinGitHubActionDigestsToSemver', |
6 | 6 | ], |
7 | 7 | ignorePresets: [ |
8 | | - ':ignoreModulesAndTests', |
| 8 | + ':ignoreModulesAndTests', // needed to keep maven-extension test pom files up-to-date |
9 | 9 | ], |
10 | 10 | prHourlyLimit: 5, |
11 | 11 | packageRules: [ |
12 | 12 | { |
| 13 | + // this is to reduce the number of renovate PRs |
13 | 14 | matchManagers: [ |
14 | 15 | 'github-actions', |
15 | 16 | 'dockerfile', |
|
26 | 27 | 'io.opentelemetry.semconv:**', |
27 | 28 | 'io.opentelemetry.proto:**', |
28 | 29 | ], |
| 30 | + // Renovate's default behavior is only to update from unstable -> unstable if it's for the |
| 31 | + // major.minor.patch, under the assumption that you would want to update to the stable version |
| 32 | + // of that release instead of the unstable version for a future release |
29 | 33 | ignoreUnstable: false, |
30 | 34 | }, |
31 | 35 | { |
| 36 | + // prevent 3.0.1u2 -> 3.0.1 |
32 | 37 | matchPackageNames: [ |
33 | 38 | 'com.google.code.findbugs:annotations', |
34 | 39 | ], |
35 | 40 | allowedVersions: '!/^3\\.0\\.1$/', |
36 | 41 | }, |
37 | 42 | { |
| 43 | + // disruptor 4+ requires Java 11+ |
38 | 44 | matchPackageNames: [ |
39 | 45 | 'com.lmax:disruptor', |
40 | 46 | ], |
|
44 | 50 | enabled: false, |
45 | 51 | }, |
46 | 52 | { |
| 53 | + // junit-pioneer 2+ requires Java 11+ |
47 | 54 | matchPackageNames: [ |
48 | 55 | 'org.junit-pioneer:junit-pioneer', |
49 | 56 | ], |
|
53 | 60 | enabled: false, |
54 | 61 | }, |
55 | 62 | { |
| 63 | + // mockito 5+ requires Java 11+ |
56 | 64 | matchUpdateTypes: [ |
57 | 65 | 'major', |
58 | 66 | ], |
|
62 | 70 | ], |
63 | 71 | }, |
64 | 72 | { |
| 73 | + // agrona 1.23+ requires Java 17+ |
65 | 74 | matchPackageNames: [ |
66 | 75 | 'org.agrona:agrona', |
67 | 76 | ], |
|
72 | 81 | enabled: false, |
73 | 82 | }, |
74 | 83 | { |
| 84 | + // system-stubs-jupiter 2.1+ requires Java 11+ |
75 | 85 | matchPackageNames: [ |
76 | 86 | 'uk.org.webcompere:system-stubs-jupiter', |
77 | 87 | ], |
|
82 | 92 | enabled: false, |
83 | 93 | }, |
84 | 94 | { |
| 95 | + // pinned version for compatibility |
85 | 96 | matchPackageNames: [ |
86 | 97 | 'io.micrometer:micrometer-core', |
87 | 98 | ], |
88 | 99 | matchCurrentVersion: '1.5.0', |
89 | 100 | enabled: false, |
90 | 101 | }, |
91 | 102 | { |
| 103 | + // pinned version for compatibility |
92 | 104 | matchCurrentVersion: '3.5.0', |
93 | 105 | enabled: false, |
94 | 106 | matchPackageNames: [ |
|
114 | 126 | ], |
115 | 127 | }, |
116 | 128 | { |
| 129 | + // pinned version for compatibility with java 8 JFR parsing |
117 | 130 | matchUpdateTypes: [ |
118 | 131 | 'major', |
119 | 132 | ], |
|
123 | 136 | ], |
124 | 137 | }, |
125 | 138 | { |
| 139 | + // pinned version for compatibility |
126 | 140 | matchFileNames: [ |
127 | 141 | 'jmx-scraper/test-webapp/build.gradle.kts', |
128 | 142 | ], |
|
133 | 147 | ], |
134 | 148 | }, |
135 | 149 | { |
| 150 | + // intentionally using Spring Boot 2 in gcp-auth-extension in order to test with Java 8+ |
136 | 151 | matchFileNames: [ |
137 | 152 | 'gcp-auth-extension/build.gradle.kts', |
138 | 153 | ], |
|
0 commit comments