Skip to content

Commit

Permalink
chore: Fixing renovate config (#2093)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddixit14 authored Oct 11, 2023
1 parent 528b79b commit 055ac83
Showing 1 changed file with 70 additions and 34 deletions.
104 changes: 70 additions & 34 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -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": ["=(?<depName>.+\\:.+?):(?<currentValue>.+?)\\n"],
"customType": "regex",
"fileMatch": [
"^gax-java/dependencies\\.properties$"
],
"matchStrings": [
"=(?<depName>.+\\:.+?):(?<currentValue>.+?)\\n"
],
"datasourceTemplate": "maven"
},
{
"fileMatch": ["^gax-java/dependencies\\.properties$"],
"matchStrings": ["version\\.com_google_protobuf=(?<currentValue>.+?)\\n"],
"customType": "regex",
"fileMatch": [
"^gax-java/dependencies\\.properties$"
],
"matchStrings": [
"version\\.com_google_protobuf=(?<currentValue>.+?)\\n"
],
"depNameTemplate": "com.google.protobuf:protobuf-java",
"datasourceTemplate": "maven"
},
{
"fileMatch": ["^gax-java/dependencies\\.properties$"],
"matchStrings": ["version\\.google_java_format=(?<currentValue>.+?)\\n"],
"customType": "regex",
"fileMatch": [
"^gax-java/dependencies\\.properties$"
],
"matchStrings": [
"version\\.google_java_format=(?<currentValue>.+?)\\n"
],
"depNameTemplate": "com.google.googlejavaformat:google-java-format",
"datasourceTemplate": "maven"
},
{
"fileMatch": ["^gax-java/dependencies\\.properties$"],
"matchStrings": ["version\\.io_grpc=(?<currentValue>.+?)\\n"],
"customType": "regex",
"fileMatch": [
"^gax-java/dependencies\\.properties$"
],
"matchStrings": [
"version\\.io_grpc=(?<currentValue>.+?)\\n"
],
"depNameTemplate": "io.grpc:grpc-core",
"datasourceTemplate": "maven"
},
{
"fileMatch": ["^\\.kokoro/presubmit/.*\\.sh"],
"matchStrings": ["SHOWCASE_VERSION=(?<currentValue>.+?)\\n"],
"customType": "regex",
"fileMatch": [
"^\\.kokoro/presubmit/.*\\.sh"
],
"matchStrings": [
"SHOWCASE_VERSION=(?<currentValue>.+?)\\n"
],
"datasourceTemplate": "go"
},
{
"fileMatch": ["^showcase/gapic-showcase/pom\\.xml$"],
"matchStrings": ["<gapic-showcase.version>(?<currentValue>.+?)</gapic-showcase.version>\\n"],
"customType": "regex",
"fileMatch": [
"^showcase/gapic-showcase/pom\\.xml$"
],
"matchStrings": [
"<gapic-showcase.version>(?<currentValue>.+?)</gapic-showcase.version>\\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:",
Expand All @@ -71,7 +107,7 @@
"semanticCommitScope": "deps"
},
{
"packagePatterns": [
"matchPackagePatterns": [
"^{{metadata['repo']['distribution_name']}}",
"^com.google.cloud:libraries-bom",
"^com.google.cloud.samples:shared-configuration"
Expand All @@ -80,7 +116,7 @@
"semanticCommitScope": "deps"
},
{
"packagePatterns": [
"matchPackagePatterns": [
"^junit:junit",
"^com.google.truth:truth",
"^org.mockito:mockito-core",
Expand All @@ -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"
}
]
}
}

0 comments on commit 055ac83

Please sign in to comment.