fix: update renovate crd regexManager for more coverage
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
4 files changed
+23
-39
No files matched your search
+18
-35
@@ -5,21 +5,15 @@
|
||||
"dependencyDashboardTitle": "Renovate Dashboard",
|
||||
"suppressNotifications": ["prIgnoreNotification"],
|
||||
"rebaseWhen": "conflicted",
|
||||
"schedule": [
|
||||
"every weekend"
|
||||
],
|
||||
"schedule": ["every weekend"],
|
||||
"pre-commit": {
|
||||
"enabled": true
|
||||
},
|
||||
"flux": {
|
||||
"fileMatch": [
|
||||
"cluster/.+\\.ya?ml$"
|
||||
]
|
||||
"fileMatch": ["cluster/.+\\.ya?ml$"]
|
||||
},
|
||||
"helm-values": {
|
||||
"fileMatch": [
|
||||
"cluster/.+\\.ya?ml$"
|
||||
]
|
||||
"fileMatch": ["cluster/.+\\.ya?ml$"]
|
||||
},
|
||||
"kubernetes": {
|
||||
"fileMatch": [
|
||||
@@ -28,39 +22,28 @@
|
||||
]
|
||||
},
|
||||
"regexManagers": [
|
||||
// Read and process GitHub Releases
|
||||
{
|
||||
"description": "Process CRD dependencies",
|
||||
"fileMatch": ["cluster/crds/.+\\.ya?ml$"],
|
||||
"matchStrings": [
|
||||
// GitRepository and Flux Kustomization where 'Git release/tag' matches 'Helm' version
|
||||
"registryUrl=(?<registryUrl>\\S+) chart=(?<depName>\\S+)\n.*?(?<currentValue>[^-\\s]*)\n",
|
||||
// Kustomization where 'GitHub release artifact URL' matches 'Docker image' version
|
||||
"datasource=(?<datasource>\\S+) image=(?<depName>\\S+)\n.*?-\\s(.*?)\/(?<currentValue>[^/]+)\/[^/]+\n"
|
||||
],
|
||||
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}"
|
||||
},
|
||||
{
|
||||
"description": "Process various other dependencies",
|
||||
"fileMatch": [
|
||||
"cluster/.+\\.ya?ml$",
|
||||
"provision/ansible/.+\\.ya?ml$"
|
||||
"provision/ansible/.+\\.ya?ml$",
|
||||
"cluster/.+\\.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"
|
||||
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?\"(?<currentValue>.*)\"\n"
|
||||
],
|
||||
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}",
|
||||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
||||
},
|
||||
// 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"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
|
||||
Reference in new issue
Block a user