-
Notifications
You must be signed in to change notification settings - Fork 197
Expand file tree
/
Copy pathrenovate.json
More file actions
208 lines (208 loc) · 6.63 KB
/
renovate.json
File metadata and controls
208 lines (208 loc) · 6.63 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommitTypeAll(chore)"
],
"enabledManagers": [
"custom.regex",
"gomod"
],
"schedule": [
"before 5am on monday"
],
"labels": [
"kind/dependency-bump",
"priority/important-longterm"
],
"packageRules": [
{
"description": "Image references in assets/config/config.yaml should be updated every weekday",
"matchDatasources": [
"docker"
],
"matchFileNames": [
"assets/config/config.yaml"
],
"schedule": [
"before 5am every weekday"
]
},
{
"description": "scylla-manager and scylla-manager-agent must be updated together",
"matchDepNames": [
"scylla-manager",
"scylla-manager-agent"
],
"groupName": "scylla-manager"
},
{
"description": "go.mod dependencies should be updated together",
"matchManagers": [
"gomod"
],
"postUpdateOptions": [
"gomodTidy",
"gomodVendor",
"gomodUpdateImportPaths"
],
"groupName": "gomod"
},
{
"description": "go.mod dependencies that should not be updated (rule auto-generated by make update-renovate-config)",
"matchPackageNames": [
"github.com/gocql/gocql",
"github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring",
"github.com/prometheus-operator/prometheus-operator/pkg/client"
],
"enabled": false
},
{
"description": "cert-manager dependency should be updated every weekday",
"matchDepNames": [
"cert-manager"
],
"schedule": [
"before 5am every weekday"
],
"addLabels": [
"do-not-merge/hold"
],
"prBodyNotes": [
"### ⚠️ Manual Action Required",
"Renovate has bumped the cert-manager dependency, but cannot automatically regenerate the manifests.",
"",
"**Please complete the following steps before merging:**",
"1. Check out this branch locally.",
"2. Propagate changes by running:",
" ```bash",
" make update",
" git add examples/third-party/cert-manager.yaml",
" git commit --amend && git push --force",
" ```",
"3. Remove the `do-not-merge/hold` label."
]
},
{
"description": "Monitoring dependencies should be grouped and updated every weekday",
"matchDepNames": [
"scylladb/scylla-monitoring",
"prometheus-operator"
],
"groupName": "monitoring",
"schedule": [
"before 5am every weekday"
]
},
{
"description": "Dockerfile base images should be updated every weekday",
"matchDatasources": [
"docker"
],
"matchFileNames": [
"Dockerfile"
],
"schedule": [
"before 5am every weekday"
]
},
{
"description": "ScyllaDB dependency bump in config.yaml requires manual action",
"matchDepNames": [
"scylladb"
],
"matchFileNames": [
"assets/config/config.yaml"
],
"addLabels": [
"do-not-merge/hold"
],
"prBodyNotes": [
"### ⚠️ Manual Action Required",
"Renovate has bumped a ScyllaDB dependency, but cannot automatically propagate all required changes.",
"",
"**Please complete the following steps before merging:**",
"1. Check out this branch locally.",
"2. Update `operatorTests.scyllaDBVersions.updateFrom` and `operatorTests.scyllaDBVersions.upgradeFrom` fields in `assets/config/config.yaml`.",
"3. Propagate changes by running:",
" ```bash",
" make update",
" git add .",
" git commit --amend && git push --force",
" ```",
"4. Remove the `do-not-merge/hold` label."
]
},
{
"matchManagers": [
"regex"
],
"matchDepNames": [
"scylladb/scylla-monitoring"
],
"addLabels": [
"do-not-merge/hold"
],
"prBodyNotes": [
"### ⚠️ Manual Action Required",
"Renovate has detected a new GitHub Release for `scylla-monitoring`, but cannot automatically update the Git submodule's commit and update sub-dependencies.",
"",
"**Please complete the following steps before merging:**",
"1. Check out this branch locally.",
"2. Update the submodule and sub-dependencies:",
" ```bash",
" cd submodules/github.com/scylladb/scylla-monitoring",
" git fetch --tags",
" git checkout tags/{{{newValue}}}",
" cd ../../../..",
" git add submodules/github.com/scylladb/scylla-monitoring",
" make update",
" git add .",
" git commit --amend && git push --force",
" ```",
"3. Remove the `do-not-merge/hold` label."
]
}
],
"customManagers": [
{
"description": "Custom manager for dependencies defined in assets/config/config.yaml with Renovate annotations matching the regex.",
"customType": "regex",
"managerFilePatterns": [
"/^assets/config/config\\.yaml$/"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)(\\s+packageName=(?<packageName>\\S+))?(\\s+registryUrl=(?<registryUrl>\\S+))?(\\s+versioning=(?<versioning>\\S+))?\\s*\\n\\s*\\S+:\\s*\"?(?<currentValue>[^@\"\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?"
]
},
{
"description": "Custom manager for Dockerfile with Renovate annotations matching the regex.",
"customType": "regex",
"fileMatch": [
"^Dockerfile$"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>\\S+)\\s+depName=(?<depName>\\S+)(\\s+packageName=(?<packageName>\\S+))?(\\s+registryUrl=(?<registryUrl>\\S+))?(\\s+versioning=(?<versioning>\\S+))?\\s*\\nFROM\\s+\\S+:(?<currentValue>\\S+)"
]
},
{
"description": "Custom manager for git submodules with Renovate annotations matching the regex.",
"customType": "regex",
"fileMatch": [
"^\\.gitmodules$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+) depName=(?<depName>[^\\s]+)\\s+branch = (?<currentValue>.*)"
]
}
],
"customDatasources": {
"envtest": {
"defaultRegistryUrlTemplate": "https://raw.githubusercontent.com/kubernetes-sigs/controller-tools/HEAD/envtest-releases.yaml",
"format": "yaml",
"transformTemplates": [
"{ \"releases\": $map($keys(releases), function($v) { { \"version\": $v } }) }"
]
}
}
}