feat: configure renovate

This commit is contained in:
Vegard Hagen
2024-07-22 01:05:36 +02:00
parent c80528ffbd
commit be08e101b2
2 changed files with 49 additions and 18 deletions
+41
View File
@@ -0,0 +1,41 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"kustomize": {
"fileMatch": [
"(^|/)kustomization\\.ya?ml(\\.j2)?$"
]
},
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"\\.tf$",
"\\.tftpl$",
"\\.yaml$",
"\\.sh$"
],
"matchStrings": [
"(?<currentValue>[\\w+\\.\\-]*)['\",;]*\\s*#\\s?renovate: (?<datasource>\\S+)=(?<depName>\\S+)\\s?(registry=(?<registryUrl>\\S+))?\\s?(versioning=(?<versioning>\\S+))?"
]
}
],
"packageRules": [
{
"matchManagers": [
"terraform"
],
"matchDepTypes": [
"provider",
"required_provider"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
}
]
}