chore(renovate): use configuration preset
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2025-03-30 22:43:07 +02:00
parent 6136c9f47d
commit d53410775f
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 7 additions and 42 deletions

View File

@ -1,6 +1,6 @@
# POSTFIXADMIN_VERSION
# Only required to install a specifiy version
POSTFIXADMIN_VERSION?=3.3.15
# Only required to install a specify version
POSTFIXADMIN_VERSION?=3.3.15 # renovate: datasource=github-tags depName=postfixadmin/postfixadmin extractVersion='postfixadmin-(?<version>\\d+\\.\\d+\\.\\d+)$'
# PODMAN_BIN's and tools
PODMAN_BIN?=$(shell which podman)

View File

@ -1,44 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ],
"labels": [ "renovate" ],
"packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"description": "Automatically update patch version of used container images in docker files",
"addLabels": [ "renovate/container-image", "renovate/automerge" ],
"automerge": true,
"matchManagers": [ "dockerfile" ],
"matchUpdateTypes": [ "patch" ]
},
{
"description": "Trim leading postfixadmin- from git tag",
"addLabels": [ "renovate/postfixadmin" ],
"automerge": false,
"extractVersion": "^postfixadmin-(?<version>\\d+\\.\\d+\\.\\d+)$",
"matchPackageNames": [ "postfixadmin/postfixadmin" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update postfixadmin git tag",
"fileMatch": [
"^Makefile$"
],
"matchStrings": [
"POSTFIXADMIN_VERSION\\?=(?<currentValue>.*?)\n"
],
"datasourceTemplate": "github-tags",
"depNameTemplate": "postfixadmin/postfixadmin",
"versioningTemplate": "regex:^(postfixadmin-)?(v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(\\s*)?$"
}
"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:regexp#master"
]
}