chore(config): migrate config .renovaterc.json
This commit is contained in:
parent
a59c1c1d2d
commit
6e03aabbe3
1 changed files with 40 additions and 12 deletions
|
@ -1,25 +1,38 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["local>infrastructure/renovate-config"],
|
"extends": [
|
||||||
|
"local>infrastructure/renovate-config"
|
||||||
|
],
|
||||||
"regexManagers": [
|
"regexManagers": [
|
||||||
{
|
{
|
||||||
|
"customType": "regex",
|
||||||
"description": "k3s",
|
"description": "k3s",
|
||||||
"fileMatch": ["pb_install\\.yml"],
|
"fileMatch": [
|
||||||
"matchStrings": ["\\s+INSTALL_K3S_CHANNEL:\\s(?<currentValue>.*)"],
|
"pb_install\\.yml"
|
||||||
|
],
|
||||||
|
"matchStrings": [
|
||||||
|
"\\s+INSTALL_K3S_CHANNEL:\\s(?<currentValue>.*)"
|
||||||
|
],
|
||||||
"depNameTemplate": "k3s-io/k3s",
|
"depNameTemplate": "k3s-io/k3s",
|
||||||
"datasourceTemplate": "github-releases"
|
"datasourceTemplate": "github-releases"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"customType": "regex",
|
||||||
"description": "ArgoCD",
|
"description": "ArgoCD",
|
||||||
"fileMatch": ["argocd-init\\.yml$"],
|
"fileMatch": [
|
||||||
|
"argocd-init\\.yml$"
|
||||||
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\s+repo:\\s(?<registryUrl>.*)\\n\\s+chart:\\s(?<depName>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n"
|
"\\s+repo:\\s(?<registryUrl>.*)\\n\\s+chart:\\s(?<depName>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n"
|
||||||
],
|
],
|
||||||
"datasourceTemplate": "helm"
|
"datasourceTemplate": "helm"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"customType": "regex",
|
||||||
"description": "Baseline",
|
"description": "Baseline",
|
||||||
"fileMatch": ["\\.jsonnet$"],
|
"fileMatch": [
|
||||||
|
"\\.jsonnet$"
|
||||||
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
||||||
"\\s+version::\\s\\\"(?<currentValue>.*)\\\",",
|
"\\s+version::\\s\\\"(?<currentValue>.*)\\\",",
|
||||||
|
@ -29,11 +42,14 @@
|
||||||
"datasourceTemplate": "helm"
|
"datasourceTemplate": "helm"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"customType": "regex",
|
||||||
"description": "Baseline - Prometheus",
|
"description": "Baseline - Prometheus",
|
||||||
"fileMatch": ["prometheus-stack\\.jsonnet"],
|
"fileMatch": [
|
||||||
|
"prometheus-stack\\.jsonnet"
|
||||||
|
],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
"\\s+chart::\\s\\\"(?<depName>.*)\\\",",
|
||||||
"\\s+\\\"version\\\"\:\\s\\\"(?<currentValue>.*)\\\",",
|
"\\s+\\\"version\\\":\\s\\\"(?<currentValue>.*)\\\",",
|
||||||
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\","
|
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\","
|
||||||
],
|
],
|
||||||
"matchStringsStrategy": "combination",
|
"matchStringsStrategy": "combination",
|
||||||
|
@ -43,18 +59,30 @@
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Merged updates not applied by gitops",
|
"description": "Merged updates not applied by gitops",
|
||||||
"matchPackageNames": ["k3s-io/k3s", "argo-cd", "argocd-apps"],
|
"matchPackageNames": [
|
||||||
"prBodyNotes": [":warning: **Manual Intervention**: This update needs manual deployment. Please review and take appropriate action."]
|
"k3s-io/k3s",
|
||||||
|
"argo-cd",
|
||||||
|
"argocd-apps"
|
||||||
|
],
|
||||||
|
"prBodyNotes": [
|
||||||
|
":warning: **Manual Intervention**: This update needs manual deployment. Please review and take appropriate action."
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Separate minor and patch updates - Prometheus",
|
"description": "Separate minor and patch updates - Prometheus",
|
||||||
"matchPackageNames": ["kube-prometheus-stack"],
|
"matchPackageNames": [
|
||||||
|
"kube-prometheus-stack"
|
||||||
|
],
|
||||||
"separateMinorPatch": true
|
"separateMinorPatch": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "AutoMerge patch releases - Prometheus",
|
"description": "AutoMerge patch releases - Prometheus",
|
||||||
"matchPackageNames": ["kube-prometheus-stack"],
|
"matchPackageNames": [
|
||||||
"matchUpdateTypes": ["patch"],
|
"kube-prometheus-stack"
|
||||||
|
],
|
||||||
|
"matchUpdateTypes": [
|
||||||
|
"patch"
|
||||||
|
],
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
"ignoreTests": true
|
"ignoreTests": true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue