-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrenovate.json
43 lines (43 loc) · 1.14 KB
/
renovate.json
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"ignorePresets": [
":ignoreModulesAndTests"
],
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
"**/tests/**",
"**/__fixtures__/**"
],
"customManagers": [
{
"customType": "regex",
"description": "Update docker references in integration test Java files",
"fileMatch": [
"\\.java$"
],
"matchStrings": [
"\\/\\/\\s*renovate:\\s*image=(?<depName>[^\\s]+)( versioning=(?<versioning>.*?))?\\s*\\n[^\"]+\\s*=\\s*\"(?<currentValue>[^@\"]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\""
],
"datasourceTemplate": "docker",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}docker{{/if}}"
}
],
"packageRules": [
{
"matchDatasources": [
"docker"
],
"matchPackageNames": [
"ubuntu/squid"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)-(?<patch>\\d+)\\.(?<revision>\\d+)(_(?<compatibility>\\w+))?$"
}
]
}