-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathrenovate.json
42 lines (42 loc) · 1.54 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["custom.regex"],
"customManagers" : [
{
"customType": "regex",
"fileMatch": [".gitlab-ci.yml", ".circleci/config.yml"],
"matchStrings": [
" DATADOG_AGENT_[^:]*: (?<currentValue>v.*)",
" CI_IMAGE_[^:]*: (?<currentValue>v.*)",
" - image: gcr.io/datadoghq/agent-circleci-runner:(?<currentValue>v.*)"
],
"depNameTemplate": "buildimages",
"versioningTemplate": "loose",
"datasourceTemplate": "custom.buildimages"
},
{
"customType": "regex",
"fileMatch": [".protoc-version"],
"matchStrings": [
"(?<currentValue>[0-9]+.[0-9]+)"
],
"depNameTemplate": "protoc",
"versioningTemplate": "loose",
"datasourceTemplate": "custom.protoc"
}
],
"customDatasources": {
"buildimages": {
"defaultRegistryUrlTemplate": "https://hub.docker.com/v2/namespaces/datadog/repositories/agent-buildimages-deb_x64/tags",
"transformTemplates": [
"{\"releases\": $map(results, function($v) { {\"version\": $v.name, \"releaseTimestamp\": $v.last_updated } }) }"
]
},
"protoc": {
"defaultRegistryUrlTemplate": "https://api.github.com/repos/protocolbuffers/protobuf/releases",
"transformTemplates": [
"{\"releases\": $map($.[tag_name,published_at], function($v) { {\"version\": $v[0], \"releaseTimestamp\": $v[1] } }) }"
]
}
}
}