-
Notifications
You must be signed in to change notification settings - Fork 12
/
renovate.json
57 lines (53 loc) · 1.81 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
":disableRateLimiting"
],
"ignorePaths": [
"packages/**",
"releases/**",
"manifests/**",
"jobs/**"
],
"packageRules": [
{
"matchDatasources": ["github-releases"],
"matchManagers": ["regex"],
"matchPaths": ["vendir.yml"],
"addLabels": ["vendir", "github-release"]
},
{
"matchDatasources": ["github-tags"],
"matchManagers": ["regex"],
"matchPaths": ["vendir.yml"],
"addLabels": ["vendir", "github-tags"]
},
{
"description": "Get distinct branches for each minor, e.g. 1.22.x and 1.23.x. See https://docs.renovatebot.com/presets-default/#separatepatchreleases and https://docs.renovatebot.com/faq/#separate-patch-releases-from-minor-releases",
"matchPackageNames": [
"k3s-io/k3s"
],
"separatePatchReleases": true
}
],
"regexManagers": [
{
"description": "https://regex101.com/r/ms9hZL/1 for matchstring and https://regex101.com/r/NVqoci/1 for version",
"fileMatch": ["vendir.yml$"],
"matchStrings": [
" +githubRelease:\\n +slug: (?<depName>[a-z0-9\\.\\/\\-]*?)\\n +tag: (?<currentValue>[a-z0-9\\.\\/\\-\\+]*?) *\\n"
],
"datasourceTemplate": "github-releases",
"versioningTemplate": "regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(-(?<build>[a-z0-9]+))?(\\+(?<compatibility>[a-z0-9]+))?$"
},
{
"fileMatch": ["vendir.yml$"],
"matchStrings": [
" +git:\\n +url: https:\\/\\/github\\.com\\/(?<depName>[a-z0-9\\.\\/\\-:]*?)\\n +ref: (?<currentValue>[a-z0-9\\.\\/\\-\\+]*?) *\\n"
],
"datasourceTemplate": "github-tags",
"versioningTemplate": "regex:v?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)?$"
}
]
}