Configure Renovate (#9095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
This commit is contained in:
parent
fbae980fc5
commit
9c56022a0b
|
@ -0,0 +1,80 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:base"
|
||||||
|
],
|
||||||
|
"ignorePaths": ["instrumentation/**"],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchPackagePrefixes": ["ch.qos.logback:"],
|
||||||
|
"groupName": "logback packages"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackagePrefixes": ["com.gradle.enterprise"],
|
||||||
|
"groupName": "gradle enterprise packages"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackagePrefixes": ["org.eclipse.jetty:"],
|
||||||
|
"groupName": "jetty packages"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// junit-pioneer 2+ requires Java 11+
|
||||||
|
"matchPackageNames": ["org.junit-pioneer:junit-pioneer"],
|
||||||
|
"matchUpdateTypes": ["major"],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// mockito 5+ requires Java 11+
|
||||||
|
"matchPackagePrefixes": ["org.mockito:"],
|
||||||
|
"matchUpdateTypes": ["major"],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// intentionally using Spring Boot 2 in this smoke tests
|
||||||
|
"matchFileNames": ["smoke-tests/images/spring-boot/build.gradle.kts"],
|
||||||
|
"matchPackageNames": ["org.springframework.boot"],
|
||||||
|
"matchUpdateTypes": ["major"],
|
||||||
|
"enabled": false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// intentionally using logback 1.2 in this smoke tests
|
||||||
|
"matchFileNames": ["smoke-tests/images/spring-boot/build.gradle.kts"],
|
||||||
|
"matchPackagePrefixes": ["ch.qos.logback:"],
|
||||||
|
"matchUpdateTypes": ["major", "minor"],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// intentionally using slf4j 1 in this smoke tests
|
||||||
|
"matchFileNames": ["smoke-tests/images/spring-boot/build.gradle.kts"],
|
||||||
|
"matchPackagePrefixes": ["org.slf4j:"],
|
||||||
|
"matchUpdateTypes": ["major"],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// intentionally aligning both netty 4.0 and 4.1 version in this convention
|
||||||
|
"matchFileNames": ["conventions/src/main/kotlin/otel.java-conventions.gradle.kts"],
|
||||||
|
"matchPackageNames": ["io.netty:netty-bom"],
|
||||||
|
"matchUpdateTypes": ["major", "minor"],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// intentionally using scala 2.11 in otel.scala-conventions.gradle.kts
|
||||||
|
"matchFileNames": ["conventions/src/main/kotlin/otel.scala-conventions.gradle.kts"],
|
||||||
|
"matchPackagePrefixes": ["org.scala-lang:scala-library"],
|
||||||
|
"matchUpdateTypes": ["major", "minor"],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// intentionally using Java 11 in some examples
|
||||||
|
// not using matchUpdateTypes "major", because renovate wants to bump "11-jre" to "11.0.19_7-jre"
|
||||||
|
"matchPackageNames": ["eclipse-temurin"],
|
||||||
|
"enabled": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
// using old version of this obscure artifact to test instrumentation of Java 1.1 bytecode
|
||||||
|
"matchPackageNames": ["net.sf.jt400:jt400"],
|
||||||
|
"matchCurrentVersion": "6.1",
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue