From 1d56de78e246a48d23d497d661ac2c39a1282a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Colombaro?= Date: Tue, 15 Oct 2024 18:03:41 +0200 Subject: [PATCH] Use proper Renovate preset --- .github/renovate.json | 33 ++++++++++----------------------- charts/netbox/Chart.yaml | 1 + 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 2714c7f7..11acdbfd 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,6 +1,11 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:recommended", ":disableDependencyDashboard"], + "extends": [ + "config:recommended", + ":configMigration", + ":disableDependencyDashboard", + "customManagers:helmChartYamlAppVersions" + ], "labels": ["dependencies"], "rangeStrategy": "bump", "packageRules": [ @@ -9,36 +14,18 @@ "versioning": "helm" }, { - "matchManagers": ["helmv3"], + "matchManagers": ["helmv3", "helm-values"], "matchUpdateTypes": ["minor", "patch"], "bumpVersion": "patch" }, { - "matchManagers": ["helmv3"], + "matchManagers": ["helmv3", "helm-values"], "matchUpdateTypes": ["major"], "bumpVersion": "minor" }, { - "matchUpdateTypes": ["minor", "patch"], - "matchCurrentVersion": "!/^0/", + "matchUpdateTypes": ["!major"], "automerge": true } - ], - "customManagers": [ - { - "customType": "regex", - "fileMatch": ["(^|/)Chart.yaml$"], - "matchStrings": [ - "\\nname: (?.*?)\\n", - "\\nappVersion: \"(?.*?)\"\\n" - ], - "matchStringsStrategy": "combination", - "depNameTemplate": "ghcr.io/netbox-community/{{{depName}}}", - "datasourceTemplate": "docker", - "versioningTemplate": "semver-coerced" - } - ], - "github-actions": { - "enabled": false - } + ] } diff --git a/charts/netbox/Chart.yaml b/charts/netbox/Chart.yaml index 6b45962b..abbd5a65 100644 --- a/charts/netbox/Chart.yaml +++ b/charts/netbox/Chart.yaml @@ -1,6 +1,7 @@ apiVersion: v2 name: netbox version: 5.0.0 +# renovate: image=ghcr.io/netbox-community/netbox appVersion: "v4.1.1" type: application kubeVersion: ^1.25.0-0