Switching up renovate config files and adding grafana dashboards to the mix.

This commit is contained in:
Joseph Hanson 2023-10-24 10:40:32 -05:00
parent dbe4ec18b7
commit 32a9c055c8
3 changed files with 20 additions and 1 deletions

View file

View file

@ -0,0 +1,17 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"description": "Process Grafana dashboards",
"fileMatch": [
"(^|/)kubernetes/.+\\.ya?ml(\\.j2)?$"
],
"matchStrings": [
"depName=\"(?<depName>.*)\"\\n\\s+gnetId:\\s+(?<packageName>.*?)\\n\\s+revision:\\s+(?<currentValue>.*)"
],
"datasourceTemplate": "custom.grafana-dashboards",
"versioningTemplate": "regex:^(?<major>\\d+)$"
}
]
}

View file

@ -3,7 +3,9 @@
"platform": "gitea", "platform": "gitea",
"endpoint": "https://git.hsn.dev", "endpoint": "https://git.hsn.dev",
"extends": [ "extends": [
"config:recommended" "config:recommended",
"local>jahanson/valinor//.renovate/customDatasources.json5",
"local>jahanson/valinor//.renovate/customManagers.json5"
], ],
"repositories": [], "repositories": [],
"flux": { "flux": {