-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdev-infra-squad.json
155 lines (155 loc) · 5.06 KB
/
dev-infra-squad.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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>SonarSource/renovate-config",
":maintainLockFilesWeekly",
":enablePreCommit",
"docker:enableMajor",
"docker:pinDigests"
],
"timezone": "Europe/Paris",
"schedule": [
"after 7am every weekday",
"before 8pm every weekday"
],
"enabledManagers": [
"github-actions",
"custom.regex",
"maven",
"npm",
"poetry",
"pipenv",
"terraform"
],
"configMigration": true,
"addLabels": [
"dependencies"
],
"github-actions": {
"fileMatch": [
"^(github-action)(\\/[^/]+)?\\/action\\.ya?ml$"
]
},
"packageRules": [
{
"matchPackagePatterns": [
".*sonar-(ubuntu|windowsserver|amazon|centos)-.*"
],
"addLabels": [
"golden-ami"
]
},
{
"groupName": "GitHub actions updates",
"matchManagers": [
"github-actions"
],
"groupSlug": "github-actions",
"separateMinorPatch": false,
"automerge": true
},
{
"groupName": "Python dependencies updates",
"matchManagers": [
"poetry",
"pipenv"
],
"groupSlug": "python-deps",
"separateMinorPatch": false,
"automerge": true
}
],
"vulnerabilityAlerts": {
"enabled": true,
"labels": [
"security"
]
},
"osvVulnerabilityAlerts": true,
"customDatasources": {
"mend-linux": {
"defaultRegistryUrlTemplate": "https://repox.jfrog.io/artifactory/internal-binaries/ci-3rd-party-binaries/mend/linux",
"format": "html"
},
"mend-windows": {
"defaultRegistryUrlTemplate": "https://repox.jfrog.io/artifactory/internal-binaries/ci-3rd-party-binaries/mend/windows",
"format": "html"
}
},
"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\\/.*@(?<currentDigest>[a-f0-9]+)\",.* # (?<currentValue>.*)"
]
},
{
"customType": "regex",
"fileMatch": [
".*\\.sh$",
".*\\.?Dockerfile"
],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\n[ A-Z_]*=(?<currentValue>.*)"
]
},
{
"customType": "regex",
"fileMatch": [
".*\\.?Dockerfile"
],
"matchStrings": [
"datasource=(?<datasource>mend-.*?) depName=(?<depName>.*?)\\n[ A-Z_]*=(?<currentValue>.*)"
],
"extractVersionTemplate": "^[a-zA-Z-]*_(?<version>.+)"
},
{
"customType": "regex",
"fileMatch": [
"^\\.cirrus\\.ya?ml$"
],
"matchStrings": [
"image: (?<depName>ghcr\\.io.*?)(@(?<currentDigest>sha256:[a-f0-9]{64}) # |:)(?<currentValue>v?[.\\d]+)"
],
"datasourceTemplate": "docker"
}
]
}