-
Notifications
You must be signed in to change notification settings - Fork 4
/
renovate.json
59 lines (59 loc) · 2.59 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>anguslees/renovate-config",
"schedule:weekly"
],
"recreateClosed": true,
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"matchUpdateTypes": [
"patch"
],
"groupName": "all patch dependencies",
"groupSlug": "all-patch"
}
],
"regexManagers": [
{
"description": "Update docker version variables in jsonnet",
"fileMatch": ["\\.(jsonnet|libsonnet)$"],
"matchStrings": [
"// renovate: depName=(?<depName>.+?)(?: lookupName=(?<lookupName>.+?))?(?: datasource=(?<datasource>[a-z-]+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\slocal .+? = \"(?<currentValue>.+?)\"[;,]\\s"
],
"datasourceTemplate": "{{#if datasource}}{{datasource}}{{else}}docker{{/if}}",
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}docker{{/if}}"
},
{
"description": "Update docker images in jsonnet",
"fileMatch": ["\\.(jsonnet|libsonnet)$"],
"matchStrings": [
"image: ['\"](?<depName>.+?):(?<currentValue>.+?)(?:@(?<currentDigest>sha256:[a-f0-9]+))?['\"], // renovate",
"local +.? = ['\"](?<depName>.+?):(?<currentValue>.+?)(?:@(?<currentDigest>sha256:[a-f0-9]+))?['\"][,;] // renovate"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"description": "Update json/yaml importstr versions in jsonnet",
"fileMatch": ["\\.(jsonnet|libsonnet)$"],
"matchStrings": [
"// renovate: depName=(?<depName>[^ ]+)(?: lookupName=(?<lookupName>[^ ]+))?(?: registryUrl=(?<registryUrl>[^ ]+))?(?: datasource=(?<datasource>[^ ]+))?(?: versioning=(?<versioning>[^ ]+))?\\s.+?importstr ['\"]https?://.*?(?<currentValue>v[0-9.]+).*?\\.(ya?ml|json)['\"]"
],
"datasourceTemplate": "{{#if datasource}}{{datasource}}{{else}}github-releases{{/if}}",
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
},
{
"description": "Update helm importbin versions in jsonnet",
"fileMatch": ["\\.(jsonnet|libsonnet)$"],
"matchStrings": [
"// renovate: depName=(?<depName>.+?)(?: lookupName=(?<lookupName>.+?))?(?: registryUrl=(?<registryUrl>.*?))?(?: datasource=(?<datasource>[a-z-]+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s.+?importbin ['\"]https?://.*-(?<currentValue>v?[0-9.]+)\\.(tgz|tar\\.gz)['\"]"
],
"datasourceTemplate": "{{#if datasource}}{{datasource}}{{else}}helm{{/if}}",
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}helm{{/if}}"
}
]
}