-
Notifications
You must be signed in to change notification settings - Fork 67
chore(config): migrate Renovate config #4003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,14 +12,18 @@ | |
| "customManagers": [ | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": ["dependencies.txt"], | ||
| "matchStrings": ["(?<depName>.*),(.*)=(?<currentValue>.*)"], | ||
| "managerFilePatterns": [ | ||
| "/dependencies.txt/" | ||
| ], | ||
| "matchStrings": [ | ||
| "(?<depName>.*),(.*)=(?<currentValue>.*)" | ||
| ], | ||
| "datasourceTemplate": "maven" | ||
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": [ | ||
| "^gax-java/dependencies\\.properties$" | ||
| "managerFilePatterns": [ | ||
| "/^gax-java/dependencies\\.properties$/" | ||
| ], | ||
| "matchStrings": [ | ||
| "=(?<depName>.+\\:.+?):(?<currentValue>.+?)\\n" | ||
|
|
@@ -28,8 +32,8 @@ | |
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": [ | ||
| "^gax-java/dependencies\\.properties$" | ||
| "managerFilePatterns": [ | ||
| "/^gax-java/dependencies\\.properties$/" | ||
| ], | ||
| "matchStrings": [ | ||
| "version\\.google_java_format=(?<currentValue>.+?)\\n" | ||
|
|
@@ -39,9 +43,9 @@ | |
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": [ | ||
| "^gax-java/dependencies\\.properties$", | ||
| "^\\.cloudbuild/library_generation/library_generation.*\\.Dockerfile$" | ||
| "managerFilePatterns": [ | ||
| "/^gax-java/dependencies\\.properties$/", | ||
| "/^\\.cloudbuild/library_generation/library_generation.*\\.Dockerfile$/" | ||
| ], | ||
| "matchStrings": [ | ||
| "version\\.io_grpc=(?<currentValue>.+?)\\n", | ||
|
|
@@ -52,8 +56,8 @@ | |
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": [ | ||
| "^.kokoro/presubmit/graalvm-native.*.cfg$" | ||
| "managerFilePatterns": [ | ||
| "/^.kokoro/presubmit/graalvm-native.*.cfg$/" | ||
| ], | ||
| "matchStrings": [ | ||
| "value: \"gcr.io/cloud-devrel-kokoro-resources/graalvm:(?<currentValue>.*?)\"", | ||
|
|
@@ -64,8 +68,8 @@ | |
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": [ | ||
| "^.cloudbuild/*" | ||
| "managerFilePatterns": [ | ||
| "/^.cloudbuild/*/" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| ], | ||
| "matchStrings": [ | ||
| " _JAVA_SHARED_CONFIG_VERSION: '(?<currentValue>.+?)'" | ||
|
|
@@ -75,8 +79,8 @@ | |
| }, | ||
| { | ||
| "customType": "regex", | ||
| "fileMatch": [ | ||
| "^.cloudbuild/library_generation/library_generation.*\\.Dockerfile$" | ||
| "managerFilePatterns": [ | ||
| "/^.cloudbuild/library_generation/library_generation.*\\.Dockerfile$/" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The dot "/^\.cloudbuild/library_generation/library_generation.*\.Dockerfile$/" |
||
| ], | ||
| "matchStrings": [ | ||
| "OWLBOT_CLI_COMMITTISH=(?<currentDigest>.*?)\\n" | ||
|
|
@@ -219,11 +223,15 @@ | |
| }, | ||
| { | ||
| "matchManagers": [ | ||
| "regex" | ||
| "custom.regex" | ||
| ], | ||
| "semanticCommitType": "chore", | ||
| "matchFileNames": ["dependencies.txt"], | ||
| "matchDatasources": ["maven"], | ||
| "matchFileNames": [ | ||
| "dependencies.txt" | ||
| ], | ||
| "matchDatasources": [ | ||
| "maven" | ||
| ], | ||
| "groupName": "Upper Bound Dependencies File", | ||
| "description": "Group all dependencies from the Upper Bound Dependencies File" | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dots
.in the file path.kokoroand file extension.cfgare special characters in regular expressions that match any character. To match literal dots, they should be escaped with a backslash (\.). This ensures the pattern only matches files in the.kokorodirectory with a.cfgextension.