-
Notifications
You must be signed in to change notification settings - Fork 82
Expand file tree
/
Copy pathrenovate.json
More file actions
119 lines (119 loc) · 4.06 KB
/
renovate.json
File metadata and controls
119 lines (119 loc) · 4.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>renovatebot/.github",
"local>renovatebot/.github//merge-queue.json"
],
"assignees": ["viceice"],
"customManagers": [
{
"customType": "regex",
"description": "Update renovate docker image references",
"managerFilePatterns": ["charts/renovate/Chart.yaml"],
"matchStrings": [
"appVersion:\\s+(?<currentValue>[^\\s]+)",
"(?:image|name): (?<depName>.*?):(?<currentValue>[^\\s]+)"
],
"depNameTemplate": "{{#if depName}}{{depName}}{{else}}ghcr.io/renovatebot/renovate{{/if}}",
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update renovate docker image references",
"managerFilePatterns": ["charts/renovate/README.md"],
"matchStrings": [
"\\|\\s+image.tag\\s+\\|\\s+string\\s+\\|\\s+`\"(?<currentValue>.*?)\"`\\s+\\|\\s+",
"AppVersion(?::\\s|-)(?<currentValue>\\d+\\.\\d+\\.\\d+(?:\\+\\d+)?)"
],
"depNameTemplate": "ghcr.io/renovatebot/renovate",
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Update kindest kubernetes references",
"managerFilePatterns": ["/^\\.github\\/workflows\\/[^/]+\\.ya?ml$/"],
"matchStrings": [
" +- (?<currentValue>v\\d+\\.\\d+\\.\\d+) # renovate: kindest\\n"
],
"depNameTemplate": "kindest/node",
"datasourceTemplate": "docker"
}
],
"packageRules": [
{
"description": "Don't require approval for renovate major updates",
"matchPackageNames": ["ghcr.io/renovatebot/renovate"],
"matchDatasources": ["docker"],
"dependencyDashboardApproval": false
},
{
"matchFileNames": ["charts/renovate/README.md"],
"schedule": null,
"semanticCommitType": "chore",
"semanticCommitScope": "deps",
"additionalBranchPrefix": ""
},
{
"description": "Separate minor and patch updates for kindest",
"matchDepNames": ["kindest/node"],
"separateMinorPatch": true
},
{
"description": "Require approval and no automerge for kindest major and minor updates",
"matchDepNames": ["kindest/node"],
"matchUpdateTypes": ["major", "minor"],
"dependencyDashboardApproval": true,
"automerge": false
},
{
"description": "Trim leading v from version for helm-docs",
"matchDepNames": ["helm-docs"],
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+)$"
},
{
"description": "Use fix semantic commit scope for renovate updates",
"matchDepNames": [
"renovate/renovate",
"ghcr.io/renovatebot/renovate"
],
"semanticCommitType": "fix",
"semanticCommitScope": null
},
{
"description": "Workaround for azure/setup-helm action updates",
"matchDepTypes": ["action"],
"matchDepNames": ["azure/setup-helm"],
"extractVersion": "^(?<version>.+)$",
"versioning": "regex:^v(?<major>\\d+)(\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?)?$"
},
{
"matchFileNames": ["charts/**"],
"bumpVersions": [
{
"name": "Chart",
"filePatterns": ["{{packageFileDir}}/Chart.yaml"],
"matchStrings": ["version:\\s(?<version>\\d+\\.\\d+\\.\\d+)"],
"bumpType": "{{#if isPatch}}patch{{else}}{{#if isMajor}}major{{else}}minor{{/if}}{{/if}}"
},
{
"name": "README,text",
"filePatterns": ["{{packageFileDir}}/README.md"],
"matchStrings": ["\\[Version:\\s(?<version>\\d+\\.\\d+\\.\\d+)"],
"bumpType": "{{#if isPatch}}patch{{else}}{{#if isMajor}}major{{else}}minor{{/if}}{{/if}}"
},
{
"name": "README,badge",
"filePatterns": ["{{packageFileDir}}/README.md"],
"matchStrings": ["\\/Version-(?<version>\\d+\\.\\d+\\.\\d+)"],
"bumpType": "{{#if isPatch}}patch{{else}}{{#if isMajor}}major{{else}}minor{{/if}}{{/if}}"
}
]
}
],
"logLevelRemap": [
{
"matchMessage": "/bumpVersions/",
"newLogLevel": "debug"
}
]
}