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,67 +1,106 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [":gitSignOff"], "extends": [
"labels": ["release-note-none"], ":gitSignOff",
":dependencyDashboard"
],
"labels": [
"release-note-none"
],
"prConcurrentLimit": 3, "prConcurrentLimit": 3,
"enabledManagers": ["custom.regex", "github-actions"], "enabledManagers": [
"custom.regex",
"github-actions"
],
"customManagers": [ "customManagers": [
{ {
"customType": "regex", "customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"], "fileMatch": [
"matchStrings": ["KIND_VERSION=\\${KIND_VERSION:-(?<currentValue>.*?)}"], "^hack/e2e-setup.sh$"
],
"matchStrings": [
"KIND_VERSION=\\${KIND_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",
"packageNameTemplate": "kubernetes-sigs/kind" "packageNameTemplate": "kubernetes-sigs/kind"
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": ["^.github/workflows/integration.yml$"], "fileMatch": [
"matchStrings": ["\\sversion: (?<currentValue>.*?)\\n"], "^.github/workflows/integration.yml$"
],
"matchStrings": [
"\\sversion: (?<currentValue>.*?)\\n"
],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",
"packageNameTemplate": "kubernetes-sigs/kind" "packageNameTemplate": "kubernetes-sigs/kind"
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"], "fileMatch": [
"matchStrings": ["KUBECTL_VERSION=\\${KUBECTL_VERSION:-(?<currentValue>.*?)}"], "^hack/e2e-setup.sh$"
],
"matchStrings": [
"KUBECTL_VERSION=\\${KUBECTL_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "custom.k8s", "datasourceTemplate": "custom.k8s",
"depNameTemplate": "kubectl" "depNameTemplate": "kubectl"
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"], "fileMatch": [
"matchStrings": ["KUBEVIRT_VERSION=\\${KUBEVIRT_VERSION:-(?<currentValue>.*?)}"], "^hack/e2e-setup.sh$"
],
"matchStrings": [
"KUBEVIRT_VERSION=\\${KUBEVIRT_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",
"packageNameTemplate": "kubevirt/kubevirt" "packageNameTemplate": "kubevirt/kubevirt"
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"], "fileMatch": [
"matchStrings": ["KUBEVIRT_CDI_VERSION=\\${KUBEVIRT_CDI_VERSION:-(?<currentValue>.*?)}"], "^hack/e2e-setup.sh$"
],
"matchStrings": [
"KUBEVIRT_CDI_VERSION=\\${KUBEVIRT_CDI_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",
"packageNameTemplate": "kubevirt/containerized-data-importer" "packageNameTemplate": "kubevirt/containerized-data-importer"
}, },
{ {
"customType": "regex", "customType": "regex",
"fileMatch": ["^hack/e2e-setup.sh$"], "fileMatch": [
"matchStrings": ["CNAO_VERSION=\\${CNAO_VERSION:-(?<currentValue>.*?)}"], "^hack/e2e-setup.sh$"
],
"matchStrings": [
"CNAO_VERSION=\\${CNAO_VERSION:-(?<currentValue>.*?)}"
],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",
"packageNameTemplate": "kubevirt/cluster-network-addons-operator" "packageNameTemplate": "kubevirt/cluster-network-addons-operator"
} }
], ],
"customDatasources": { "customDatasources": {
"k8s": { "k8s": {
"defaultRegistryUrlTemplate": "https://cdn.dl.k8s.io/release/stable.txt", "defaultRegistryUrlTemplate": "https://cdn.dl.k8s.io/release/stable.txt",
"format": "plain" "format": "plain"
} }
}, },
"packageRules": [ "packageRules": [
{ {
"matchFileNames": ["hack/e2e-setup.sh", ".github/workflows/integration.yml"], "matchFileNames": [
"matchManagers": ["custom.regex"], "hack/e2e-setup.sh",
".github/workflows/integration.yml"
],
"matchManagers": [
"custom.regex"
],
"groupName": "e2e-setup versions" "groupName": "e2e-setup versions"
}, },
{ {
"matchManagers": ["github-actions"], "matchManagers": [
"github-actions"
],
"groupName": "GitHub actions" "groupName": "GitHub actions"
} }
] ]