forked from prometheus/client_java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json5
More file actions
75 lines (75 loc) · 3.02 KB
/
Copy pathrenovate.json5
File metadata and controls
75 lines (75 loc) · 3.02 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
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:best-practices", "config:recommended", "github>grafana/flint#v0.22.7"],
platformCommit: "enabled",
automerge: true,
ignorePaths: [
"**/simpleclient-archive/**",
// old projects
// agent resources packages an OTel API that is the minimum required API version
"**/prometheus-metrics-exporter-opentelemetry-otel-agent-resources/pom.xml",
],
labels: ["dependencies"],
packageRules: [
{
matchFileNames: ["mise.toml"],
matchDepNames: ["java"],
groupName: "java temurin",
additionalBranchPrefix: "temurin-",
},
{
matchFileNames: [".mise/envs/native/mise.toml"],
matchDepNames: ["java"],
groupName: "java graalvm",
additionalBranchPrefix: "graalvm-",
},
{
description: "Compat tests pin an LTS JDK the upstream release supports; block major JDK bumps that would break those builds",
matchFileNames: [".mise/envs/jmx-exporter/mise.toml", ".mise/envs/micrometer/mise.toml"],
matchDepNames: ["java"],
matchUpdateTypes: ["major"],
enabled: false,
},
{
matchPackageNames: ["io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha"],
ignoreUnstable: false,
},
{
enabled: false,
description: "Ignore internal project modules",
matchPackageNames: ["/^io\\.prometheus:(prometheus-metrics-bom|examples|example-.+|integration-tests|it-.+)$/"],
},
{
description: "Group protobuf-java and protoc together so generated code can be updated in one PR",
matchDepNames: ["com.google.protobuf:protobuf-java", "protoc"],
groupName: "protobuf",
separateMajorMinor: false,
},
],
customManagers: [
{
"customType": "regex",
"description": "update _VERSION variables in mise.toml",
"managerFilePatterns": ["/^mise\\.toml$/"],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))?(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s.+?_VERSION\\s*=\\s*\"?(?<currentValue>[^@\"]+?)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"?\\s"
]
},
{
customType: "regex",
description: "track the latest Micrometer release for upstream compatibility",
managerFilePatterns: ["/^\\.github\\/workflows\\/micrometer-compatibility\\.yml$/"],
matchStrings: [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) packageName=(?<packageName>\\S+)\\n\\s*ref:\\s*(?<currentValue>v[0-9][^\\s]*)",
],
},
{
customType: "regex",
description: "pin the Micrometer typed-descriptor compatibility ref",
managerFilePatterns: ["/^\\.github\\/workflows\\/micrometer-compatibility\\.yml$/"],
matchStrings: [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) packageName=(?<packageName>\\S+) currentValue=(?<currentValue>\\S+)\\n\\s*ref:\\s*(?<currentDigest>[a-f0-9]{40})",
],
},
],
}