|
1 | 1 | { |
2 | | - "extends": [ |
3 | | - "config:base", |
4 | | - // go dependencies and auto-merge configuration: https://github.com/newrelic/coreint-automation/blob/main/renovate-base.json5 |
5 | | - "github>newrelic/coreint-automation:renovate-base.json5", |
| 2 | + extends: [ |
| 3 | + 'config:recommended', |
| 4 | + 'github>newrelic/coreint-automation:renovate-base.json5', |
6 | 5 | ], |
7 | | - // Label PRs with `dependencies`. |
8 | | - "labels": ["dependencies"], |
9 | | - "enabledManagers": [ |
10 | | - // Enable only the regex manager (for Dockerfile base image bumping). |
11 | | - "regex" |
| 6 | + labels: [ |
| 7 | + 'dependencies', |
12 | 8 | ], |
13 | | - "regexManagers": [ |
| 9 | + enabledManagers: [ |
| 10 | + 'custom.regex', |
| 11 | + ], |
| 12 | + customManagers: [ |
14 | 13 | { |
15 | | - // Parse bundle image version from `base_image` ARG in Dockerfile. |
16 | | - "fileMatch": [ |
17 | | - "build/container/Dockerfile$" |
| 14 | + customType: 'regex', |
| 15 | + fileMatch: [ |
| 16 | + 'build/container/Dockerfile$', |
| 17 | + ], |
| 18 | + datasourceTemplate: 'docker', |
| 19 | + matchStrings: [ |
| 20 | + 'base_image=(?<depName>.+):(?<currentValue>.+)', |
18 | 21 | ], |
19 | | - "datasourceTemplate": "docker", |
20 | | - "matchStrings": [ |
21 | | - "base_image=(?<depName>.+):(?<currentValue>.+)" |
22 | | - ] |
23 | 22 | }, |
24 | 23 | { |
25 | | - // Parse version of embedded integrations. |
26 | | - "fileMatch": [ |
27 | | - "build/embed/integrations.version$" |
| 24 | + customType: 'regex', |
| 25 | + fileMatch: [ |
| 26 | + 'build/embed/integrations.version$', |
| 27 | + ], |
| 28 | + depNameTemplate: 'newrelic/{{{integrationName}}}', |
| 29 | + datasourceTemplate: 'github-releases', |
| 30 | + matchStrings: [ |
| 31 | + '(?<integrationName>.+),(?<currentValue>v.+)', |
28 | 32 | ], |
29 | | - "depNameTemplate": "newrelic/{{{integrationName}}}", |
30 | | - "datasourceTemplate": "github-releases", // Version info is fetched from GitHub. |
31 | | - "matchStrings": [ |
32 | | - "(?<integrationName>.+),(?<currentValue>v.+)" |
33 | | - ] |
34 | | - } |
35 | | - ] |
| 33 | + }, |
| 34 | + ], |
36 | 35 | } |
0 commit comments