From 4acc616f3b4720bb9e195213416a70d39bbde5bd Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sat, 28 Mar 2026 18:20:08 -0500 Subject: [PATCH] ci: reconfigure --- renovate.json | 78 ++++++++++++++------------------------------------- 1 file changed, 21 insertions(+), 57 deletions(-) diff --git a/renovate.json b/renovate.json index c5c05f2e5..0a28dc383 100644 --- a/renovate.json +++ b/renovate.json @@ -16,50 +16,20 @@ "baseBranchPatterns": [ "main" ], - "regexManagers": [ - { - "fileMatch": ["(^|/)values\\.yaml$", "(^|/)values-.*\\.yaml$"], - "matchStrings": [ - "# renovate: datasource=(?.*?) depName=(?.*?)\\s+tag:\\s+(?.*)" - ], - "datasourceTemplate": "{{{datasource}}}", - "depNameTemplate": "{{{depName}}}" - } - ], "customManagers": [ { - "description": "Update appVersion in Chart.yaml", + "description": "Generic Renovate tag matcher for Helm", "customType": "regex", "managerFilePatterns": [ - "/(^|/)Chart\\.yaml$/" + "(^|/)Chart\\.yaml$", + "(^|/)values\\.yaml$", + "(^|/)templates/.*\\.yaml$" ], "matchStrings": [ - "#\\s*renovate:\\s*datasource=(?.*?) depName=(?.*?)\\s+appVersion:\\s*[\"']?(?[^\"'\\s]+)[\"']?" + "#\\s*renovate:\\s*datasource=(?[^\\s]+)\\s+depName=(?[^\\s]+)(?:\\s+versioning=(?[^\\s]+))?\\s*[a-zA-Z0-9_-]+:\\s*[\"']?(?[^\"'\\s]+)[\"']?" ], "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}" }, - { - "description": "Update specific images in values", - "customType": "regex", - "managerFilePatterns": [ - "(^|/)values\\.yaml$" - ], - "matchStrings": [ - "#\\s*renovate:\\s*datasource=(?[^\\s]+)\\s+depName=(?[^\\s]+)\\s*\\n\\s+tag:\\s*[\"']?(?[^\"'\\s]+)[\"']?" - ], - "depNameTemplate": "{{{depName}}}", - "datasourceTemplate": "{{{datasource}}}" - }, - { - "description": "Update images in templates", - "customType": "regex", - "managerFilePatterns": [ - "/(^|/)templates/.*\\.yaml$/" - ], - "matchStrings": [ - "# renovate: datasource=(?[^\\s]+)\\s+depName=(?[^\\s]+)\\s+tag:\\s*[\"']?(?[^@\"'\\s\n]+)(?:@(?sha256:[a-f0-9]+))?[\"']?" - ] - }, { "description": "Update Helm CLI version in GitHub Actions", "customType": "regex", @@ -96,11 +66,9 @@ "enabled": false }, { - "description": "Label by datasource", - "matchDatasources": [ - "helm", - "docker", - "github-actions" + "description": "Universal dynamic labeling by datasource", + "matchPackageNames": [ + "*" ], "addLabels": [ "{{{datasource}}}" @@ -116,13 +84,11 @@ ] }, { - "description": "Group packages together when stripping registry", + "description": "Group packages together by stripping all registry/namespace prefixes", "matchManagers": [ - "custom.regex", - "helm-values", - "docker" + "*" ], - "groupName": "{{#if packageName}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' packageName)}}}{{else}}{{{replace 'ghcr.io/' '' (replace 'docker.io/' '' depName)}}}{{/if}}", + "groupName": "{{#if packageName}}{{{replace '^.*?/(.*)$' '$1' packageName}}}{{else}}{{{replace '^.*?/(.*)$' '$1' depName}}}{{/if}}", "groupSlug": "unified-{{{groupName}}}" }, { @@ -143,6 +109,7 @@ "enabled": true }, "addLabels": [ + "{{{datasource}}}", "automerge" ], "automerge": true, @@ -163,13 +130,11 @@ "matchUpdateTypes": [ "digest" ], - "matchDatasources": [ - "docker" - ], "matchPackageNames": [ "searxng/searxng" ], "addLabels": [ + "{{{datasource}}}", "automerge" ], "enabled": true, @@ -182,33 +147,32 @@ "pinDigest" ], "matchDatasources": [ - "helm", - "docker", - "github-actions" + "*" ], "addLabels": [ + "{{{datasource}}}", "automerge" ], "automerge": true, - "minimumReleaseAge": "1 days" + "minimumReleaseAge": "3 days" }, { "description": "Automerge images, specific packages", "matchUpdateTypes": [ + "minor", "patch", - "minor" - ], - "matchDatasources": [ - "docker" + "pinDigest" ], "matchPackageNames": [ "ghcr.io/renovatebot/renovate", "ghcr.io/prometheus-community/charts/kube-prometheus-stack" ], "addLabels": [ + "{{{datasource}}}", "automerge" ], - "automerge": true + "automerge": true, + "minimumReleaseAge": "3 days" } ] }