-
-
Notifications
You must be signed in to change notification settings - Fork 223
/
renovate.json5
38 lines (38 loc) · 2.02 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
// "config:best-practices", // To enable once renovate usage is stabilized
"customManagers:dockerfileVersions",
":maintainLockFilesWeekly",
":separateMultipleMajorReleases",
":semanticCommits",
":label(dependencies)"
],
"customManagers": [
// This is "customManagers:dockerfileVersions":
// {
// "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"
// ]
// }
//
// This is "customManagers:dockerfileVersions", adapted to support our descriptors:
{
"customType": "regex",
"description": "Update dockerfile sections in .megalinter-descriptor.yml files",
"fileMatch": [
"(^|/).*\\.megalinter-descriptor.ya?ml$"
],
"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",
"# 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",
]
}
]
}