-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json5
More file actions
47 lines (47 loc) · 1.75 KB
/
Copy pathrenovate.json5
File metadata and controls
47 lines (47 loc) · 1.75 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"description": "Tracks builder.toml versions (CNB lifecycle + Paketo buildpacks) that Dependabot cannot handle. All other ecosystems are managed by dependabot.yml.",
"enabledManagers": ["custom.regex"],
"labels": ["dependencies", "renovate"],
"packageRules": [
{
"matchManagers": ["custom.regex"],
"groupName": "builder.toml versions",
"schedule": ["before 7am on Monday"],
"commitMessagePrefix": "chore(deps):"
}
],
"customManagers": [
{
"customType": "regex",
"description": "CNB lifecycle version in builder.toml",
"managerFilePatterns": ["/^builder\\.toml$/"],
"matchStrings": [
"(?m)\\[lifecycle\\]\\s*\\n\\s*version\\s*=\\s*\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "buildpacks/lifecycle",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v?(?<version>.+)$"
},
{
"customType": "regex",
"description": "Paketo buildpack URI versions in [[buildpacks]] sections",
"managerFilePatterns": ["/^builder\\.toml$/"],
"matchStrings": [
"uri\\s*=\\s*\"docker://(?<depName>[^:\"]+):(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"description": "Buildpack versions in [[order.group]] sections — kept in sync with [[buildpacks]] URIs",
"managerFilePatterns": ["/^builder\\.toml$/"],
"matchStrings": [
"id\\s*=\\s*\"paketo-buildpacks/(?<depName>[^\"]+)\"\\s*\\n\\s*version\\s*=\\s*\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "paketobuildpacks/{{{depName}}}",
"datasourceTemplate": "docker"
}
]
}