|
1 | 1 | {
|
2 | 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
3 | 3 | "extends": [
|
4 |
| - "config:best-practices", |
5 |
| - ":semanticCommitsDisabled" |
| 4 | + "github>grafana/sm-renovate//presets/grafana.json5", |
| 5 | + "github>grafana/sm-renovate//presets/synthetic-monitoring.json5", |
| 6 | + "github>grafana/sm-renovate//presets/go.json5", |
| 7 | + "github>grafana/sm-renovate//presets/grafana-build-tools.json5" |
6 | 8 | ],
|
7 |
| - |
8 |
| - "branchPrefix": "grafanarenovatebot/", |
9 |
| - "commitMessagePrefix": "Chore: ", |
10 |
| - "platformCommit": "enabled", |
11 |
| - "dependencyDashboard": false, |
12 |
| - "forkProcessing": "disabled", |
13 |
| - "rebaseWhen": "behind-base-branch", |
14 |
| - "prHourlyLimit": 0, |
15 |
| - "prConcurrentLimit": 10, |
16 |
| - "branchConcurrentLimit": 10, |
17 |
| - |
18 |
| - "enabledManagers": ["custom.regex", "gomod"], |
19 |
| - |
20 |
| - "labels": ["dependencies"], |
21 |
| - |
22 |
| - "gomod": { |
23 |
| - "enabled": true |
24 |
| - }, |
25 |
| - |
26 |
| - "postUpdateOptions": [ |
27 |
| - "gomodTidyE" |
28 |
| - ], |
29 |
| - |
30 | 9 | "packageRules": [
|
31 |
| - { |
32 |
| - "matchManagers": ["gomod"], |
33 |
| - "matchUpdateTypes": ["digest"], |
34 |
| - "schedule": "before 8am on monday every 2 weeks" |
35 |
| - }, |
36 |
| - { |
37 |
| - "matchManagers": ["gomod"], |
38 |
| - "matchPackageNames": "github.com/prometheus/*", |
39 |
| - "groupName": "prometheus-go" |
40 |
| - }, |
41 |
| - { |
42 |
| - "matchPackageNames": "**/renovate", |
43 |
| - "extends": ["schedule:weekly"] |
44 |
| - }, |
45 | 10 | {
|
46 | 11 | // The default "docker" versioning will try to restrict upgrades to versions that do not change everything after
|
47 | 12 | // a dash (-) for the current tag, as this typically indicates the "flavor" (e.g. postgresql:17.1-alpine will not
|
48 | 13 | // be upgraded to postgresql:17.2-debian).
|
49 | 14 | // This image in particular has lots of dashes and does not follow this convention, so we force "loose"
|
50 | 15 | // versioning which is pretty much an alphabetical sort.
|
51 | 16 | "matchPackageNames": ["ghcr.io/grafana/chromium-swiftshader-alpine"],
|
52 |
| - "versioning": "loose", |
53 |
| - }, |
| 17 | + "versioning": "loose" |
| 18 | + } |
54 | 19 | ],
|
55 |
| - |
56 | 20 | "customManagers": [
|
57 |
| - { |
58 |
| - "customType": "regex", |
59 |
| - "datasourceTemplate": "docker", |
60 |
| - "versioningTemplate": "semver", |
61 |
| - "registryUrlTemplate": "https://ghcr.io", |
62 |
| - "fileMatch": [ |
63 |
| - "(^|/)Makefile$", |
64 |
| - ".*\\.jsonnet$", |
65 |
| - ".*\\.mk$", |
66 |
| - "^\\.github/workflows/.*\\.ya?ml$" |
67 |
| - ], |
68 |
| - "matchStrings": [ |
69 |
| - "\\bghcr\\.io/(?<depName>grafana/grafana-build-tools):(?<currentValue>v\\d+\\.\\d+\\.\\d+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\\b" |
70 |
| - ] |
71 |
| - }, |
72 | 21 | {
|
73 | 22 | // Update k6 version in Dockerfiles.
|
74 | 23 | "customType": "regex",
|
|
78 | 27 | "matchStrings": [
|
79 | 28 | "(?:^|\\n)[ \\t]*K6_VERSION\\s*:=\\s*(?<currentValue>\\S+)[ \\t]*(?:$|\\n)"
|
80 | 29 | ]
|
81 |
| - }, |
82 |
| - { |
83 |
| - // Update renovate version in GHA workflow file. |
84 |
| - "customType": "regex", |
85 |
| - "depNameTemplate": "ghcr.io/renovatebot/renovate", |
86 |
| - "datasourceTemplate": "docker", |
87 |
| - "fileMatch": [ |
88 |
| - "^\\.github/workflows/.*\\.ya?ml$", |
89 |
| - ], |
90 |
| - "matchStrings": [ |
91 |
| - "renovate-version: (?<currentValue>[^@\\s]+)(?:@(?<currentDigest>\\S+))?", |
92 |
| - "RENOVATE_IMAGE=ghcr.io/renovatebot/renovate:(?<currentValue>[^@\\s]+)(?:@(?<currentDigest>\\S+))?" |
93 |
| - ] |
94 | 30 | }
|
95 | 31 | ]
|
96 | 32 | }
|
0 commit comments