-
Notifications
You must be signed in to change notification settings - Fork 8
/
renovate.json
120 lines (120 loc) · 4.38 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabled": true,
"configMigration": true,
"assigneesFromCodeOwners": true,
"prConcurrentLimit": 10,
"extends": [
"config:recommended",
"default:semanticCoåmmitTypeAll(ci)",
"default:automergeLinters",
"default:docker",
"default:enableVulnerabilityAlertsWithLabel(CRITICAL)",
"docker:pinDigests",
"workarounds:all"
],
"packageRules": [
{
"description": "group and label patch updates - could be automerged in the future",
"matchUpdateTypes": [
"patch"
],
"automerge": false,
"groupName": "all patch dependencies",
"groupSlug": "patch",
"addLabels": [
"patch",
"proposalForAutomerge"
]
},
{
"description": "group and label minor updates - wait 1 days before creating the PR",
"automerge": false,
"groupName": "all minor dependencies",
"groupSlug": "minor",
"matchUpdateTypes": [
"minor"
],
"addLabels": [
"minor",
"proposalForAutomerge"
],
"minimumReleaseAge": "1 days"
},
{
"description": "label major updates - wait 3 days before creating the PR",
"matchUpdateTypes": [
"major"
],
"addLabels": [
"major"
],
"minimumReleaseAge": "3 days"
},
{
"description": "add devops-label for docker-stuff",
"groupName": "All devops dependencies",
"groupSlug": "devops",
"matchDatasources": [
"docker",
"helm",
"gitlab-tags"
],
"addLabels": [
"devops"
]
},
{
"description": "add a label for suggested automerge MRs",
"matchPackageNames": ["data-services/devops/ci-templates"],
"automerge": false,
"addLabels": [
"ProposalForAutomerge"
],
"minimumReleaseAge": "0 days"
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s(?:ENV|ARG)\\s+[A-Za-z0-9_]+?_VERSION[ =][\"']?(?<currentValue>.+?)[\"']?\\s"
]
},
{
"customType": "regex",
"fileMatch": [
"\\.gitlab-ci\\.ya?ml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
},
{
"customType": "regex",
"datasourceTemplate": "docker",
"fileMatch": [
"(^|/)Chart\\.yaml$"
],
"matchStrings": [
"#\\s*renovate: image=(?<depName>.*?)\\s+appVersion:\\s*[\"']?(?<currentValue>[\\w+\\.\\-]*)"
]
},
{
"customType": "regex",
"fileMatch": [
"(^|/)Makefile$",
"(^|/)makefile$",
"(^|/)GNUMakefile$",
"\\.mk$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:*\\??=\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
}
]
}