-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrenovate.json5
More file actions
144 lines (144 loc) · 4.14 KB
/
Copy pathrenovate.json5
File metadata and controls
144 lines (144 loc) · 4.14 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
gitAuthor: 'cybozu-neco <neco@cybozu.com>',
extends: [
'config:best-practices',
'github>aquaproj/aqua-renovate-config#2.12.1',
':semanticCommitTypeAll(chore)',
':timezone(Asia/Tokyo)',
],
labels: [
'dependencies',
],
minimumReleaseAge: '14 days',
prConcurrentLimit: 5,
branchConcurrentLimit: 5,
prHourlyLimit: 5,
dependencyDashboard: true,
enabledManagers: [
'custom.regex',
'dockerfile',
'gomod',
'github-actions',
'renovate-config',
],
packageRules: [
{
description: 'Enable tools in aqua.yaml',
enabled: true,
matchDatasources: ['github-tags'],
// kubernetes/code-generator has version tags but no GitHub Releases.
// Re-enable github-tags only for these tools.
// FYI: https://github.com/aquaproj/aqua-renovate-config/blob/d0ba359d63e8b70eed7370f1a39adc536127118c/default.json#L649
matchDepNames: [
'kubernetes/code-generator/applyconfiguration-gen',
'kubernetes/code-generator/conversion-gen',
],
matchFileNames: [
'aqua.yaml',
],
},
{
description: 'Group all dependencies updates',
groupName: 'all dependencies updates',
groupSlug: 'all-dependencies-updates',
matchManagers: [
'custom.regex',
'dockerfile',
'gomod',
'github-actions',
],
separateMajorMinor: true,
},
{
description: 'Group Go Kubernetes dependencies updates',
groupName: 'kubernetes dependencies',
groupSlug: 'kubernetes-dependencies',
matchManagers: [
'gomod',
],
matchPackageNames: [
'/^k8s\\.io\\/.*/',
'/^sigs\\.k8s\\.io\\/.*/',
],
separateMajorMinor: true,
separateMinorPatch: true,
},
{
description: 'Group Kubernetes dependencies updates',
groupName: 'kubernetes dependencies',
groupSlug: 'kubernetes-dependencies',
matchFileNames: [
'aqua.yaml',
],
matchPackageNames: [
'/^kubernetes-sigs\\/.*/',
'/^kubernetes\\/.*/',
],
separateMajorMinor: true,
separateMinorPatch: true,
},
{
description: 'Group Kubernetes image updates',
groupName: 'kubernetes dependencies',
groupSlug: 'kubernetes-dependencies',
matchPackageNames: [
'kindest/node',
],
separateMajorMinor: true,
separateMinorPatch: true,
},
{
description: 'Disable major/minor updates for Kubernetes related dependencies',
matchPackageNames: [
'/^k8s\\.io\\/.*/',
'/^sigs\\.k8s\\.io\\/.*/',
'/^kubernetes-sigs\\/.*/',
'/^kubernetes\\/.*/',
'kindest/node',
],
matchUpdateTypes: [
'major',
'minor',
],
enabled: false,
},
],
postUpdateOptions: [
'gomodTidy',
'gomodUpdateImportPaths',
],
postUpgradeTasks: {
"commands": ["/usr/local/bin/aqua update-checksum --prune"],
"fileFilters": ["aqua-checksums.json"],
"executionMode": "branch"
},
customManagers: [
{
customType: 'regex',
datasourceTemplate: 'docker',
depNameTemplate: 'kindest/node',
managerFilePatterns: [
'/^\\.github\\/workflows\\/.+\\.ya?ml$/',
'e2e/Makefile',
],
matchStrings: [
'- (?<currentValue>[^@\\s]+)@(?<currentDigest>sha256:[a-f0-9]+) # renovate: kindest\\/node',
'# renovate:\\n+KUBERNETES_VERSION\\s*:?=\\s*["\']?(?<currentValue>[^@"\'\\s]+)@(?<currentDigest>sha256:[a-f0-9]+)["\']?',
],
},
{
customType: 'regex',
datasourceTemplate: 'helm',
registryUrlTemplate: 'https://charts.jetstack.io',
managerFilePatterns: [
'/^e2e\/Makefile$/',
'/^\\.github\\/workflows\\/.+\\.ya?ml$/',
],
matchStrings: [
'# renovate: datasource=helm registryUrl=https://charts.jetstack.io depName=(?<depName>[^\\s]+)\\nCERT_MANAGER_VERSION = (?<currentValue>v[^\\s]+)',
'# renovate: datasource=helm registryUrl=https://charts.jetstack.io depName=(?<depName>[^\\s]+)\\n\\s+CERT_MANAGER_VERSION: (?<currentValue>v[^\\s]+)',
],
},
],
}