-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.json5
More file actions
178 lines (178 loc) · 5.98 KB
/
default.json5
File metadata and controls
178 lines (178 loc) · 5.98 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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
// Default configuration for managed Renovate
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [ // default presets see https://docs.renovatebot.com/presets-default/
"config:recommended",
"helpers:pinGitHubActionDigestsToSemver",
"security:openssf-scorecard",
":enableVulnerabilityAlertsWithLabel(security)",
// use chore for test-only Gradle dependencies (Gradle manager does not make a distinction based on configurations)
":pathSemanticCommitType(gradle/test-libs.versions.toml,chore)",
// fix URLs for some packages
"github>wetransform/renovate-config:url-overrides.json5",
],
labels: [
"renovate",
"renovate/{{updateType}}",
],
ignorePaths: [
// Prevent running for terraform managed workflows
".github/workflows/tf-*.yml", ".github/workflows/tf-*.yaml"
],
packageRules: [
{
description: "Update renovatebot/github-action minor/patch updates on Sundays",
matchPackageNames: ["renovatebot/github-action"],
matchUpdateTypes: ["minor", "patch"],
schedule: ["* * * * 0"],
},
// Disable for eclipseconfig Gradle plugin (because latest version is not published to Plugin Portal)
{
matchPackageNames: ["org.standardout.eclipseconfig"],
enabled: false,
},
// group logback related dependencies
{
"groupName": "logback dependencies",
"groupSlug": "logback-deps",
"matchPackagePrefixes": ["ch.qos.logback:"]
},
// group wetransform logging utils
{
"groupName": "wetransform logging dependencies",
"groupSlug": "wetf-logging-deps",
"matchPackagePrefixes": ["to.wetransform.logging:"]
},
// group wetransform convention plugins
{
"groupName": "wetransform Gradle conventions",
"groupSlug": "wetf-gradle-conventions",
"matchDatasources": ["maven"],
"matchDepNames": ["/^to\.wetransform\.(settings|conventions).*$/"]
},
// group Java dependencies
{
"groupName": "Java",
"groupSlug": "java",
"matchDatasources": [
"docker",
"java-version"
],
"matchPackageNames": [
"eclipse-temurin",
"amazoncorretto",
"adoptopenjdk",
"openjdk",
"java",
"java-jre",
"sapmachine",
"/^azul/zulu-openjdk/",
"/^bellsoft/liberica-openj(dk|re)-/",
"/^cimg/openjdk/"
],
},
// work around Maven repos not being detected properly when using Gradle conventions plugin
{
"matchDatasources": ["maven"],
"matchPackageNames": ["/^to.wetransform/"],
"registryUrls": ["https://artifactory.wetransform.to/artifactory/local", "https://artifactory.wetransform.to/artifactory/private", "https://plugins.gradle.org/m2/"]
},
{
"matchDatasources": ["maven"],
"matchPackageNames": ["/^eu.esdihumboldt/", "/^com.github.wetransform-os/", "/^com.haleconnect/"],
"registryUrls": ["https://artifactory.wetransform.to/artifactory/local"]
},
{
"matchDatasources": ["maven"],
"matchPackageNames": ["/^org.deegree/"],
"registryUrls": ["https://artifactory.wetransform.to/artifactory/private", "https://repo.deegree.org/content/groups/public/", "https://artifactory.wetransform.to/artifactory/deegree"]
},
{ // it seems matching depNames is required in addition to package names (see also https://docs.renovatebot.com/presets-workarounds/#workaroundsjavaltsversions)
"groupName": "Java",
"groupSlug": "java",
"matchDatasources": [
"docker",
"java-version"
],
"matchDepNames": [
"eclipse-temurin",
"amazoncorretto",
"adoptopenjdk",
"openjdk",
"java",
"java-jre",
"sapmachine"
],
},
{
description: "Update aws sdk minor/patch updates on Sundays",
matchPackagePrefixes: ["software.amazon.awssdk:"],
matchUpdateTypes: ["minor", "patch"],
schedule: ["* * * * 0"],
},
{ // wetransform/pycsw Docker image custom versioning with build date
"matchDatasources": ["docker"],
"matchPackageNames": ["wetransform/pycsw"],
"versioning": "regex:^(?<major>\\d+)(\\.(?<minor>\\d+))?(\\.(?<patch>\\d+))?(-(?<build>.*))?$",
// ignore old date based tags
"allowedVersions": "< 20000000",
},
],
customManagers: [
{
description: "Update semantic-release in GitHub Action workflows",
customType: "regex",
fileMatch: ["(^workflow-templates|\\.github/(actions|workflows))\\/.+\\.ya?ml$"],
matchStrings: [
"\
semantic_version\\s*:\\s*(\"|')?(?<currentValue>.+)(\"|')?\
(\\s+|\\s+.*)"
],
datasourceTemplate: "npm",
depNameTemplate: "semantic-release"
},
{
description: "Any other workflows related file with dependencies",
customType: "regex",
fileMatch: [
"(^workflow-templates|\\.github/workflows)/[^/]+\\.ya?ml$",
],
matchStrings: [
"\
.*renovate:\
\\sdatasource=(?<datasource>.*?)\
\\sdepName=(?<depName>.*?)\
(\\sversioning=(?<versioning>.*?))?\
\n.*(version|Version|VERSION)\\s*(:=|=|:)\\s*\"?(?<currentValue>.*?)\
(@(?<currentDigest>sha256:[a-f0-9]+))?\"?\
(\\s+|\\s+.*)"
],
versioningTemplate: "\
{{#if versioning}}\
{{{versioning}}}\
{{else}}\
semver-coerced\
{{/if}}"
},
{
"fileMatch": ["build\\.gradle$"],
"matchStrings": [
"baseImage\\s*=\\s*'(?<depName>[^:]+):(?<currentValue>[^']+)'",
"baseImage\\s*=\\s*\"(?<depName>[^:]+):(?<currentValue>[^']+)\""
],
"datasourceTemplate": "docker"
},
{
description: "Versions of hk-config in hk.pkl files",
customType: "regex",
managerFilePatterns: ["hk.pkl"],
matchStrings: [
'(amends|import)\\s+"https://raw.githubusercontent.com/wetransform/hk-config/refs/tags/v(?<currentValue>\\d+\\.\\d+\\.\\d+)/',
],
depNameTemplate: "wetransform/hk-config",
datasourceTemplate: "github-tags",
extractVersionTemplate: "^v?(?<version>.*)$",
},
],
separateMinorPatch: false,
}