Skip to content

Commit 082165a

Browse files
committed
ci: update renovate config to current sytax rules
1 parent 7a4a26b commit 082165a

File tree

1 file changed

+88
-41
lines changed

1 file changed

+88
-41
lines changed

.github/renovate.json

Lines changed: 88 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,227 +1,274 @@
11
{
22
"branchPrefix": "renovate/",
3-
"dryRun": null,
43
"username": "renovate-release",
54
"gitAuthor": "Renovate Bot <bot@renovateapp.com>",
65
"onboarding": false,
76
"platform": "github",
87
"includeForks": true,
98
"repositories": ["rvolosatovs/docker-protobuf"],
10-
"enabledManagers": ["regex"],
11-
"regexManagers": [
9+
"enabledManagers": ["custom.regex"],
10+
"customManagers": [
1211
{
13-
"fileMatch": ["^deps\\.list$"],
12+
"customType": "regex",
13+
"managerFilePatterns": ["^deps\\.list$"],
1414
"matchStrings": ["ALPINE_IMAGE_VERSION=(?<currentValue>.*?)\\n"],
1515
"depNameTemplate": "alpine",
1616
"datasourceTemplate": "docker"
1717
},
1818
{
19-
"fileMatch": ["^deps\\.list$"],
19+
"customType": "regex",
20+
"managerFilePatterns": ["^deps\\.list$"],
2021
"matchStrings": ["DART_IMAGE_VERSION=(?<currentValue>.*?)\\n"],
2122
"depNameTemplate": "dart",
2223
"datasourceTemplate": "docker"
2324
},
2425
{
25-
"fileMatch": ["^deps\\.list$"],
26+
"customType": "regex",
27+
"managerFilePatterns": ["^deps\\.list$"],
2628
"matchStrings": ["GO_IMAGE_VERSION=(?<currentValue>.*?)\\n"],
2729
"depNameTemplate": "golang",
2830
"datasourceTemplate": "docker",
2931
"extractVersionTemplate": "^(?<version>.*)-alpine$"
3032
},
3133
{
32-
"fileMatch": ["^deps\\.list$"],
34+
"customType": "regex",
35+
"managerFilePatterns": ["^deps\\.list$"],
3336
"matchStrings": ["GOOGLE_API_VERSION=(?<currentDigest>.*?)\\n"],
3437
"depNameTemplate": "https://github.com/googleapis/googleapis",
3538
"datasourceTemplate": "git-refs",
3639
"currentValueTemplate": "master"
3740
},
3841
{
39-
"fileMatch": ["^deps\\.list$"],
42+
"customType": "regex",
43+
"managerFilePatterns": ["^deps\\.list$"],
4044
"matchStrings": ["GRPC_GATEWAY_VERSION=(?<currentValue>.*?)\\n"],
4145
"depNameTemplate": "grpc-ecosystem/grpc-gateway",
4246
"datasourceTemplate": "github-releases"
4347
},
4448
{
45-
"fileMatch": ["^deps\\.list$"],
49+
"customType": "regex",
50+
"managerFilePatterns": ["^deps\\.list$"],
4651
"matchStrings": ["GRPC_RUST_VERSION=(?<currentValue>.*?)\\n"],
4752
"depNameTemplate": "stepancheg/grpc-rust",
4853
"datasourceTemplate": "github-tags"
4954
},
5055
{
51-
"fileMatch": ["^deps\\.list$"],
56+
"customType": "regex",
57+
"managerFilePatterns": ["^deps\\.list$"],
5258
"matchStrings": ["PROTOC_GEN_GRPC_SWIFT_VERSION=(?<currentValue>.*?)\\n"],
5359
"depNameTemplate": "grpc/grpc-swift-protobuf",
54-
"datasourceTemplate": "github-releases",
55-
"allowedVersions": "/^1\\./"
60+
"datasourceTemplate": "github-releases"
5661
},
5762
{
58-
"fileMatch": ["^deps\\.list$"],
63+
"customType": "regex",
64+
"managerFilePatterns": ["^deps\\.list$"],
5965
"matchStrings": ["PROTOC_GEN_GRPC_SWIFT_2_VERSION=(?<currentValue>.*?)\\n"],
6066
"depNameTemplate": "grpc/grpc-swift-protobuf",
61-
"datasourceTemplate": "github-releases",
62-
"allowedVersions": "/^2\\./"
67+
"datasourceTemplate": "github-releases"
6368
},
6469
{
65-
"fileMatch": ["^deps\\.list$"],
70+
"customType": "regex",
71+
"managerFilePatterns": ["^deps\\.list$"],
6672
"matchStrings": ["PROTOC_GEN_SWIFT_VERSION=(?<currentValue>.*?)\\n"],
6773
"depNameTemplate": "apple/swift-protobuf",
6874
"datasourceTemplate": "github-releases"
6975
},
7076
{
71-
"fileMatch": ["^deps\\.list$"],
77+
"customType": "regex",
78+
"managerFilePatterns": ["^deps\\.list$"],
7279
"matchStrings": ["GRPC_WEB_VERSION=(?<currentValue>.*?)\\n"],
7380
"depNameTemplate": "grpc/grpc-web",
7481
"datasourceTemplate": "github-releases"
7582
},
7683
{
77-
"fileMatch": ["^deps\\.list$"],
84+
"customType": "regex",
85+
"managerFilePatterns": ["^deps\\.list$"],
7886
"matchStrings": ["NODE_IMAGE_VERSION=(?<currentValue>.*?)-alpine3.17\\n"],
7987
"depNameTemplate": "node",
8088
"datasourceTemplate": "node",
8189
"versioningTemplate": "node"
8290
},
8391
{
84-
"fileMatch": ["^deps\\.list$"],
92+
"customType": "regex",
93+
"managerFilePatterns": ["^deps\\.list$"],
8594
"matchStrings": ["PROTOC_GEN_BQ_SCHEMA_VERSION=(?<currentValue>.*?)\\n"],
8695
"depNameTemplate": "googlecloudplatform/protoc-gen-bq-schema",
8796
"datasourceTemplate": "github-releases"
8897
},
8998
{
90-
"fileMatch": ["^deps\\.list$"],
99+
"customType": "regex",
100+
"managerFilePatterns": ["^deps\\.list$"],
91101
"matchStrings": ["PROTOC_GEN_DART_VERSION=(?<currentValue>.*?)\\n"],
92102
"depNameTemplate": "google/protobuf.dart",
93103
"datasourceTemplate": "github-tags",
94104
"extractVersionTemplate": "^protoc_plugin-(?<version>.*)$"
95105
},
96106
{
97-
"fileMatch": ["^deps\\.list$"],
107+
"customType": "regex",
108+
"managerFilePatterns": ["^deps\\.list$"],
98109
"matchStrings": ["PROTOC_GEN_DOC_VERSION=(?<currentValue>.*?)\\n"],
99110
"depNameTemplate": "pseudomuto/protoc-gen-doc",
100111
"datasourceTemplate": "github-releases"
101112
},
102113
{
103-
"fileMatch": ["^deps\\.list$"],
114+
"customType": "regex",
115+
"managerFilePatterns": ["^deps\\.list$"],
104116
"matchStrings": ["PROTOC_GEN_GO_GRPC_VERSION=(?<currentValue>.*?)\\n"],
105117
"depNameTemplate": "grpc/grpc-go",
106118
"datasourceTemplate": "github-releases"
107119
},
108120
{
109-
"fileMatch": ["^deps\\.list$"],
121+
"customType": "regex",
122+
"managerFilePatterns": ["^deps\\.list$"],
110123
"matchStrings": ["PROTOC_GEN_GO_VERSION=(?<currentValue>.*?)\\n"],
111124
"depNameTemplate": "protocolbuffers/protobuf-go",
112125
"datasourceTemplate": "github-releases"
113126
},
114127
{
115-
"fileMatch": ["^deps\\.list$"],
128+
"customType": "regex",
129+
"managerFilePatterns": ["^deps\\.list$"],
116130
"matchStrings": ["PROTOC_GEN_GOGO_VERSION=(?<currentValue>.*?)\\n"],
117131
"depNameTemplate": "gogo/protobuf",
118132
"datasourceTemplate": "github-releases"
119133
},
120134
{
121-
"fileMatch": ["^deps\\.list$"],
135+
"customType": "regex",
136+
"managerFilePatterns": ["^deps\\.list$"],
122137
"matchStrings": ["PROTOC_GEN_GORM_VERSION=(?<currentValue>.*?)\\n"],
123138
"depNameTemplate": "infobloxopen/protoc-gen-gorm",
124139
"datasourceTemplate": "github-releases"
125140
},
126141
{
127-
"fileMatch": ["^deps\\.list$"],
142+
"customType": "regex",
143+
"managerFilePatterns": ["^deps\\.list$"],
128144
"matchStrings": ["PROTOC_GEN_GOTEMPLATE_VERSION=(?<currentValue>.*?)\\n"],
129145
"depNameTemplate": "moul/protoc-gen-gotemplate",
130146
"datasourceTemplate": "github-releases"
131147
},
132148
{
133-
"fileMatch": ["^deps\\.list$"],
149+
"customType": "regex",
150+
"managerFilePatterns": ["^deps\\.list$"],
134151
"matchStrings": ["PROTOC_GEN_GOVALIDATORS_VERSION=(?<currentValue>.*?)\\n"],
135152
"depNameTemplate": "mwitkow/go-proto-validators",
136153
"datasourceTemplate": "github-releases"
137154
},
138155
{
139-
"fileMatch": ["^deps\\.list$"],
156+
"customType": "regex",
157+
"managerFilePatterns": ["^deps\\.list$"],
140158
"matchStrings": ["PROTOC_GEN_GQL_VERSION=(?<currentValue>.*?)\\n"],
141159
"depNameTemplate": "danielvladco/go-proto-gql",
142160
"datasourceTemplate": "github-releases"
143161
},
144162
{
145-
"fileMatch": ["^deps\\.list$"],
163+
"customType": "regex",
164+
"managerFilePatterns": ["^deps\\.list$"],
146165
"matchStrings": ["PROTOC_GEN_JS_VERSION=(?<currentValue>.*?)\\n"],
147166
"depNameTemplate": "protocolbuffers/protobuf-javascript",
148167
"datasourceTemplate": "github-releases"
149168
},
150169
{
151-
"fileMatch": ["^deps\\.list$"],
170+
"customType": "regex",
171+
"managerFilePatterns": ["^deps\\.list$"],
152172
"matchStrings": ["PROTOC_GEN_JSONSCHEMA_VERSION=(?<currentValue>.*?)\\n"],
153173
"depNameTemplate": "chrusty/protoc-gen-jsonschema",
154174
"datasourceTemplate": "github-releases"
155175
},
156176
{
157-
"fileMatch": ["^deps\\.list$"],
177+
"customType": "regex",
178+
"managerFilePatterns": ["^deps\\.list$"],
158179
"matchStrings": ["PROTOC_GEN_LINT_VERSION=(?<currentValue>.*?)\\n"],
159180
"depNameTemplate": "ckaznocha/protoc-gen-lint",
160181
"datasourceTemplate": "github-releases"
161182
},
162183
{
163-
"fileMatch": ["^deps\\.list$"],
184+
"customType": "regex",
185+
"managerFilePatterns": ["^deps\\.list$"],
164186
"matchStrings": ["PROTOC_GEN_NANOPB_VERSION=(?<currentValue>.*?)\\n"],
165187
"depNameTemplate": "nanopb",
166188
"datasourceTemplate": "pypi"
167189
},
168190
{
169-
"fileMatch": ["^deps\\.list$"],
191+
"customType": "regex",
192+
"managerFilePatterns": ["^deps\\.list$"],
170193
"matchStrings": ["PROTOC_GEN_RUST_VERSION=(?<currentValue>.*?)\\n"],
171194
"depNameTemplate": "stepancheg/rust-protobuf",
172195
"datasourceTemplate": "github-tags"
173196
},
174197
{
175-
"fileMatch": ["^deps\\.list$"],
198+
"customType": "regex",
199+
"managerFilePatterns": ["^deps\\.list$"],
176200
"matchStrings": ["PROTOC_GEN_SCALA_VERSION=(?<currentValue>.*?)\\n"],
177201
"depNameTemplate": "scalapb/ScalaPB",
178202
"datasourceTemplate": "github-releases"
179203
},
180204
{
181-
"fileMatch": ["^deps\\.list$"],
205+
"customType": "regex",
206+
"managerFilePatterns": ["^deps\\.list$"],
182207
"matchStrings": ["PROTOC_GEN_TS_VERSION=(?<currentValue>.*?)\\n"],
183208
"depNameTemplate": "ts-protoc-gen",
184209
"datasourceTemplate": "npm"
185210
},
186211
{
187-
"fileMatch": ["^deps\\.list$"],
212+
"customType": "regex",
213+
"managerFilePatterns": ["^deps\\.list$"],
188214
"matchStrings": ["PROTOC_GEN_VALIDATE_VERSION=(?<currentValue>.*?)\\n"],
189215
"depNameTemplate": "bufbuild/protoc-gen-validate",
190216
"datasourceTemplate": "github-releases"
191217
},
192218
{
193-
"fileMatch": ["^deps\\.list$"],
219+
"customType": "regex",
220+
"managerFilePatterns": ["^deps\\.list$"],
194221
"matchStrings": ["PROTOC_GEN_OPENAPI_VERSION=(?<currentValue>.*?)\\n"],
195222
"depNameTemplate": "solo-io/protoc-gen-openapi",
196223
"datasourceTemplate": "github-releases"
197224
},
198225
{
199-
"fileMatch": ["^deps\\.list$"],
226+
"customType": "regex",
227+
"managerFilePatterns": ["^deps\\.list$"],
200228
"matchStrings": ["RUST_IMAGE_VERSION=(?<currentValue>.*?)\\n"],
201229
"depNameTemplate": "rust",
202230
"datasourceTemplate": "docker",
203231
"versioningTemplate": "docker"
204232
},
205233
{
206-
"fileMatch": ["^deps\\.list$"],
234+
"customType": "regex",
235+
"managerFilePatterns": ["^deps\\.list$"],
207236
"matchStrings": ["SWIFT_IMAGE_VERSION=(?<currentValue>.*?)\\n"],
208237
"depNameTemplate": "swift",
209238
"datasourceTemplate": "docker",
210239
"versioningTemplate": "docker"
211240
},
212241
{
213-
"fileMatch": ["^deps\\.list$"],
242+
"customType": "regex",
243+
"managerFilePatterns": ["^deps\\.list$"],
214244
"matchStrings": ["UPX_VERSION=(?<currentValue>.*?)\\n"],
215245
"depNameTemplate": "upx/upx",
216246
"datasourceTemplate": "github-releases",
217247
"extractVersionTemplate": "^v(?<version>.*)$"
218248
},
219249
{
220-
"fileMatch": ["^deps\\.list$"],
250+
"customType": "regex",
251+
"managerFilePatterns": ["^deps\\.list$"],
221252
"matchStrings": ["XX_IMAGE_VERSION=(?<currentValue>.*?)\\n"],
222253
"depNameTemplate": "tonistiigi/xx",
223254
"datasourceTemplate": "docker",
224255
"versioningTemplate": "docker"
225256
}
257+
],
258+
"packageRules": [
259+
{
260+
"matchDatasources": ["github-releases"],
261+
"matchPackageNames": ["grpc/grpc-swift-protobuf"],
262+
"matchFileNames": ["deps.list"],
263+
"matchStrings": ["PROTOC_GEN_GRPC_SWIFT_VERSION="],
264+
"allowedVersions": "/^1\\./"
265+
},
266+
{
267+
"matchDatasources": ["github-releases"],
268+
"matchPackageNames": ["grpc/grpc-swift-protobuf"],
269+
"matchFileNames": ["deps.list"],
270+
"matchStrings": ["PROTOC_GEN_GRPC_SWIFT_2_VERSION="],
271+
"allowedVersions": "/^2\\./"
272+
}
226273
]
227274
}

0 commit comments

Comments
 (0)