forked from DataDog/datadog-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
114 lines (114 loc) · 4.18 KB
/
renovate.json
File metadata and controls
114 lines (114 loc) · 4.18 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"enabledManagers": ["custom.regex", "pre-commit"],
"labels": ["dependencies", "changelog/no-changelog", "qa/no-code-change"],
"stopUpdatingLabel": "stop-updating",
"platformCommit": "enabled",
"packageRules": [
{
"matchDepNames": ["integrations-core"],
"changelogUrl": "https://github.com/DataDog/integrations-core/compare/{{currentDigest}}..{{newDigest}}",
"schedule": ["* 2-6 * * 1,3"]
},
{
"matchDepNames": ["omnibus-ruby"],
"changelogUrl": "https://github.com/DataDog/omnibus-ruby/compare/{{currentDigest}}..{{newDigest}}"
},
{
"matchDepNames": ["linux-images"],
"changelogUrl": "https://github.com/DataDog/datadog-agent-buildimages/commits/main",
"schedule": ["* 2-6 * * 1-5"]
},
{
"matchDepNames": ["windows-images"],
"changelogUrl": "https://github.com/DataDog/datadog-agent-buildimages/commits/main",
"schedule": ["* 2-6 2 * *"]
},
{
"matchDepNames": ["DataDog/datadog-agent-dev"],
"changelogUrl": "https://github.com/DataDog/datadog-agent-dev/releases/tag/v{{newValue}}",
"schedule": ["* 1-4 5 6,12 *"]
}
],
"pre-commit": {
"enabled": true,
"managerFilePatterns": [".pre-commit-config.yaml"]
},
"customManagers" : [
{
"customType": "regex",
"managerFilePatterns": [".gitlab-ci.yml"],
"matchStrings": [
" CI_IMAGE_[^W][^:]*: (?<currentValue>v.*)"
],
"depNameTemplate": "linux-images",
"versioningTemplate": "loose",
"datasourceTemplate": "custom.linux-images"
},
{
"customType": "regex",
"managerFilePatterns": [".gitlab-ci.yml"],
"matchStrings": [
" CI_IMAGE_WIN_[^:]*: (?<currentValue>v.*)"
],
"depNameTemplate": "windows-images",
"versioningTemplate": "regex:^(ltsc2022-)?v(?<major>\\d+)-.*$",
"datasourceTemplate": "custom.windows-images",
"extractVersionTemplate": "^(ltsc2022-)?(?<version>.*)$"
},
{
"customType": "regex",
"managerFilePatterns": [".protoc-version"],
"matchStrings": [
"(?<currentValue>[0-9]+.[0-9]+)"
],
"depNameTemplate": "protocolbuffers/protobuf",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"managerFilePatterns": [".dda/version"],
"matchStrings": [
"(?<currentValue>[0-9]+.[0-9]+.[0-9]+)"
],
"depNameTemplate": "DataDog/datadog-agent-dev",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"managerFilePatterns": ["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"
},
{
"customType": "regex",
"managerFilePatterns": ["release.json"],
"matchStrings": [
"[ ]+\"INTEGRATIONS_CORE_VERSION\": \"(?<currentDigest>[a-z0-9]+)\""
],
"currentValueTemplate": "master",
"depNameTemplate": "integrations-core",
"packageNameTemplate": "https://github.com/DataDog/integrations-core",
"datasourceTemplate": "git-refs"
}
],
"customDatasources": {
"linux-images": {
"defaultRegistryUrlTemplate": "https://hub.docker.com/v2/namespaces/datadog/repositories/agent-buildimages-linux/tags",
"transformTemplates": [
"{\"releases\": $map(results, function($v) { {\"version\": $v.name, \"releaseTimestamp\": $v.last_updated } }) }"
]
},
"windows-images": {
"defaultRegistryUrlTemplate": "https://hub.docker.com/v2/namespaces/datadog/repositories/agent-buildimages-windows_x64/tags",
"transformTemplates": [
"{\"releases\": $map(results, function($v) { {\"version\": $v.name, \"releaseTimestamp\": $v.last_updated } }) }"
]
}
}
}