-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathrenovate.json
128 lines (128 loc) · 3.59 KB
/
renovate.json
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
{
"branchPrefix": "renovate.",
"extends": [
"config:best-practices",
":rebaseStalePrs"
],
"enabledManagers": [
"custom.regex"
],
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
"**/tests/**",
"**/__fixtures__/**"
],
"packageRules": [
{
"matchPackageNames": [
"apache/activemq",
"apache/logging-log4j2",
"fcrepo/fcrepo",
"fcrepo-exts/fcrepo-import-export",
"fcrepo-exts/fcrepo-upgrade-utils",
"pgjdbc/pgjdbc"
],
"extractVersion": "^(REL|fcrepo|activemq|rel|fcrepo-import-export|fcrepo-upgrade-utils)(/|-)?(?<version>\\d+\\.\\d+\\.\\d+)$"
},
{
"extractVersion": "^releases/solr/(?<version>\\d+\\.\\d+\\.\\d+)$",
"matchPackageNames": [
"/^apache/solr$/"
]
},
{
"extractVersion": "^v(?<version>\\d+\\.\\d+\\.\\d+\\.\\d+)$",
"versioning": "regex:^(?:v)?(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)\\.(?<build>\\d+)?$",
"matchPackageNames": [
"/^just-containers/s6-overlay$/"
]
},
{
"matchUpdateTypes": [
"major"
],
"enabled": false
},
{
"groupName": "all non-major dependencies",
"matchUpdateTypes": [
"minor",
"patch",
"digest"
],
"matchDepNames": [
"alpine-pkg-glibc",
"apache-activemq",
"apache-log4j",
"apache-solr",
"apache-tomcat",
"cantaloupe",
"custom-composer",
"fcrepo",
"fcrepo-import-export",
"fcrepo-upgrade-utils",
"fits",
"fits-servlet",
"handle",
"jdbc-mysql",
"jdbc-postgres",
"islandora-syn",
"islandora-starter-site",
"s6-overlay",
"solr-ocrhighlighting"
],
"postUpgradeTasks": {
"commands": [
"bash ci/update-sha.sh \"{{{depName}}}\" \"{{{currentVersion}}}\" \"{{{newVersion}}}\" \"{{{newDigest}}}\""
]
}
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update (COMMIT|_VERSION) variables in Dockerfiles",
"fileMatch": [
"(^|/|\\.)Dockerfile$",
"(^|/)Dockerfile\\.[^/]*$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?) packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)(\\s|$)",
"# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>.+?) packageName=(?<packageName>.+?) branch=(?<currentValue>.+?)\\s(?:ENV|ARG) COMMIT=(?<currentDigest>.+?)(\\s|$)"
]
},
{
"customType": "regex",
"fileMatch": [
"(^|/)handle/Dockerfile$"
],
"matchStrings": [
"ARG HANDLE_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"datasourceTemplate": "custom.handle",
"depNameTemplate": "handle",
"versioningTemplate": "semver"
}
],
"customDatasources": {
"handle": {
"defaultRegistryUrlTemplate": "https://handle.net/hnr-source/",
"format": "html",
"transformTemplates": [
"{ \"releases\":[ $map($filter(releases.version,function($v,$i,$a){ $match($v, /^handle-\\d+\\.\\d+\\.\\d+-distribution\\.tar\\.gz$/) }),function($v,$i,$a){ { \"version\": $match($v, /\\d+\\.\\d+\\.\\d+/).match } })] }"
]
}
},
"labels": [
"dependencies"
],
"osvVulnerabilityAlerts": true,
"dependencyDashboardOSVVulnerabilitySummary": "unresolved",
"vulnerabilityAlerts": {
"enabled": true
}
}