fix(renovate): managers fileMatch changed to managerFilePatterns

This commit is contained in:
JJGadgets
2025-05-30 09:10:03 +08:00
parent fd968e7d5d
commit 3f7af3475b
2 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
{
description: "Process Grafana dashboards",
customType: "regex",
fileMatch: ["/(^|/)kubernetes/.+\\.ya?ml$/"],
managerFilePatterns: ["/(^|/)kubernetes/.+\\.ya?ml$/"],
matchStrings: [
'depName="(?<depName>.*)"\\n(?<indentation>\\s+)gnetId: (?<packageName>\\d+)\\n.+revision: (?<currentValue>\\d+)'
],

View File

@@ -32,23 +32,23 @@
// NOTE: forward slashes do not need escaping on Renovate, and a proper escape backslash needs double backslashes because JSON moment
"ignorePaths": ["**/archive/**", "**/.archive/**", "**/**.sops.**", "./.git", "**/ignore/**"],
"flux": {
"fileMatch": ["/^kube/.+\\.ya?ml$/"]
"managerFilePatterns": ["/^kube/.+\\.ya?ml$/"]
},
"helm-values": {
"fileMatch": ["/^kube/.+\\.ya?ml$/"]
"managerFilePatterns": ["/^kube/.+\\.ya?ml$/"]
},
"kubernetes": {
"fileMatch": ["/^kube/.+\\.ya?ml$/"]
"managerFilePatterns": ["/^kube/.+\\.ya?ml$/"]
},
"kustomize": {
"fileMatch": ["/^kube/.+\\.ya?ml$/"]
"managerFilePatterns": ["/^kube/.+\\.ya?ml$/"]
},
"customManagers": [
{
"description": ["Process various other dependencies"],
"customType": "regex",
// "fileMatch": ["^kube/.+\\.ya?ml$", "vyos/], // process regex from everywhere
"fileMatch": ["/.*/"], // process regex from everywhere
// "managerFilePatterns": ["^kube/.+\\.ya?ml$", "vyos/], // process regex from everywhere
"managerFilePatterns": ["/.*/"], // process regex from everywhere
"matchStrings": [
// Example: `k3s_release_version: "v1.27.3+k3s1"` (general regex matcher)
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?\"(?<currentValue>.*)\"\n",
@@ -63,7 +63,7 @@
{
"description": ["app-template schemas"],
"customType": "regex",
"fileMatch": ["/^kube/.+\\.ya?ml$/"],
"managerFilePatterns": ["/^kube/.+\\.ya?ml$/"],
"matchStrings": [
"\\# yaml\\-language\\-server\\: \\$schema\\=https\\:\\/\\/raw\\.githubusercontent\\.com\\/(?<packageName>[\\w\\-]+\\/[\\w\\-]+)\\/(?<currentValue>app\\-template\\-[\\d\\.]+)"
],
@@ -74,7 +74,7 @@
//{
// "description": "app-template schemas Flux API",
// "customType": "regex",
// "fileMatch": ["^kube/.+\\.ya?ml$"],
// "managerFilePatterns": ["^kube/.+\\.ya?ml$"],
// "matchStrings": [
// "\\# yaml\\-language\\-server\\: \\$schema\\=https\\:\\/\\/raw\\.githubusercontent\\.com\\/bjw-s\\/helm-charts\\/app-template-[\\S](?<packageName>[\\w\\-]+\\/[\\w\\-]+)\\-(?<currentValue>v[\\w\\d]+).yaml$" // incomplete
// ],