forked from open-telemetry/opentelemetry-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
112 lines (111 loc) · 3.91 KB
/
renovate.json
File metadata and controls
112 lines (111 loc) · 3.91 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": ["dependencies"],
"enabledManagers": ["regex", "npm", "pip_requirements"],
"customManagers": [
{
"customType": "regex",
"description" : "Update Go versions used for building in the CI",
"datasourceTemplate": "golang-version",
"depNameTemplate": "go",
"fileMatch": [
"(^|/)\\.github/workflows/.+\\.ya?ml$"
],
"matchStrings": [
"go-version: [\"']~(?<currentValue>.+)[\"']"
]
},
{
"customType": "regex",
"description" : "Update tool versions in the Makefile and Github Actions",
"fileMatch": [
"(^|/)Makefile$",
"(^|/)\\.github/workflows/.+\\.ya?ml$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+[A-Za-z0-9_]+?_VERSION\\s*:*\\??=\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
]
},
{
"customType": "regex",
"description" : "Update Chainsaw version in OpenShift CI tests runner Dockerfile",
"datasourceTemplate": "github-releases",
"depNameTemplate": "kyverno/chainsaw",
"fileMatch": [
"(^|/)tests/e2e-openshift/Dockerfile$"
],
"matchStrings": [
"ENV CHAINSAW_VERSION=(?<currentValue>v[\\d\\.]+)"
]
},
{
"customType": "regex",
"description": "Update OpenTelemetry Java instrumentation version",
"datasourceTemplate": "github-releases",
"depNameTemplate": "open-telemetry/opentelemetry-java-instrumentation",
"extractVersionTemplate": "^v?(?<version>.*)$",
"fileMatch": [
"(^|/)autoinstrumentation/java/version\\.txt$"
],
"matchStrings": [
"^(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\s*$"
]
},
{
"customType": "regex",
"description": "Update OpenTelemetry .NET instrumentation version",
"datasourceTemplate": "github-releases",
"depNameTemplate": "open-telemetry/opentelemetry-dotnet-instrumentation",
"extractVersionTemplate": "^v?(?<version>.*)$",
"fileMatch": [
"(^|/)autoinstrumentation/dotnet/version\\.txt$"
],
"matchStrings": [
"^(?<currentValue>[0-9]+\\.[0-9]+\\.[0-9]+)\\s*$"
]
}
],
"packageRules": [
{
"matchDatasources": ["golang-version"],
"matchManagers": ["regex"],
"matchFileNames": [".github/workflows/*.yaml", ".github/workflows/*.yml"],
"commitMessageTopic": "go version in CI"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["Makefile"],
"commitMessageTopic": "tool {{depName}}"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["tests/e2e-openshift/Dockerfile"],
"commitMessageTopic": "Update Chainsaw version in OpenShift CI Dockerfile"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["autoinstrumentation/java/version.txt"],
"commitMessageTopic": "OpenTelemetry java agent version"
},
{
"matchManagers": ["regex"],
"matchFileNames": ["autoinstrumentation/dotnet/version.txt"],
"commitMessageTopic": "OpenTelemetry dotnet agent version"
},
{
"matchManagers": ["npm"],
"matchFileNames": ["autoinstrumentation/nodejs/package.json"],
"matchPackageNames": ["@opentelemetry/auto-instrumentations-node"],
"commitMessageTopic": "OpenTelemetry nodejs agent version"
},
{
"matchManagers": ["pip_requirements"],
"matchFileNames": ["autoinstrumentation/python/requirements.txt"],
"matchPackagePatterns": ["^opentelemetry-"],
"groupName": "OpenTelemetry Python packages",
"group": {
"commitMessageTopic": "OpenTelemetry python agent version to {{ upgrades.0.newVersion }}"
}
}
]
}