fix(renovate): update regexmanagers

This commit is contained in:
Devin Buhl authored and GitHub committed 2022-04-11 17:49:40 -04:00
1 parent 68ae389f9a
commit c582c24d98
1 file changed
+17 -23
+17 -23
View File
@@ -37,34 +37,28 @@
] ]
}, },
"regexManagers": [ "regexManagers": [
// regexManager to read and process HelmRelease files // Read and process GitHub Releases
{
"fileMatch": [
"cluster/.+\\.ya?ml$",
"ansible/.+\\.ya?ml$"
],
"matchStrings": [
"datasource=(?<datasource>.*?)( versioning=(?<versioning>.*?))?\n *url: https:\/\/github\\.com\/(?<depName>.*?)\\.git\n *ref:\n *tag: (?<currentValue>.*)\n",
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\n.*?_version: \"(?<currentValue>.*)\"\n",
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\n.*?_VERSION=\"(?<currentValue>.*)\"\n"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
// Read and process Custom Resource Definitions
{ {
"fileMatch": [ "fileMatch": [
"cluster/.+\\.ya?ml$" "cluster/.+\\.ya?ml$"
], ],
"matchStrings": [ "matchStrings": [
// helm releases "registryUrl=(?<registryUrl>.*?)\n *tag: (?<depName>[a-zA-Z-]+)-(?<currentValue>.*)\n",
"registryUrl=(?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *version: (?<currentValue>.*)\n" "registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/v?(?<currentValue>.*)\n"
],
"datasourceTemplate": "helm"
},
// regexManager to read and process cert-manager CRD's
{
"fileMatch": [
"cluster/crds/cert-manager/.+\\.ya?ml$"
],
"matchStrings": [
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/"
],
"datasourceTemplate": "helm"
},
// regexManager to read and process Traefik CRD's
{
"fileMatch": [
"cluster/crds/traefik/.+\\.ya?ml$"
],
"matchStrings": [
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n"
], ],
"datasourceTemplate": "helm" "datasourceTemplate": "helm"
} }