-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: renovate otel grouping and pip-compile fixes (#2138)
* feat: use a json5 file for renovate to allow comments * Group python OTel deps, update language labels. language label update was taken from renovate's own config migration. * add k8s ignore paths from original config Co-authored-by: Nim Jayawardena <nimjay@google.com> * add nodejs and dotnet tagging, per nim's comment --------- Co-authored-by: Nim Jayawardena <nimjay@google.com>
- Loading branch information
Showing
2 changed files
with
70 additions
and
71 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"extends": [ | ||
"config:recommended" | ||
], | ||
"pip-compile": { | ||
"enabled": true, | ||
"fileMatch": ["(^|/)requirements\\.in$"] | ||
}, | ||
// pip-compile handles requirements.txt updates. | ||
"pip_requirements": { | ||
"enabled": false | ||
}, | ||
"constraints": { | ||
"python": "~=3.11.0" | ||
}, | ||
"prConcurrentLimit":10, | ||
"stabilityDays":7, | ||
"vulnerabilityAlerts":{ | ||
"labels":[ | ||
"type:security" | ||
], | ||
"stabilityDays":0 | ||
}, | ||
"labels": ["dependencies"], | ||
"kubernetes": { | ||
"fileMatch": ["\\.yaml$"], | ||
"ignorePaths": [ | ||
"release/**", | ||
"kustomize/base/**" | ||
] | ||
}, | ||
// Dependency Dashboard should be excluded from SLO calculation. | ||
"dependencyDashboardLabels": [ | ||
"type: process", | ||
], | ||
"packageRules": [ | ||
// Label PRs based on the languages they contain | ||
// category ids are listed at https://docs.renovatebot.com/modules/manager/ | ||
{"matchCategories": ["python"], "addLabels": ["lang: python"]}, | ||
{"matchCategories": ["java"], "addLabels": ["lang: java"]}, | ||
{"matchCategories": ["golang"], "addLabels": ["lang: go"]}, | ||
{"matchCategories": ["js"], "addLabels": ["lang: nodejs"]}, | ||
{"matchCategories": ["dotnet"], "addLabels": ["lang: dotnet"]}, | ||
{"matchCategories": ["docker"], "pinDigests": true}, | ||
{ | ||
"matchUpdateTypes": ["minor", "patch", "digest"], | ||
"automerge": true | ||
}, | ||
{ | ||
"matchDepTypes": ["devDependencies"], | ||
"automerge": true | ||
}, | ||
// OpenTelemetry has tight version coupling. | ||
// For go, js, and dotnet, there are 'monorepo:opentelemetry-$LANG' presets already included. | ||
{ | ||
"description": "python otel instrumentation libraries are currently pre-release", | ||
"groupName": "opentelemetry", | ||
"matchPackagePrefixes": ["opentelemetry-instrumentation"], | ||
"ignoreUnstable": false, | ||
"matchDatasources": ["pypi"] | ||
}, | ||
{ | ||
"description": "group all OTel deps, as they have tight version coupling", | ||
"groupName": "opentelemetry", | ||
"matchPackagePrefixes": ["opentelemetry-"], | ||
"matchDatasources": ["pypi"] | ||
} | ||
], | ||
"platformAutomerge":true | ||
} |