0
0
mirror of https://github.com/thegeeklab/renovate-presets.git synced 2024-11-22 09:20:38 +00:00

fix regex syntax

This commit is contained in:
Robert Kaussow 2023-03-22 08:29:41 +01:00
parent 8d1f4693f8
commit c67d228ae2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -3,14 +3,14 @@
"description": ["Preset for use with kubernetes repositories"], "description": ["Preset for use with kubernetes repositories"],
"extends": ["github>thegeeklab/renovate-presets:base"], "extends": ["github>thegeeklab/renovate-presets:base"],
"flux": { "flux": {
"fileMatch": ["flux/.+\\.ya?ml$"] "fileMatch": ["^flux/.+\\.ya?ml$"]
}, },
"helm-values": { "helm-values": {
"fileMatch": ["flux/(.+/)patch(HelmRelease)\\.ya?ml$"], "fileMatch": ["^flux/(.+/)patch(HelmRelease)\\.ya?ml$"],
"pinDigests": true "pinDigests": true
}, },
"kubernetes": { "kubernetes": {
"fileMatch": ["flux/(.+/)patch(Deployment|Cluster)\\.ya?ml$"] "fileMatch": ["^flux/(.+/)patch(Deployment|Cluster)\\.ya?ml$"]
}, },
"packageRules": [ "packageRules": [
{ {
@ -36,9 +36,9 @@
], ],
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": ["flux/(.+/)patch(Cluster)\\.ya?ml$"], "fileMatch": ["^flux/(.+/)patch(Cluster)\\.ya?ml$"],
"matchStrings": [ "matchStrings": [
"^\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s" "\\s+(imageName):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s"
], ],
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
} }