From 2af701b51898caf5b067d416d775ec2d9f6e21f0 Mon Sep 17 00:00:00 2001 From: Morten Olsen Date: Thu, 25 Sep 2025 21:32:40 +0200 Subject: [PATCH] chore(config): migrate renovate config (#51) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Renovate config in this repository needs migrating. Typically this is because one or more configuration options you are using have been renamed. You don't need to merge this PR right away, because Renovate will continue to migrate these fields internally each time it runs. But later some of these fields may be fully deprecated and the migrations removed. So it's a good idea to merge this migration PR soon. #### [PLEASE NOTE](https://docs.renovatebot.com/configuration-options#configmigration): JSON5 config file migrated! All comments & trailing commas were removed. 🔕 **Ignore**: Close this PR and you won't be reminded about config migration again, but one day your current config may no longer be valid. ❓ Got questions? Does something look wrong to you? Please don't hesitate to [request help here](https://redirect.github.com/renovatebot/renovate/discussions). --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). Co-authored-by: Renovate Bot --- renovate.json5 | 53 ++++++++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index 126ad37..7a20454 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,28 +1,35 @@ { - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:base" + $schema: 'https://docs.renovatebot.com/renovate-schema.json', + extends: [ + 'config:recommended', ], - "packageRules": [ + packageRules: [ { - "groupName": "Docker images", - "groupSlug": "dockerimages", - "matchDatasources": ["docker"], - "pinDigests": true - } - ], - "helm-values": { - "fileMatch": ["^charts/.*/values\\.yaml$"] - }, - "regexManagers": [ - { - "fileMatch": ["^charts/.*/values\\.yaml$"], - "matchStrings": [ - "repository:\s*'(?.*?)'\n\s*tag:\s*'(?.*?)'", - "repository:\s*\"(?.*?)\"\n\s*tag:\s*\"(?.*?)\"", - "repository:\s*(?.*?)\n\s*tag:\s*(?.*)" + groupName: 'Docker images', + groupSlug: 'dockerimages', + matchDatasources: [ + 'docker', ], - "datasourceTemplate": "docker" - } - ] + pinDigests: true, + }, + ], + 'helm-values': { + managerFilePatterns: [ + '/^charts/.*/values\\.yaml$/', + ], + }, + customManagers: [ + { + customType: 'regex', + managerFilePatterns: [ + '/^charts/.*/values\\.yaml$/', + ], + matchStrings: [ + "repository:s*'(?.*?)'\ns*tag:s*'(?.*?)'", + 'repository:s*"(?.*?)"\ns*tag:s*"(?.*?)"', + 'repository:s*(?.*?)\ns*tag:s*(?.*)', + ], + datasourceTemplate: 'docker', + }, + ], }