-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
53 lines (52 loc) · 1.33 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
44
45
46
47
48
49
50
51
52
53
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":rebaseStalePrs"
],
"kubernetes": {
"fileMatch": ["\\.yaml$"]
},
"ansible": {
"fileMatch": [
"(^|/)tasks/[^/]+\\.ya?ml$",
"(^|/)playbook.ya?ml$"
]
},
"packageRules": [
{
"description": ["Custom versioning for minio"],
"versioning": "regex:^RELEASE\\.(?<major>\\d+)-(?<minor>\\d+)-(?<patch>\\d+)T.*Z$",
"matchPackagePatterns": ["minio/minio$"]
},
{
"matchDatasources": ["kubernetes"],
"updateTypes": [
"major",
"minor",
"patch"
]
},
{
"matchDatasources": ["docker"],
"updateTypes": [
"minor",
"patch"
]
}
],
"regexManagers": [
{
"fileMatch": ["playbook.ya?ml$"],
"matchStrings": [".+_image: \"(?<depName>.*?):(?<currentValue>.*?)\""],
"datasourceTemplate": "docker"
},
{
"fileMatch": [".*y[a]?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>docker)( versioning=(?<versioning>.*?))?\\s.+_image: \"(?<depName>.*?):(?<currentValue>.*)\"",
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_version: \"(?<currentValue>.*)\""
]
}
]
}