-
Notifications
You must be signed in to change notification settings - Fork 737
Expand file tree
/
Copy pathrenovate.json
More file actions
119 lines (119 loc) · 4.13 KB
/
renovate.json
File metadata and controls
119 lines (119 loc) · 4.13 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:best-practices"],
"timezone": "UTC",
"schedule": ["before 4am on monday"],
"prConcurrentLimit": 239,
"prCreation": "not-pending",
"internalChecksFilter": "strict",
"ignoreDeps": [],
"separateMajorMinor": true,
"separateMultipleMajor": true,
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": ["/^Makefile$/"],
"matchStrings": [
"\\$\\(GO\\) install\\s+(?:.*\\s)?(?<depName>[\\w.\\/-]+)@(?<currentValue>v[\\d.]+)"
],
"datasourceTemplate": "go"
},
{
"customType": "regex",
"description": "Update embedded Grafana version",
"managerFilePatterns": ["^pkg/embedded/grafana/grafana\\.go$"],
"matchStrings": [
"https://dl\\.grafana\\.com/oss/release/grafana-(?<currentValue>[0-9.]+)\\."
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "grafana/grafana",
"versioningTemplate": "semver"
},
{
"customType": "regex",
"description": "Update grafana-pyroscope-app plugin version",
"managerFilePatterns": ["^pkg/embedded/grafana/grafana\\.go$"],
"matchStrings": [
"https://github\\.com/grafana/profiles-drilldown/releases/download/v(?<currentValue>[0-9.]+)/grafana-pyroscope-app-[0-9.]+\\.zip"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "grafana/profiles-drilldown",
"versioningTemplate": "semver"
}
],
"packageRules": [
{
"description": "Group all Go module updates (main project)",
"matchManagers": ["gomod"],
"matchFileNames": ["go.mod", "api/go.mod", "lidia/go.mod"],
"groupName": "gomod",
"schedule": ["before 4am on monday"],
"minimumReleaseAge": "3 days"
},
{
"description": "Group all npm updates",
"matchManagers": ["npm"],
"matchFileNames": ["package.json"],
"groupName": "npm",
"schedule": ["before 4am on monday"],
"minimumReleaseAge": "3 days"
},
{
"description": "Group all Docker updates",
"matchManagers": ["dockerfile"],
"matchFileNames": ["cmd/pyroscope/**"],
"groupName": "docker",
"schedule": ["before 4am on the first day of the month"],
"minimumReleaseAge": "3 days"
},
{
"description": "Group all GitHub Actions updates",
"matchManagers": ["github-actions"],
"groupName": "github-actions",
"schedule": ["before 4am on monday"],
"minimumReleaseAge": "3 days"
},
{
"description": "Go modules examples - only pyroscope-go package",
"matchManagers": ["gomod"],
"matchFileNames": [
"examples/golang-pgo/go.mod",
"examples/language-sdk-instrumentation/golang-push/rideshare-alloy/go.mod",
"examples/language-sdk-instrumentation/golang-push/rideshare-k6/go.mod",
"examples/language-sdk-instrumentation/golang-push/rideshare/go.mod",
"examples/language-sdk-instrumentation/golang-push/simple/go.mod",
"examples/tracing/golang-push/go.mod"
],
"allowedVersions": "/.*/",
"matchPackageNames": ["github.com/grafana/pyroscope-go"],
"groupName": "examples-gomod",
"schedule": ["before 4am on monday"],
"minimumReleaseAge": "3 days"
},
{
"description": "Automatically merge patch updates",
"matchUpdateTypes": ["patch"],
"automerge": false,
"automergeType": "pr",
"automergeStrategy": "squash",
"platformAutomerge": true
},
{
"description": "Group all Makefile tool updates",
"matchManagers": ["custom.regex"],
"matchFileNames": ["Makefile"],
"groupName": "makefile-tools",
"schedule": ["before 4am on monday"]
},
{
"description": "Group embedded Grafana updates with post-upgrade tasks",
"matchPackageNames": ["grafana/grafana", "grafana/profiles-drilldown"],
"groupName": "embedded-grafana",
"postUpgradeTasks": {
"commands": ["go run tools/update-embedded-checksums/main.go"],
"fileFilters": ["pkg/embedded/grafana/grafana.go"],
"executionMode": "update"
}
}
]
}