-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
144 lines (144 loc) · 4.14 KB
/
renovate.json5
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"enabled": false,
"hostRules": [
],
"extends": [
"config:base",
":semanticCommits",
":label(dependencies)",
":prImmediately",
":rebaseStalePrs",
":automergeDisabled",
":disableRateLimiting"
],
"circleci": {
"enabled": true,
"additionalBranchPrefix": "circleci/",
"addLabels": ["circleci"],
"packageRules": [
{
"description": "All orbs in one PR",
"matchDatasources": ["orb"],
"groupName": "circleci orbs",
"groupSlug": "orbs"
}
]
},
"docker": {
"enabled": true,
"additionalBranchPrefix": "docker/",
"addLabels": ["docker"]
},
"js": {
"enabled": true,
"additionalBranchPrefix": "js/",
"addLabels": ["javascript"],
"packageRules": [
{
"description": "All Snowplow monorepo dependencies in one PR",
"matchPackagePrefixes": ["@snowplow/"],
"groupName": "snowplow monorepo"
},
{
"description": "All Testing Library monorepo dependencies in one PR",
"matchPackagePrefixes": ["@testing-library/"],
"groupName": "testing-library monorepo"
},
{
"description": "Ignore 'serverless' packages as we are going to deprecate it",
"matchPackagePrefixes": ["serverless"],
"enabled": false
}
]
},
"python": {
"enabled": true,
"additionalBranchPrefix": "python/",
"addLabels": ["python"],
"packageRules": [
{
"description": "All dev dependencies in one PR",
"matchDepTypes": ["dev-dependencies"],
"groupName": "python dev dependencies",
"groupSlug": "dev-dependencies"
},
{
"description": "Ignore 'arrow' updates till it is properly migrated",
"matchPackageNames": ["arrow"],
"enabled": false
},
{
"description": "Ignore major updates of the following packages till they are properly migrated",
"matchPackageNames": ["fastapi-sqla", "pyramid"],
"matchUpdateTypes": ["major"],
"enabled": false
},
{
"description": "Ignore major updates of the following packages because they depend on the above packages that need proper migration",
"matchPackageNames": ["jsonschema", "pyramid_multiauth"],
"matchUpdateTypes": ["major"],
"enabled": false
}
],
"lockFileMaintenance": {
"enabled": true
}
},
"pre-commit": {
"enabled": true,
"additionalBranchPrefix": "pre-commit/",
"addLabels": ["pre-commit"],
"versioning": "loose",
"packageRules": [
{
"description": "All pre-commit hooks in one PR",
"matchPackagePatterns": ["*"],
"groupName": "pre-commit hooks",
"groupSlug": "hooks"
}
]
},
"regexManagers": [
{
"fileMatch": ["^(?:app|job)\\.ya?ml$"],
"matchStringsStrategy": "any",
"matchStrings": [
"\
(?<depName>\\S+):\\n\
\\s*version:\\s*(?<currentValue>\\S+)\\n\
\\s*repo:\\s*\"(?<appscodeRepo>@appscode)?(?<bitnamiRepo>@bitnami)?(?<elasticRepo>@elastic)?(?<elasticStable>@stable)?(?<unknownRepo>\\S+)?\"\\n",
"\
(?<depName>\\S+):\\n\
\\s*repo:\\s*\"(?<appscodeRepo>@appscode)?(?<bitnamiRepo>@bitnami)?(?<elasticRepo>@elastic)?(?<elasticStable>@stable)?(?<unknownRepo>\\S+)?\"\\n\
\\s*version:\\s*(?<currentValue>\\S+)\\n"
],
"datasourceTemplate": "helm",
"registryUrlTemplate": "\
{{#if appscodeRepo}}https://charts.appscode.com/stable\
{{else if bitnamiRepo}}https://charts.bitnami.com/bitnami\
{{else if elasticRepo}}https://helm.elastic.co\
{{else if stableRepo}}https://charts.helm.sh/stable\
{{/if}}"
}
],
"setup-cfg": {
"enabled": false
},
"packageRules": [
{
"description": "Enforce Docker image version granularity",
"matchDatasources": ["docker"],
"separateMultipleMajor": true,
"separateMajorMinor": true,
"separateMinorPatch": true
},
{
"description": "Configure Helm dependency updates",
"matchManagers": ["regex"],
"matchDatasources": ["helm"],
"commitMessageTopic": "helm dependency {{depName}}",
"additionalBranchPrefix": "k8s/",
"addLabels": ["k8s"]
}
]
}