From 9c56022a0b34c63287c651630a78db2715323521 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Aug 2023 15:33:15 -0700 Subject: [PATCH] Configure Renovate (#9095) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Trask Stalnaker --- .github/renovate.json5 | 80 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 .github/renovate.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000000..3f0bffd29d --- /dev/null +++ b/.github/renovate.json5 @@ -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 + } + ] +}