From 055ac8310dfb2cdbfb89ebaabc67bbf24672011b Mon Sep 17 00:00:00 2001 From: Deepankar Dixit <90280028+ddixit14@users.noreply.github.com> Date: Wed, 11 Oct 2023 20:45:16 +0000 Subject: [PATCH] chore: Fixing renovate config (#2093) --- renovate.json | 104 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 70 insertions(+), 34 deletions(-) diff --git a/renovate.json b/renovate.json index c42ea6051b..5c7fcd3a76 100644 --- a/renovate.json +++ b/renovate.json @@ -1,65 +1,101 @@ { "extends": [ - "config:base" + "config:recommended" ], "dependencyDashboard": true, - "ignoreDeps": ["rules_pkg"], - "regexManagers": [ + "ignoreDeps": [ + "rules_pkg" + ], + "customManagers": [ { - "fileMatch": ["^gax-java/dependencies\\.properties$"], - "matchStrings": ["=(?.+\\:.+?):(?.+?)\\n"], + "customType": "regex", + "fileMatch": [ + "^gax-java/dependencies\\.properties$" + ], + "matchStrings": [ + "=(?.+\\:.+?):(?.+?)\\n" + ], "datasourceTemplate": "maven" }, { - "fileMatch": ["^gax-java/dependencies\\.properties$"], - "matchStrings": ["version\\.com_google_protobuf=(?.+?)\\n"], + "customType": "regex", + "fileMatch": [ + "^gax-java/dependencies\\.properties$" + ], + "matchStrings": [ + "version\\.com_google_protobuf=(?.+?)\\n" + ], "depNameTemplate": "com.google.protobuf:protobuf-java", "datasourceTemplate": "maven" }, { - "fileMatch": ["^gax-java/dependencies\\.properties$"], - "matchStrings": ["version\\.google_java_format=(?.+?)\\n"], + "customType": "regex", + "fileMatch": [ + "^gax-java/dependencies\\.properties$" + ], + "matchStrings": [ + "version\\.google_java_format=(?.+?)\\n" + ], "depNameTemplate": "com.google.googlejavaformat:google-java-format", "datasourceTemplate": "maven" }, { - "fileMatch": ["^gax-java/dependencies\\.properties$"], - "matchStrings": ["version\\.io_grpc=(?.+?)\\n"], + "customType": "regex", + "fileMatch": [ + "^gax-java/dependencies\\.properties$" + ], + "matchStrings": [ + "version\\.io_grpc=(?.+?)\\n" + ], "depNameTemplate": "io.grpc:grpc-core", "datasourceTemplate": "maven" }, { - "fileMatch": ["^\\.kokoro/presubmit/.*\\.sh"], - "matchStrings": ["SHOWCASE_VERSION=(?.+?)\\n"], + "customType": "regex", + "fileMatch": [ + "^\\.kokoro/presubmit/.*\\.sh" + ], + "matchStrings": [ + "SHOWCASE_VERSION=(?.+?)\\n" + ], "datasourceTemplate": "go" }, { - "fileMatch": ["^showcase/gapic-showcase/pom\\.xml$"], - "matchStrings": ["(?.+?)\\n"], + "customType": "regex", + "fileMatch": [ + "^showcase/gapic-showcase/pom\\.xml$" + ], + "matchStrings": [ + "(?.+?)\\n" + ], "datasourceTemplate": "go" } ], "packageRules": [ - { - "matchUpdateTypes": ["major"], - "matchPackagePatterns": ["*"], + { + "matchUpdateTypes": [ + "major" + ], + "matchPackagePatterns": [ + "*" + ], "enabled": false }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^com.google.guava:" ], - "versionScheme": "docker" + "versioning": "docker" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "*" ], "semanticCommitType": "deps", "semanticCommitScope": null }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^org.apache.maven", "^org.jacoco:", "^org.codehaus.mojo:", @@ -71,7 +107,7 @@ "semanticCommitScope": "deps" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^{{metadata['repo']['distribution_name']}}", "^com.google.cloud:libraries-bom", "^com.google.cloud.samples:shared-configuration" @@ -80,7 +116,7 @@ "semanticCommitScope": "deps" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^junit:junit", "^com.google.truth:truth", "^org.mockito:mockito-core", @@ -91,58 +127,58 @@ "semanticCommitScope": "deps" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^com.google.cloud:google-cloud-" ], "ignoreUnstable": false }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^com.fasterxml.jackson.core" ], "groupName": "jackson dependencies" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^com.google.protobuf" ], "groupName": "Protobuf dependencies" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^io.grpc" ], "groupName": "gRPC dependencies" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^com.google.auth" ], "groupName": "Google Auth Library dependencies" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^com.google.api" ], "groupName": "Google API dependencies" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^com.google.http-client" ], "groupName": "Google HTTP Client dependencies" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^io.opencensus" ], "groupName": "OpenCensus dependencies" }, { - "packagePatterns": [ + "matchPackagePatterns": [ "^io.netty" ], "groupName": "Netty dependencies" } ] -} +} \ No newline at end of file