-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansible.json
69 lines (69 loc) · 2.18 KB
/
ansible.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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Preset for use with ansible repositories"],
"extends": ["github>owncloud-ops/renovate-presets:base"],
"packageRules": [
{
"matchManagers": ["regex"],
"matchDatasources": ["github-releases", "git-tags"],
"extractVersion": "^v?(?<version>.*)$"
},
{
"matchPackagePatterns": ["^(.+/)?minio/minio$"],
"versioning": "regex:^(?<compatibility>RELEASE\\.)?(?<major>\\d{4})-(?<minor>\\d{2})-(?<patch>\\d{2})T\\S*?Z$"
},
{
"matchPackagePatterns": ["^(.+/)?jitsi/.+$"],
"versioning": "regex:^(?<compatibility>.*)?(?<major>\\d{4})-(?<minor>\\d+)$"
},
{
"matchPackagePatterns": [
"restic/restic",
"creativeprojects/resticprofile"
],
"groupName": "restic stack"
},
{
"matchPackagePatterns": ["^hashicorp/terraform$"],
"separateMinorPatch": true
},
{
"matchPackagePatterns": ["^hashicorp/terraform$"],
"matchUpdateTypes": ["patch"],
"enabled": false
},
{
"matchDatasources": ["terraform-provider"],
"matchPackagePatterns": ["^cloudflare$"],
"matchUpdateTypes": ["patch"],
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^ansible/(group_vars|host_vars)/.*?$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n(?<roleName>\\S+?)_version: \"?(?<currentValue>.*?)\"?\\s"
]
},
{
"customType": "regex",
"fileMatch": ["^ansible/(group_vars|host_vars)/.*?$"],
"matchStrings": [
"\\s*(.+_image):\\s+\"?'?(?<depName>[^:\\s]+):(?<currentValue>[^\"'@]+?)(@(?<currentDigest>sha256:[a-f0-9]+))?\"?'?\\s"
],
"datasourceTemplate": "docker"
},
{
"customType": "regex",
"fileMatch": ["^terraform/.+.tf$", "^.drone.yml$"],
"matchStrings": [
"required_version = \"?= (?<currentValue>.*?)\"?\\s",
"tf_version: \"?(?<currentValue>.*?)\"?\\s"
],
"depNameTemplate": "hashicorp/terraform",
"datasourceTemplate": "github-releases"
}
]
}