forked from zarf-dev/zarf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
60 lines (60 loc) · 1.79 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
54
55
56
57
58
59
60
{
"extends": [
"config:base",
"group:allNonMajor"
],
"packageRules": [
{
"matchManagers": ["gomod","npm","github-actions", "cargo"],
"enabled": false
}
],
"platformAutomerge": true,
"platformCommit": true,
"regexManagers": [
{
"fileMatch": [
"(^|/)zarf.yaml$"
],
"matchStringsStrategy": "recursive",
"matchStrings": [
"(?m)charts:(.|\\n)*?(^\\s{4}[\\w:]+|\\n$|^\\s{2}-)",
"(?m)name:(.|\\n)+?(^\\s{4}[\\w\\-:]+|\\n$|^\\s{2}-)",
"(?m)name: (?<depName>.+)(.|\\n)*?url: (?<registryUrl>.+)(.|\\n)*?version: (?<currentValue>.+)"
],
"datasourceTemplate": "helm"
},
{
"fileMatch": [
"(^|/)zarf.yaml$"
],
"matchStringsStrategy": "recursive",
"matchStrings": [
"(?m)charts:(.|\\n)*?(^\\s{4}[\\w:]+|\\n$|^\\s{2}-)",
"(?m)name:(.|\\n)+?(^\\s{4}[\\w\\-:]+|\\n$|^\\s{2}-)",
"(?m)name: (?<depName>.+)(.|\\n)*?version: (?<currentValue>.+)(.|\\n)*?url: (?<registryUrl>.+)"
],
"datasourceTemplate": "helm"
},
{
"fileMatch": [
"(^|/)zarf.yaml$"
],
"matchStringsStrategy": "recursive",
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( registryUrl=(?<registryUrl>.*?))?\\s.*?version: (?<currentValue>.*)\\s"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"fileMatch": [
"(^|/)zarf.yaml$"
],
"matchStringsStrategy": "recursive",
"matchStrings": [
"https:\\/\\/github.com\\/(?<depName>[\\w\\/\\-\\.\\+\\%]+?)\\/releases\\/download\\/(?<currentValue>[\\w\\/\\-\\.\\+\\%]+?)\\/"
],
"datasourceTemplate": "github-releases"
}
]
}