forked from c3nav/c3nav
-
Notifications
You must be signed in to change notification settings - Fork 0
/
renovate.json
102 lines (102 loc) · 2.78 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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"default:automergeDigest",
"default:automergeBranchPush",
"docker:enableMajor",
"docker:pinDigests",
"group:monorepos"
],
"rebaseWhen": "auto",
"dependencyDashboard": true,
"labels": [
"dependency"
],
"commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}",
"enabledManagers": [
"pip_requirements",
"dockerfile",
"gitlabci",
"regex"
],
"pip_requirements": {
"fileMatch": [
"(^|/)[\\w-]*requirements(-\\w+)?\\.(txt|pip)$",
"^src/requirements/\\w+\\.(txt|pip)$"
]
},
"regexManagers": [
{
"fileMatch": ["(^|/)[\\w-.]*[Dd]ockerfile$"],
"matchStringsStrategy": "any",
"matchStrings": [
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
"ARG BASE_IMAGE_NAME=(?<depName>.*?):(?<currentValue>.*?)\\s+(ARG )?BASE_IMAGE_DIGEST=(?<currentDigest>.*?)\\s"
],
"datasourceTemplate": "docker",
"versioningTemplate": "docker"
},
{
"fileMatch": ["(^|/)[\\w-.]*[Dd]ockerfile$"],
"matchStringsStrategy": "any",
"matchStrings": [
"(#\\s*renovate:\\s*srcname=(?<srcname>.*?)( datasource=(?<datasource>.*?))?( versioning=(?<versioning>.*?))?)?\\s+(?<package>[a-z0-9][a-z0-9-.]+)=(?<currentValue>[a-z0-9-:_+~.]+)\\s+"
],
"datasourceTemplate": "repology",
"depNameTemplate": "{{#if datasource}}{{{datasource}}}{{else}}ubuntu_23_04{{/if}}/{{#if srcname}}{{{srcname}}}{{else}}{{{package}}}{{/if}}",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}deb{{/if}}"
}
],
"packageRules": [
{
"matchPackagePatterns": ["ubuntu_\\d\\d_\\d\\d/build-essential"],
"matchManagers": ["regex"],
"enabled": false
},
{
"matchPackagePatterns": ["ubuntu_\\d\\d_\\d\\d/.*"],
"matchManagers": ["regex"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true,
"automergeType": "branch"
},
{
"groupName": "docker core image",
"matchPaths": [
"docker/Dockerfile"
]
},
{
"groupName": "docker tileserver image",
"matchPaths": [
"docker/tileserver.dockerfile"
]
},
{
"groupName": "python development dependencies",
"matchPaths": [
"src/requirements/dev.txt"
]
},
{
"groupName": "python ASGI server dependencies",
"matchPaths": [
"src/requirements/server-asgi.txt"
]
},
{
"groupName": "python tile-server dependencies",
"matchPaths": [
"src/requirements-tileserver.txt"
]
}
],
"lockFileMaintenance": {
"enabled": true,
"automerge": true,
"automergeType": "branch"
},
"ignoreTests": true
}