From 28015aff9eb9d400093c2caed85485238b26342f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 25 Aug 2025 19:06:20 +0200 Subject: [PATCH] fix(renovate): use presets --- renovate.json | 77 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 55 insertions(+), 22 deletions(-) diff --git a/renovate.json b/renovate.json index f1c9479..03958c2 100644 --- a/renovate.json +++ b/renovate.json @@ -1,26 +1,14 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "assignees": [ "volker.raschek" ], - "labels": [ "renovate" ], - "packageRules": [ - { - "addLabels": [ "renovate/postfixadmin", "renovate/automerge" ], - "automerge": true, - "matchManagers": "droneci", - "matchUpdateTypes": [ "minor", "patch"] - }, - { - "addLabels": [ "renovate/postfixadmin", "renovate/automerge" ], - "automerge": false, - "matchPackageNames": [ "postfixadmin" ], - "matchManagers": [ "regex" ] - } + "": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "local>volker.raschek/renovate-config:default#master", + "local>volker.raschek/renovate-config:container#master", + "local>volker.raschek/renovate-config:actions#master", + "local>volker.raschek/renovate-config:npm#master", + "local>volker.raschek/renovate-config:regexp#master" ], - "rebaseLabel": "renovate/rebase", - "rebaseWhen": "behind-base-branch", - "regexManagers": [ + "customManagers": [ { - "description": "Update container image reference", "fileMatch": [ "^Chart\\.yaml$" ], @@ -28,8 +16,53 @@ "appVersion: \"(?.*?)\"\\s+" ], "datasourceTemplate": "docker", - "depNameTemplate": "postfixadmin", - "lookupNameTemplate": "docker.io/volkerraschek/postfixadmin" + "depNameTemplate": "volker.raschek/postfixadmin", + "lookupNameTemplate": "git.cryptic.systems/volker.raschek/postfixadmin", + "versioningTemplate": "semver" + }, + { + "fileMatch": ["^README\\.md$"], + "matchStrings": [ + "CHART_VERSION=(?.*)" + ], + "depNameTemplate": "volker.raschek/postfixadmin-charts", + "packageNameTemplate": "https://git.cryptic.systems/volker.raschek/postfixadmin-charts", + "datasourceTemplate": "git-tags", + "versioningTemplate": "semver" + } + ], + "packageRules": [ + { + "addLabels": [ + "renovate/automerge", + "renovate/container" + ], + "automerge": true, + "excludePackagePatterns": [ + "volker.raschek/postfixadmin" + ], + "matchDatasources": [ + "docker" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ] + }, + { + "addLabels": [ + "renovate/automerge", + "renovate/documentation" + ], + "automerge": true, + "matchDepNames": [ + "volker.raschek/postfixadmin-charts" + ], + "matchUpdateTypes": [ + "major", + "minor", + "patch" + ] } ] }