-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathrenovate.json
More file actions
102 lines (102 loc) · 3.39 KB
/
Copy pathrenovate.json
File metadata and controls
102 lines (102 loc) · 3.39 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": false,
"baseBranchPatterns": ["release-v3.31", "release-v3.32", "master"],
"prBodyTemplate": "{{{header}}}{{{table}}}{{{warnings}}}{{{notes}}}{{{changelogs}}}{{{controls}}}",
"separateMinorPatch": true,
"enabledManagers": ["gomod", "custom.regex", "npm"],
"prHourlyLimit": 20,
"prConcurrentLimit": 20,
"addLabels": ["docs-not-required", "release-note-not-required", "dependencies", "merge-when-ready", "delete-branch", "skip-bot-cherry-pick"],
"gomod": {
"managerFilePatterns": ["/^go\\.mod$/"]
},
"vulnerabilityAlerts": {
"enabled": true
},
"postUpdateOptions": ["gomodTidy"],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^metadata\\.mk$/"],
"matchStrings": ["GO_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "golang",
"datasourceTemplate": "golang-version"
},
{
"customType": "regex",
"managerFilePatterns": ["/^go\\.mod$/", "/^api\\/go\\.mod$/", "/^lib\\/std\\/go\\.mod$/", "/^lib\\/httpmachinery\\/go\\.mod$/", "/^lib\\/datastructures\\/go\\.mod$/"],
"matchStrings": ["\\ngo (?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "golang",
"datasourceTemplate": "golang-version"
},
{
"customType": "regex",
"managerFilePatterns": ["/^metadata\\.mk$/"],
"matchStrings": ["K8S_VERSION=v(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "kubernetes/kubernetes",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"managerFilePatterns": ["/^metadata\\.mk$/"],
"matchStrings": ["CALICO_BASE_VER=(?<currentValue>ubi\\d+-\\d+)"],
"depNameTemplate": "calico/base",
"datasourceTemplate": "docker",
"versioningTemplate": "regex:^(?<compatibility>ubi\\d+)-(?<patch>\\d+)$"
}
],
"packageRules": [
{
"description": "Disable all Go module updates",
"matchManagers": ["gomod"],
"enabled": false
},
{
"description": "Disable all npm updates",
"matchManagers": ["npm"],
"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"
},
{
"description": "Run gen-deps-files on selected branches only",
"matchBaseBranches": ["release-v3.31", "release-v3.32", "master"],
"postUpgradeTasks": {
"commands": ["make gen-deps-files"],
"fileFilters": ["**/deps.txt"],
"executionMode": "branch"
}
}
]
}