-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrenovate.json
38 lines (38 loc) · 1.52 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"customManagers": [
{
"customType": "regex",
"depTypeTemplate": "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}",
"registryUrlTemplate": "{{#if datasource}}https://{{{registryUrl}}}{{else}}{{registryUrl}}{{/if}}",
"description": "Update Helm chart versions in jsonnet",
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}",
"versioningTemplate": "{{#if datasource}}{{{datasource}}}{{else}}helm{{/if}}",
"fileMatch": ["^manifests/apps/.*.jsonnet$"],
"matchStrings": [
"(?://! renovate datasource=(?<datasource>.+?)\\s+)?chart='(?<depName>.+?)',\\s+repoURL='(?<registryUrl>.+?)',\\s+version='(?<currentValue>.+?)',"
]
},
{
"customType": "regex",
"depTypeTemplate": "docker",
"description": "Update Docker image versions in jsonnet",
"datasourceTemplate": "docker",
"versioningTemplate": "docker",
"fileMatch": ["^manifests/apps/.*.jsonnet$"],
"matchStrings": [
"repository: '(?<depName>.+?)',\\s+tag: '(?<currentValue>.+?)',"
]
},
{
"customType": "regex",
"depTypeTemplate": "docker",
"description": "Update Docker image versions in jsonnet (one-line)",
"datasourceTemplate": "docker",
"versioningTemplate": "docker",
"fileMatch": ["^manifests/apps/.*.jsonnet$"],
"matchStrings": ["image: '(?<depName>.+?):(?<currentValue>.+?)',"]
}
]
}