-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.json5
106 lines (106 loc) · 3.17 KB
/
base.json5
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
103
104
105
106
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"replacements:all"
],
"enabledManagers": [
"ansible",
"docker-compose",
"dockerfile",
"kubernetes",
"maven",
"github-actions",
"npm",
"pip_requirements"
],
"hostRules": [
{
"matchHost": "artifactory.ubique.ch/",
"userName": "mend-renovate",
"token": "{{ secrets.UBIQUE_GITHUB_COM_TOKEN }}"
}
],
matchUpdateTypes: [
"major",
"minor",
"patch"
],
separateMajorMinor: true,
separateMinorPatch: true,
"packageRules": [
// major/minor/patch separate for all packages. Override in specific block below, if undesired
{
"matchPackagePatterns": [
"*"
],
matchUpdateTypes: [
"major",
"minor",
"patch"
],
separateMajorMinor: true,
separateMinorPatch: true,
},
// least specific rules at the top, as renovate does not stop after teh first match and more specific matches at the bottom override previous matches
{
"matchPackagePatterns": [
"*"
],
"groupName": "Dependencies"
},
// Separate group for Spring Boot and Cloud packages (one group because they have to be compatible versions)
{
"matchManagers": [
"maven"
],
"matchPackagePrefixes": [
"org.springframework.boot:spring-boot",
"org.springframework.cloud:spring-cloud",
"com.azure.spring:spring-cloud-azure"
],
"groupName": "Spring Boot/Cloud dependencies"
},
// These packages are not public, so renovate needs to check the registryUrls below with the credentials at the top
{
"matchManagers": [
"maven"
],
"matchPackagePrefixes": [
"ch.ubique",
"ch.sac.shared:sac",
"ch.admin.swisstopo.shared:swisstopo",
"ch.ethz:eth",
],
"groupName": "UB Artifactory dependencies",
"registryUrls": [
"https://artifactory.ubique.ch/artifactory/backend"
]
},
{
"packageRules": [
{
"matchPackageNames": [
"edu.ucar:grib"
],
"allowedVersions": "!/^8\\.0\\.29$/"
},
{
"matchPackageNames": [
"io.kubernetes:client-java"
],
"allowedVersions": "!/^\\d+\\.\\d+\\.\\d+-legacy$/"
},
{
"matchPackageNames": [
"mysql"
],
"allowedVersions": "!/^8\\.4$/"
}
]
}
],
"schedule": [
"before 3am on the first day of the month"
]
}