-
-
Notifications
You must be signed in to change notification settings - Fork 525
Expand file tree
/
Copy pathrenovate.json
More file actions
64 lines (64 loc) · 1.5 KB
/
renovate.json
File metadata and controls
64 lines (64 loc) · 1.5 KB
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
61
62
63
64
{
"extends": [
"config:recommended"
],
"packageRules": [
{
"matchManagers": [
"gomod"
],
"enabled": true,
"matchFileNames": [
".",
"docgen",
"tools"
]
},
{
"matchManagers": [
"dockerfile"
],
"enabled": true,
"matchFileNames": [
".",
"tools",
"proxy"
]
},
{
"matchPackageNames": [
"k3s"
],
"enabled": true,
"branchName": "renovate/k3s-{{newVersion}}"
},
{
"automerge": true,
"automergeType": "pr",
"automergeStrategy": "squash",
"matchPackageNames": [
"*"
]
}
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^version\\/version.go$/"],
"matchStrings": [
"var K3sVersion = \"(?<currentValue>v[0-9a-zA-Z\\.-]+-k3s[0-9]*)\""
],
"depNameTemplate": "k3s",
"versioningTemplate": "loose",
"datasourceTemplate": "custom.k3s"
}
],
"customDatasources": {
"k3s": {
"defaultRegistryUrlTemplate": "https://update.k3s.io/v1-release/channels",
"transformTemplates": [
"{\"releases\":[{\"version\": $replace($$.(data[id = 'stable'].latest), '+', '-'),\"sourceUrl\":\"https://github.com/k3s-io/k3s\",\"changelogUrl\":$join([\"https://github.com/k3s-io/k3s/releases/tag/\",data[id = 'stable'].latest])}],\"sourceUrl\": \"https://github.com/k3s-io/k3s\",\"homepage\": \"https://k3s.io/\"}"
]
}
}
}