|
1 | 1 | { |
2 | | - "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": [ |
4 | | - "config:base" |
5 | | - ], |
6 | | - "regexManagers": [ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": [ |
| 4 | + "config:recommended", ":disableDependencyDashboard" |
| 5 | + ], |
| 6 | + "customManagers": [ |
7 | 7 | { |
8 | | - "fileMatch": ["(^|/)Chart\\.yaml$"], |
9 | | - "matchStrings": [ |
10 | | - "#\\s?renovate: image=(?<depName>.*?)\\s?appVersion:\\s?\\\"?(?<currentValue>[\\w+\\.\\-]*)", |
11 | | - ], |
12 | | - "datasourceTemplate": "docker" |
13 | | - }, |
| 8 | + "customType": "regex", |
| 9 | + "datasourceTemplate": "docker", |
| 10 | + "fileMatch": [ |
| 11 | + "(^|/)Chart\\.yaml$" |
| 12 | + ], |
| 13 | + "matchStrings": [ |
| 14 | + "#\\s*renovate: image=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)" |
| 15 | + ] |
| 16 | + } |
| 17 | + ], |
| 18 | + "packageRules": [ |
| 19 | + { |
| 20 | + "description": "Fix subchart archives for helm chart", |
| 21 | + "matchManagers": ["helmv3"], |
| 22 | + "postUpdateOptions": ["helmUpdateSubChartArchives"] |
| 23 | + }, |
| 24 | + { |
| 25 | + "description": "Fix version in Chart.yaml after helmv3 dep patch updates", |
| 26 | + "matchManagers": ["helmv3"], |
| 27 | + "matchUpdateTypes": ["patch"], |
| 28 | + "bumpVersion": "patch" |
| 29 | + }, |
| 30 | + { |
| 31 | + "description": "Fix version in Chart.yaml after helmv3 dep minor updates", |
| 32 | + "matchManagers": ["helmv3"], |
| 33 | + "matchUpdateTypes": ["minor"], |
| 34 | + "bumpVersion": "minor" |
| 35 | + }, |
| 36 | + { |
| 37 | + "description": "Fix version in Chart.yaml after helmv3 dep major updates", |
| 38 | + "matchManagers": ["helmv3"], |
| 39 | + "matchUpdateTypes": ["major"], |
| 40 | + "bumpVersion": "major" |
| 41 | + }, |
| 42 | + { |
| 43 | + "description": "Bump helm chart versions by a patch when updating values files. This can be removed when https://github.com/renovatebot/renovate/issues/8231 is implemented and enabled.", |
| 44 | + "matchManagers": ["helm-values", "regex"], |
| 45 | + "postUpgradeTasks": { |
| 46 | + "commands": [ |
| 47 | + "scripts/bump-chart-version.sh '{{{updateType}}}'" |
| 48 | + ], |
| 49 | + "fileFilters": ["**/Chart.yaml"], |
| 50 | + "executionMode": "branch" |
| 51 | + } |
| 52 | + } |
14 | 53 | ] |
15 | 54 | } |
0 commit comments