Switching up renovate config files and adding grafana dashboards to the mix.
This commit is contained in:
parent
dbe4ec18b7
commit
32a9c055c8
3 changed files with 20 additions and 1 deletions
0
.renovate/customDatasources.json5
Normal file
0
.renovate/customDatasources.json5
Normal file
17
.renovate/customManagers.json5
Normal file
17
.renovate/customManagers.json5
Normal 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+)$"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -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": {
|
||||||
|
|
Reference in a new issue