-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json
60 lines (60 loc) · 2.29 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"timezone": "Europe/Warsaw",
"schedule": [
"after 10am",
"before 10pm"
],
"packageRules": [
{
"matchDatasources": ["docker"],
"matchPackageNames": ["python"],
"versioning": "pep440"
}
],
"customManagers": [
{
"description": "Update versions in *.pkrvars.hcl",
"fileMatch": [
"/packer/.*\\.pkrvars\\.hcl$"
],
"matchStrings": [
"#\\s?renovate:(?: datasource=(?<datasource>.+?))? depName=(?<depName>.+?)(?: packageName=(?<packageName>.+?))?(?: registryUrl=(?<registryUrl>.+?))?(?: extractVersion=(?<extractVersion>.+?))?(?: versioning=(?<versioning>.+?))?\\s.+?_version\\s?=\\s?\"?(?<currentValue>.+?)\"?\\s"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}gitlab-releases{{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
},
{
"description": "Update versions in vars.pkr.hcl",
"fileMatch": [
"vars\\.pkr\\.hcl$"
],
"matchStrings": [
"#\\s?renovate:(?: datasource=(?<datasource>.+?))? depName=(?<depName>.+?)(?: packageName=(?<packageName>.+?))?(?: registryUrl=(?<registryUrl>.+?))?(?: extractVersion=(?<extractVersion>.+?))?(?: versioning=(?<versioning>.+?))?\\s+default\\s?=\\s?\"?(?<currentValue>.+?)\"?\\s"
],
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}gitlab-releases{{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}",
"extractVersionTemplate": "{{#if extractVersion}}{{{extractVersion}}}{{else}}^v?(?<version>.+)${{/if}}"
},
{
"description": "Update packer plugins",
"fileMatch": [
".*\\.pkr\\.hcl$"
],
"matchStrings": [
"renovateplugins: (\\s*sourceUrl=(?<sourceUrl>[^\\s]+)){0,1}(\\s*datasource=(?<datasource>[^\\s]+)){0,1}(\\s*depName=(?<depName>[^\\s]+))*\\n.*= \"(?<currentValue>[^\"]+)\""
],
"datasourceTemplate": "github-releases"
}
],
"lockFileMaintenance": {
"enabled": true
},
"assignees" : [
"camaeel"
]
}