fix: rename deprecated regexManagers and fix containerfiles (#5)
This commit is contained in:
parent
6ce3906a21
commit
22d757f0f2
|
@ -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/.*?$"
|
||||
|
|
|
@ -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"
|
||||
|
|
10
docker.json
10
docker.json
|
@ -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"
|
||||
]
|
||||
|
|
|
@ -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>.*?)/.+"
|
||||
|
|
Loading…
Reference in New Issue