|
| 1 | +{ |
| 2 | + "extends": [ |
| 3 | + "config:base", |
| 4 | + ], |
| 5 | + "labels": [ |
| 6 | + "dependencies" |
| 7 | + ], |
| 8 | + "automerge": false, |
| 9 | + "enabledManagers": [ |
| 10 | + "cargo", |
| 11 | + "regex", |
| 12 | + "gomod" |
| 13 | + ], |
| 14 | + "regexManagers": [ |
| 15 | + { |
| 16 | + // Parse bundle image version from `base_image` ARG in Dockerfile. |
| 17 | + "fileMatch": [ |
| 18 | + "system_identity_registration/Dockerfile$" |
| 19 | + ], |
| 20 | + "datasourceTemplate": "docker", |
| 21 | + "matchStrings": [ |
| 22 | + "base_image=(?<depName>.+):(?<currentValue>.+)" |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + // Extract version for embedded binary for infrastructure-agent. |
| 27 | + "fileMatch": [ |
| 28 | + "^.goreleaser.yml$" |
| 29 | + ], |
| 30 | + "depNameTemplate": "newrelic/infrastructure-agent", |
| 31 | + "datasourceTemplate": "github-releases", |
| 32 | + // Version info is fetched from GitHub. |
| 33 | + "matchStrings": [ |
| 34 | + // Capture en var name and version from goreleaser.yml. |
| 35 | + " *- NEWRELIC_INFRA_AGENT_VERSION=(?<currentValue>.+)" |
| 36 | + ] |
| 37 | + }, |
| 38 | + { |
| 39 | + // Extract version for embedded binary for nrdot-collector-releases. |
| 40 | + "fileMatch": [ |
| 41 | + "^.goreleaser.yml$" |
| 42 | + ], |
| 43 | + "depNameTemplate": "newrelic/nrdot-collector-releases", |
| 44 | + "datasourceTemplate": "github-releases", |
| 45 | + // Version info is fetched from GitHub. |
| 46 | + "matchStrings": [ |
| 47 | + // Capture en var name and version from goreleaser.yml. |
| 48 | + " *- NR_OTEL_COLLECTOR_VERSION=(?<currentValue>.+)" |
| 49 | + ] |
| 50 | + } |
| 51 | + ], |
| 52 | + "rangeStrategy": "auto", |
| 53 | + // See <https://docs.renovatebot.com/configuration-options/#rangestrategy> |
| 54 | + "prConcurrentLimit": 0, |
| 55 | + "printConfig": true, |
| 56 | + "prHourlyLimit": 0, |
| 57 | + "packageRules": [ |
| 58 | + { |
| 59 | + "managers": [ |
| 60 | + "cargo" |
| 61 | + ], |
| 62 | + "updateTypes": [ |
| 63 | + "minor", |
| 64 | + "patch" |
| 65 | + ], |
| 66 | + "groupName": "cargo minor and patch updates" |
| 67 | + }, |
| 68 | + { |
| 69 | + "managers": [ |
| 70 | + "cargo" |
| 71 | + ], |
| 72 | + "updateTypes": [ |
| 73 | + "major", |
| 74 | + ], |
| 75 | + "groupName": "cargo major updates" |
| 76 | + }, |
| 77 | + { |
| 78 | + "managers": [ |
| 79 | + "gomod" |
| 80 | + ], |
| 81 | + "updateTypes": [ |
| 82 | + "minor", |
| 83 | + "patch" |
| 84 | + ], |
| 85 | + "groupName": "go minor and patch updates" |
| 86 | + }, |
| 87 | + { |
| 88 | + "managers": [ |
| 89 | + "gomod" |
| 90 | + ], |
| 91 | + "updateTypes": [ |
| 92 | + "major", |
| 93 | + ], |
| 94 | + "groupName": "go major updates" |
| 95 | + } |
| 96 | + ] |
| 97 | +} |
0 commit comments