-
Notifications
You must be signed in to change notification settings - Fork 157
Expand file tree
/
Copy pathrenovate.json
More file actions
88 lines (88 loc) · 2.85 KB
/
Copy pathrenovate.json
File metadata and controls
88 lines (88 loc) · 2.85 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": false,
"baseBranchPatterns": ["release-v1.40", "release-v1.42", "release-v1.43", "master"],
"prBodyTemplate": "{{{header}}}{{{table}}}{{{warnings}}}{{{notes}}}{{{changelogs}}}{{{controls}}}",
"separateMinorPatch": true,
"enabledManagers": ["gomod", "custom.regex"],
"prHourlyLimit": 20,
"prConcurrentLimit": 20,
"addLabels": ["docs-not-required", "release-note-not-required", "dependencies"],
"gomod": {
"managerFilePatterns": ["/^go\\.mod$/"]
},
"vulnerabilityAlerts": {
"enabled": true
},
"postUpdateOptions": ["gomodTidy"],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^go\\.mod$/", "/^api\\/go\\.mod$/"],
"matchStrings": ["\\ngo (?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "golang",
"datasourceTemplate": "golang-version"
},
{
"customType": "regex",
"managerFilePatterns": ["/^Makefile$/"],
"matchStrings": ["CALICO_BASE_VER\\s*\\??=\\s*(?<currentValue>ubi\\d+-\\d+)"],
"depNameTemplate": "calico/base",
"datasourceTemplate": "docker",
"versioningTemplate": "regex:^(?<compatibility>ubi\\d+)-(?<patch>\\d+)$"
},
{
"customType": "regex",
"managerFilePatterns": ["/^Makefile$/"],
"matchStrings": ["GO_VERSION\\s*\\??=\\s*(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "golang",
"datasourceTemplate": "golang-version"
},
{
"customType": "regex",
"managerFilePatterns": ["/^Makefile$/"],
"matchStrings": ["K8S_VERSION\\s*\\??=\\s*v(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "kubernetes/kubernetes",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*)$"
}
],
"packageRules": [
{
"description": "Disable all Go module updates",
"matchManagers": ["gomod"],
"enabled": false
},
{
"description": "Enable k8s.io dependencies",
"matchManagers": ["gomod"],
"matchPackageNames": ["k8s.io/**"],
"enabled": true
},
{
"description": "Enable golang.org/x libraries",
"matchManagers": ["gomod"],
"matchPackageNames": ["golang.org/x/**"],
"enabled": true
},
{
"description": "Block all minor, major, and digest updates",
"matchUpdateTypes": ["minor", "major", "digest"],
"enabled": false
},
{
"description": "Allow golang.org/x minor updates",
"matchPackageNames": ["golang.org/x/**"],
"matchUpdateTypes": ["minor"],
"enabled": true
},
{
"description": "Group all updates into one PR",
"matchPackageNames": ["*"],
"matchDepNames": ["*"],
"groupName": "dependency-updates"
}
]
}