From 2b875e145ba147031620b317fd68cea3c9847b88 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Wed, 28 Aug 2024 17:12:54 +0200 Subject: [PATCH] renovate: Enable dashboard and format config Format the renovate config and enable the dashboard for easier overview. Signed-off-by: Felix Matouschek --- renovate.json | 83 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 61 insertions(+), 22 deletions(-) diff --git a/renovate.json b/renovate.json index 402bc2c..72ba36b 100644 --- a/renovate.json +++ b/renovate.json @@ -1,67 +1,106 @@ { "$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:-(?.*?)}"], + "fileMatch": [ + "^hack/e2e-setup.sh$" + ], + "matchStrings": [ + "KIND_VERSION=\\${KIND_VERSION:-(?.*?)}" + ], "datasourceTemplate": "github-releases", "packageNameTemplate": "kubernetes-sigs/kind" }, { "customType": "regex", - "fileMatch": ["^.github/workflows/integration.yml$"], - "matchStrings": ["\\sversion: (?.*?)\\n"], + "fileMatch": [ + "^.github/workflows/integration.yml$" + ], + "matchStrings": [ + "\\sversion: (?.*?)\\n" + ], "datasourceTemplate": "github-releases", "packageNameTemplate": "kubernetes-sigs/kind" }, { "customType": "regex", - "fileMatch": ["^hack/e2e-setup.sh$"], - "matchStrings": ["KUBECTL_VERSION=\\${KUBECTL_VERSION:-(?.*?)}"], + "fileMatch": [ + "^hack/e2e-setup.sh$" + ], + "matchStrings": [ + "KUBECTL_VERSION=\\${KUBECTL_VERSION:-(?.*?)}" + ], "datasourceTemplate": "custom.k8s", "depNameTemplate": "kubectl" }, { "customType": "regex", - "fileMatch": ["^hack/e2e-setup.sh$"], - "matchStrings": ["KUBEVIRT_VERSION=\\${KUBEVIRT_VERSION:-(?.*?)}"], + "fileMatch": [ + "^hack/e2e-setup.sh$" + ], + "matchStrings": [ + "KUBEVIRT_VERSION=\\${KUBEVIRT_VERSION:-(?.*?)}" + ], "datasourceTemplate": "github-releases", "packageNameTemplate": "kubevirt/kubevirt" }, { "customType": "regex", - "fileMatch": ["^hack/e2e-setup.sh$"], - "matchStrings": ["KUBEVIRT_CDI_VERSION=\\${KUBEVIRT_CDI_VERSION:-(?.*?)}"], + "fileMatch": [ + "^hack/e2e-setup.sh$" + ], + "matchStrings": [ + "KUBEVIRT_CDI_VERSION=\\${KUBEVIRT_CDI_VERSION:-(?.*?)}" + ], "datasourceTemplate": "github-releases", "packageNameTemplate": "kubevirt/containerized-data-importer" }, { "customType": "regex", - "fileMatch": ["^hack/e2e-setup.sh$"], - "matchStrings": ["CNAO_VERSION=\\${CNAO_VERSION:-(?.*?)}"], + "fileMatch": [ + "^hack/e2e-setup.sh$" + ], + "matchStrings": [ + "CNAO_VERSION=\\${CNAO_VERSION:-(?.*?)}" + ], "datasourceTemplate": "github-releases", "packageNameTemplate": "kubevirt/cluster-network-addons-operator" } ], "customDatasources": { - "k8s": { - "defaultRegistryUrlTemplate": "https://cdn.dl.k8s.io/release/stable.txt", - "format": "plain" - } + "k8s": { + "defaultRegistryUrlTemplate": "https://cdn.dl.k8s.io/release/stable.txt", + "format": "plain" + } }, "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" } ]