-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
Copy pathrenovate.json
47 lines (47 loc) · 1.65 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["custom.regex"],
"labels": ["dependencies"],
"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": "protocolbuffers/protobuf",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": ["release.json"],
"matchStrings": [
"[ ]+\"OMNIBUS_RUBY_VERSION\": \"(?<currentDigest>[a-z0-9]+)\""
],
"currentValueTemplate": "datadog-5.5.0",
"depNameTemplate": "omnibus-ruby",
"packageNameTemplate": "https://github.com/DataDog/omnibus-ruby",
"datasourceTemplate": "git-refs"
}
],
"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 } }) }"
]
}
}
}