forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrenovate.json5
More file actions
61 lines (56 loc) · 2.43 KB
/
renovate.json5
File metadata and controls
61 lines (56 loc) · 2.43 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
// We don't use this for now, as we want to avoid the noise - we'll only selectively activate updates
// "extends": [
// "config:recommended",
// ]
// We want a nice overview of dependencies under renovate's supervision
dependencyDashboard: true,
// See .github/CODEOWNERS
assigneesFromCodeOwners: true,
// Do not separate patch and minor upgrades into separate PRs for the same dependency
separateMinorPatch: false,
// Use nicer semantic commits style for messages
semanticCommits: "enabled",
// Don't jump the gun in case something goes awry in upstream releases
minimumReleaseAge: "3 days",
// Only have this number of PRs open at any time. We will further limit this by using grouping for packages
prConcurrentLimit: 5,
// By default, create PRs only on Sundays to avoid noise during the week (sufficient for scheduled maintenance)
schedule: ["* * * * 0"],
// Only include certain paths we actually want Renovate to take care of.
includePaths: [
"modules/container-*/**",
],
packageRules: [
{
description: "Disable Maven Manager",
matchManagers: "maven",
enabled: false
},
{
description: "Disable Dockerfile Manager",
matchManagers: "dockerfile",
enabled: false
},
{
description: "Group package updates for the Config Baker Container Image",
matchFileNames: ["modules/container-configbaker/**/*[dD]ockerfile"],
groupName: "Config Baker Container Packages"
},
],
customManagers: [
{
customType: "regex",
description: "Update _VERSION variables in Dockerfiles",
managerFilePatterns: [
"/(^|/|\\.)Dockerfile$/",
"/(^|/)Dockerfile\\.[^/]*$/"
],
matchStrings: [
"# renovate: datasource=(?<datasource>[a-zA-Z0-9-._]+?) 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"
],
versioningTemplate: '{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}'
}
]
}