1+ {
2+ "$schema" : "https://docs.renovatebot.com/renovate-schema.json" ,
3+ // We don't use this for now, as we want to avoid the noise - we'll only selectively activate updates
4+ // "extends": [
5+ // "config:recommended",
6+ // ]
7+
8+ // We want a nice overview of dependencies under renovate's supervision
9+ dependencyDashboard : true ,
10+ // See .github/CODEOWNERS
11+ assigneesFromCodeOwners : true ,
12+ // Do not separate patch and minor upgrades into separate PRs for the same dependency
13+ separateMinorPatch : false ,
14+ // Use nicer semantic commits style for messages
15+ semanticCommits : "enabled" ,
16+
17+ // Don't jump the gun in case something goes awry in upstream releases
18+ minimumReleaseAge : "3 days" ,
19+ // Only have this number of PRs open at any time. We will further limit this by using grouping for packages
20+ prConcurrentLimit : 5 ,
21+ // Create PRs only on weekends to avoid noise during the week (sufficient for scheduled maintenance)
22+ schedule : [ "at 06:00 am on Sunday" ] ,
23+
24+ // Only include certain paths we actually want Renovate to take care of.
25+ includePaths : [
26+ "modules/container-*/**" ,
27+ ] ,
28+
29+ packageRules : [
30+ {
31+ description : "Group Alpine Package Manager dependencies for the Config Baker Container Image" ,
32+ matchFileNames : [ "modules/container-configbaker/**/Dockerfile" ] ,
33+ matchDatasources : [ "repology" ] ,
34+ groupName : "Config Baker Container - APK packages"
35+ } ,
36+ ] ,
37+
38+ customManagers : [
39+ {
40+ customType : "regex" ,
41+ description : "Update _VERSION variables in Dockerfiles" ,
42+ managerFilePatterns : [
43+ "/(^|/|\\.)Dockerfile$/" ,
44+ "/(^|/)Dockerfile\\.[^/]*$/"
45+ ] ,
46+ matchStrings : [
47+ "#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\sENV .*?_VERSION=\"(?<currentValue>.*)\"\\s"
48+ ] ,
49+ versioningTemplate : "loose"
50+ }
51+ ]
52+ }
0 commit comments