-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrenovate.json
149 lines (146 loc) · 6.09 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
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
{
"extends": [
"config:base"
],
"regexManagers": [
{
"description": "Updating unannotated Helm chart default values in tfvars files",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"chart\\s+= \"(?<depName>[^\\s\"]+)\"\\s*",
"chart_repository\\s+= \"(?<registryUrl>[^\\s\"]+)\"\\s*",
"chart_version\\s+= \"(?<currentValue>[^\\s\"]+)\"\\s*"
],
"matchStringsStrategy": "combination",
"datasourceTemplate": "helm",
"versioningTemplate": "cargo"
},
{
"description": "Updating annotated Helm chart defaults values in tfvars files",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"# renovate: (datasource=\\S+ )?depName=(?<depName>\\S+) registryUrl=(?<registryUrl>\\S+)\\nchart_version\\s+= \"(?<currentValue>[^\\s\"]+)\"\\s*"
],
"datasourceTemplate": "helm"
},
{
"description": "Updating 0.12 series version in Terraform version map",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"terraform_version_map {\n( \"[0-9]+(.[0-9]+)?\" = \"[0-9]+.[0-9]+.[0-9]+\"\n)* \"0.12\" = \"(?<currentValue>\\S+)\"\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "hashicorp/terraform",
"versioningTemplate": "regex:v?(?<major>0)\\.(?<minor>12)\\.(?<patch>\\d+)$"
},
{
"description": "Updating 0.13 series version in Terraform version map",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"terraform_version_map {\n( \"[0-9]+(.[0-9]+)?\" = \"[0-9]+.[0-9]+.[0-9]+\"\n)* \"0.13\" = \"(?<currentValue>\\S+)\"\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "hashicorp/terraform",
"versioningTemplate": "regex:v?(?<major>0)\\.(?<minor>13)\\.(?<patch>\\d+)$"
},
{
"description": "Updating 0.14 series version in Terraform version map",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"terraform_version_map {\n( \"[0-9]+(.[0-9]+)?\" = \"[0-9]+.[0-9]+.[0-9]+\"\n)* \"0.14\" = \"(?<currentValue>\\S+)\"\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "hashicorp/terraform",
"versioningTemplate": "regex:v?(?<major>0)\\.(?<minor>14)\\.(?<patch>\\d+)$"
},
{
"description": "Updating 0.15 series version in Terraform version map",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"terraform_version_map {\n( \"[0-9]+(.[0-9]+)?\" = \"[0-9]+.[0-9]+.[0-9]+\"\n)* \"0.15\" = \"(?<currentValue>\\S+)\"\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "hashicorp/terraform",
"versioningTemplate": "regex:v?(?<major>0)\\.(?<minor>15)\\.(?<patch>\\d+)$"
},
{
"description": "Updating 1.x series version in Terraform version map",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"terraform_version_map {\n( \"[0-9]+(.[0-9]+)?\" = \"[0-9]+.[0-9]+.[0-9]+\"\n)* \"1\" = \"(?<currentValue>\\S+)\"\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "hashicorp/terraform",
"versioningTemplate": "regex:v?(?<major>1)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
},
{
"description": "Updating latest Terraform version in tfvars files",
"fileMatch": ["(^|/)*.tfvars$"],
"matchStrings": [
"terraform_version = \"(?<currentValue>\\S+)\"\n"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "hashicorp/terraform"
},
{
"description": "Updating unannotated Docker image versions specified in YAML files",
"fileMatch": ["(^|/)*.ya?ml$"],
"matchStrings": [
" {4}(?<depName>):\\n((( {6,}[.-[\\n]]+)|)\\n)+",
" {6}vars:\\n((( {8,}[.-[\\n]]+)|)\\n)+",
" {8}values:\\n((( {10,}[.-[\\n]]+)|)\\n)+",
" {10}image:\\n((( {12,}[.-[\\n]]+)|)\\n)+",
" {12}repository: \"(?<registryUrl>[^\\s\"]+)\"\\n {12}tag: \"(?<currentValue>[0-9v.]+)\"\\n"
],
"matchStringsStrategy": "recursive",
"datasourceTemplate": "docker"
},
{
"description": "Updating annotated Docker image versions in YAML files",
"fileMatch": ["(^|/)*.ya?ml$"],
"matchStrings": [
" {4}(?<depName>):\\n((( {6,}[.-[\\n]]+)|)\\n)+",
" {6,}# renovate: (datasource=\\S+ )?depName=(?<depName>\\S+) registryUrl=(?<registryUrl>\\S+)\\n {6,}image_tag: \"(?<currentValue>[0-9v.]+)\""
],
"matchStringsStrategy": "recursive",
"datasourceTemplate": "docker"
},
{
"description": "Updating unannotated Helm chart versions in YAML files",
"fileMatch": ["(^|/)*.ya?ml$"],
"matchStrings": [
" {4}(?<depName>):\\n((( {6,}[.-[\\n]]+)|)\\n)+",
" {6}vars:\\n((( {8,}[.-[\\n]]+)|)\\n)+",
" {8}chart_repository: \"?(?<registryUrl>[^\\s\"]+)\"?\\n {8}chart_version: \"?(?<currentValue>[^\\s\"]+)\"?\\n"
],
"matchStringsStrategy": "recursive",
"datasourceTemplate": "helm"
},
{
"description": "Updating annotated Helm chart versions in YAML files",
"fileMatch": ["(^|/)*.ya?ml$"],
"matchStrings": [
" {4}(?<depName>):\\n((( {6,}[.-[\\n]]+)|)\\n)+",
" {6,}# renovate: (datasource=\\S+)? ?(depName=(?<depName>\\S+))? ?registryUrl=(?<registryUrl>\\S+)\\n {6}chart_version: \"?(?<currentValue>[^\\s\"]+)\"?\\n"
],
"matchStringsStrategy": "recursive",
"datasourceTemplate": "helm"
},
{
"description": "Updating the EKS cluster version",
"fileMatch": ["(^|/)stacks/defaults/eks.yaml$"],
"matchStrings": [
" cluster_kubernetes_version: \"(?<currentValue>[0-9.]+)\""
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "kubernetes/kubernetes"
},
{
"description": "Updating annotated package versions in Dockerfiles",
"fileMatch": ["(^|/)[.-[/]]*Dockerfile[.-[/]]*$"],
"matchStrings": [
"# renovate: (datasource=(?<datasource>\\S+))? ?(depName=(?<depName>\\S+))? ?(registryUrl=(?<registryUrl>\\S+))? ?(versioning=(?<versioning>\\s+))?\\n(ENV|ARG) [\\S]+_VERSION=(?<currentValue>\\S+)"
]
}
]
}