Use 'renovate' for aggregated dependency upgrades

This commit is contained in:
Aleksandar Vidakovic
2022-04-05 15:52:44 +02:00
committed by Aleksandar Vidakovic
parent f17ef1e9a9
commit 35c835f4b5
2 changed files with 16 additions and 12 deletions
-9
View File
@@ -3,15 +3,6 @@
version: 2 version: 2
updates: updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
timezone: "Europe/Zurich"
open-pull-requests-limit: 13
ignore:
- dependency-name: "org.eclipse.persistence:eclipselink"
- dependency-name: "org.eclipse.persistence:org.eclipse.persistence.jpa"
- package-ecosystem: "github-actions" - package-ecosystem: "github-actions"
directory: "/" directory: "/"
schedule: schedule:
+16 -3
View File
@@ -8,15 +8,28 @@
"labels": ["renovate"], "labels": ["renovate"],
"packageRules": [{ "packageRules": [{
"description": "Limit the aws sdk to monthly updates because otherwise it PRs every day", "description": "Limit the aws sdk to monthly updates because otherwise it PRs every day",
"packageNames": ["com.amazonaws:aws-java-sdk-s3"], "packageNames": ["com.amazonaws:*"],
"schedule": ["monthly"] "schedule": ["monthly"]
},
{
"matchPackageNames": ["org.eclipse.persistence:eclipselink"],
"allowedVersions": "<=2.7.10"
},
{
"matchPackageNames": ["org.eclipse.persistence:org.eclipse.persistence.jpa"],
"allowedVersions": "<=2.7.10"
},
{
"depTypeList": ["dependencies"],
"updateTypes": ["patch", "minor", "major"],
"groupName": "all"
}], }],
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": ["\\.gradle(\\.kts)?$"], "fileMatch": ["^build\\.gradle$"],
"matchStrings": ["[\\s\\n{](mavenBom)\\s*['\"](?<depName>[a-zA-Z][-_a-zA-Z0-9.]*?:[a-zA-Z][-_a-zA-Z0-9.]*?):(?<currentValue>[a-zA-Z0-9][-.a-zA-Z0-9]*?)['\"]"], "matchStrings": ["[\\s\\n{](mavenBom)\\s*['\"](?<depName>[a-zA-Z][-_a-zA-Z0-9.]*?:[a-zA-Z][-_a-zA-Z0-9.]*?):(?<currentValue>[a-zA-Z0-9][-.a-zA-Z0-9]*?)['\"]"],
"datasourceTemplate": "maven", "datasourceTemplate": "maven",
"versioningTemplate": "gradle" "versioningTemplate": "gradle"
} }
] ]
} }