renovate: Enable dashboard and format config

Format the renovate config and enable the dashboard for easier overview.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2024-08-28 17:12:54 +02:00
parent 2aced29150
commit 2b875e145b

View File

@@ -1,49 +1,81 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [":gitSignOff"],
"labels": ["release-note-none"],
"extends": [
":gitSignOff",
":dependencyDashboard"
],
"labels": [
"release-note-none"
],
"prConcurrentLimit": 3,
"enabledManagers": ["custom.regex", "github-actions"],
"enabledManagers": [
"custom.regex",
"github-actions"
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"],
"matchStrings": ["KIND_VERSION=\\${KIND_VERSION:-(?<currentValue>.*?)}"],
"fileMatch": [
"^hack/e2e-setup.sh$"
],
"matchStrings": [
"KIND_VERSION=\\${KIND_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases",
"packageNameTemplate": "kubernetes-sigs/kind"
},
{
"customType": "regex",
"fileMatch": ["^.github/workflows/integration.yml$"],
"matchStrings": ["\\sversion: (?<currentValue>.*?)\\n"],
"fileMatch": [
"^.github/workflows/integration.yml$"
],
"matchStrings": [
"\\sversion: (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-releases",
"packageNameTemplate": "kubernetes-sigs/kind"
},
{
"customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"],
"matchStrings": ["KUBECTL_VERSION=\\${KUBECTL_VERSION:-(?<currentValue>.*?)}"],
"fileMatch": [
"^hack/e2e-setup.sh$"
],
"matchStrings": [
"KUBECTL_VERSION=\\${KUBECTL_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "custom.k8s",
"depNameTemplate": "kubectl"
},
{
"customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"],
"matchStrings": ["KUBEVIRT_VERSION=\\${KUBEVIRT_VERSION:-(?<currentValue>.*?)}"],
"fileMatch": [
"^hack/e2e-setup.sh$"
],
"matchStrings": [
"KUBEVIRT_VERSION=\\${KUBEVIRT_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases",
"packageNameTemplate": "kubevirt/kubevirt"
},
{
"customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"],
"matchStrings": ["KUBEVIRT_CDI_VERSION=\\${KUBEVIRT_CDI_VERSION:-(?<currentValue>.*?)}"],
"fileMatch": [
"^hack/e2e-setup.sh$"
],
"matchStrings": [
"KUBEVIRT_CDI_VERSION=\\${KUBEVIRT_CDI_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases",
"packageNameTemplate": "kubevirt/containerized-data-importer"
},
{
"customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"],
"matchStrings": ["CNAO_VERSION=\\${CNAO_VERSION:-(?<currentValue>.*?)}"],
"fileMatch": [
"^hack/e2e-setup.sh$"
],
"matchStrings": [
"CNAO_VERSION=\\${CNAO_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases",
"packageNameTemplate": "kubevirt/cluster-network-addons-operator"
}
@@ -56,12 +88,19 @@
},
"packageRules": [
{
"matchFileNames": ["hack/e2e-setup.sh", ".github/workflows/integration.yml"],
"matchManagers": ["custom.regex"],
"matchFileNames": [
"hack/e2e-setup.sh",
".github/workflows/integration.yml"
],
"matchManagers": [
"custom.regex"
],
"groupName": "e2e-setup versions"
},
{
"matchManagers": ["github-actions"],
"matchManagers": [
"github-actions"
],
"groupName": "GitHub actions"
}
]