fix: rename deprecated regexManagers and fix containerfiles (#5)

This commit is contained in:
Robert Kaussow 2023-11-15 09:15:36 +01:00 committed by GitHub
parent 6ce3906a21
commit 22d757f0f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 6 deletions

View File

@ -2,8 +2,9 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Preset for use with ansible repositories"],
"extends": ["github>thegeeklab/renovate-presets:base"],
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^(ansible/)?(group_vars|services)/.*?$",
"^(ansible/)?inventory/group_vars/.*?$"

View File

@ -32,14 +32,16 @@
"extends": ["schedule:weekly"]
}
],
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^Makefile$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*?))?\\n.*?_VERSION (:|\\?)= (?<currentValue>.*)\\s"
]
},
{
"customType": "regex",
"fileMatch": [".drone.env"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( registryUrl=(?<registryUrl>.*?))?( versioning=(?<versioning>.*?))?\\nexport .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"

View File

@ -25,7 +25,7 @@
"description": "Helper tools for docker base images",
"groupName": "docker helper tools",
"matchDatasources": ["github-releases"],
"matchFileNames": ["Dockerfile*", "docker/Dockerfile*"],
"matchManagers": ["dockerfile"],
"matchPackagePatterns": ["^hairyhenderson", "^aptible", "^thegeeklab"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
@ -36,9 +36,13 @@
"pinDigests": false
}
],
"regexManagers": [
"customManagers": [
{
"fileMatch": ["Dockerfile"],
"customType": "regex",
"fileMatch": [
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s"
]

View File

@ -38,8 +38,9 @@
"enabled": false
}
],
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^flux/(?:.+/)overlays/(?:.+/)patches/(?:postgresCluster)\\.ya?ml$"
],
@ -49,6 +50,7 @@
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": ["^flux/(?:.+/)overlays/(?:.+/)(?:configmap)\\.ya?ml$"],
"matchStrings": [
".+(?:_IMAGE):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?"
@ -56,6 +58,7 @@
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": ["^flux/crds/.+\\.ya?ml$"],
"matchStrings": [
"# renovate: registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*)\\s.+k8up-(?<currentValue>.*?)/.+"