-
Notifications
You must be signed in to change notification settings - Fork 1
/
re-team.json
81 lines (81 loc) · 2.88 KB
/
re-team.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
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>SonarSource/renovate-config",
":maintainLockFilesWeekly",
":enablePreCommit",
"docker:enableMajor",
"docker:pinDigests"
],
"enabledManagers": [
"github-actions",
"custom.regex",
"maven"
],
"configMigration": true,
"addLabels": [
"dependencies"
],
"github-actions": {
"fileMatch": [
"^(github-action)(\\/[^/]+)?\\/action\\.ya?ml$"
]
},
"packageRules": [
{
"matchPackagePatterns": [
".*sonar-(ubuntu|windowsserver)-.*"
],
"addLabels": [
"golden-ami"
]
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
".*pkrvars.hcl$",
".*tfvars$"
],
"matchStrings": [
".*amiFilter=(?<packageName>.*?)\\n(.*currentImageName=(?<currentDigest>.*?)\\n)?(.*\\n)?.*?(?<depName>[a-zA-Z0-9-_:.\"]*)[ ]*?=[ ]*?[\"](?<currentValue>ami-[a-z0-9]{17})[\"]"
],
"datasourceTemplate": "aws-machine-image",
"versioningTemplate": "aws-machine-image",
"depNameTemplate": "{{{replace '\"' '' depName}}}"
},
{
"customType": "regex",
"fileMatch": [
"^cdk.context.json$"
],
"matchStrings": [
".*[\\\"|\"]ami:account=[0-9]{12}:filters\\.image-type\\.0=(?<imageType>.*?):filters\\.name\\.0=(?<imageName>.*?):.*[\\\"|\"]:[ ]*?[\\\"|\"]?(?<currentValue>ami-[a-z0-9]{17})[\\\"|\"]?"
],
"datasourceTemplate": "aws-machine-image",
"versioningTemplate": "aws-machine-image",
"packageNameTemplate": "[{\"Name\":\"name\",\"Values\":[\"{{{imageName}}}\"]},{\"Name\":\"state\",\"Values\":[\"available\"]},{\"Name\":\"image-type\",\"Values\":[\"{{{imageType}}}\"]},{\"Name\":\"is-public\",\"Values\":[\"false\"]}]",
"depNameTemplate": "{{{replace ' \\*' '' imageName}}}"
},
{
"customType": "regex",
"fileMatch": [
"^lib.star$"
],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\n.*CIRRUS_AGENT_VERSION\": \"(?<currentValue>.*)\""
]
},
{
"customType": "regex",
"fileMatch": [
"^.cirrus.star$"
],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\n.*load.*\"github.com\\/.*@(?<currentValue>[a-f0-9.]+)\",.*",
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\n.*load.*\"github.com\\/.*@(?<currentDigest>[a-f0-9]+)\",.* # (?<currentValue>.*)"
]
}
]
}