forked from open-telemetry/opentelemetry-demo
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(config): migrate config renovate.json5
- Loading branch information
1 parent
23a24b2
commit e4b6922
Showing
1 changed file
with
119 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,137 +1,173 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
|
||
"schedule": "every weekend", | ||
|
||
// double PR and branch limits | ||
$schema: 'https://docs.renovatebot.com/renovate-schema.json', | ||
schedule: 'every weekend', | ||
prConcurrentLimit: 20, | ||
branchConcurrentLimit: 20, | ||
labels: ['dependencies'], | ||
|
||
// put by default dependency update all in one group | ||
groupName: "config-no-service", | ||
|
||
"assigneesFromCodeOwners": true, | ||
|
||
"packageRules": [ | ||
labels: [ | ||
'dependencies', | ||
], | ||
groupName: 'config-no-service', | ||
assigneesFromCodeOwners: true, | ||
packageRules: [ | ||
{ | ||
"matchFileNames": ["src/accountingservice/**"], | ||
"groupName": "accountingservice", | ||
matchFileNames: [ | ||
'src/accountingservice/**', | ||
], | ||
groupName: 'accountingservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/adservice/**"], | ||
"groupName": "adservice", | ||
matchFileNames: [ | ||
'src/adservice/**', | ||
], | ||
groupName: 'adservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/cartservice/**"], | ||
"groupName": "cartservice", | ||
matchFileNames: [ | ||
'src/cartservice/**', | ||
], | ||
groupName: 'cartservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/checkoutservice/**"], | ||
"groupName": "checkoutservice", | ||
matchFileNames: [ | ||
'src/checkoutservice/**', | ||
], | ||
groupName: 'checkoutservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/currencyservice/**"], | ||
"groupName": "currencyservice", | ||
matchFileNames: [ | ||
'src/currencyservice/**', | ||
], | ||
groupName: 'currencyservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/emailservice/**"], | ||
"groupName": "emailservice", | ||
matchFileNames: [ | ||
'src/emailservice/**', | ||
], | ||
groupName: 'emailservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/featureflagservice/**"], | ||
"groupName": "featureflagservice", | ||
matchFileNames: [ | ||
'src/featureflagservice/**', | ||
], | ||
groupName: 'featureflagservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/frauddetectionservice/**"], | ||
"groupName": "frauddetectionservice", | ||
matchFileNames: [ | ||
'src/frauddetectionservice/**', | ||
], | ||
groupName: 'frauddetectionservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/frontend/**"], | ||
"groupName": "frontend", | ||
matchFileNames: [ | ||
'src/frontend/**', | ||
], | ||
groupName: 'frontend', | ||
}, | ||
{ | ||
"matchFileNames": ["src/frontendproxy/**"], | ||
"groupName": "frontendproxy", | ||
matchFileNames: [ | ||
'src/frontendproxy/**', | ||
], | ||
groupName: 'frontendproxy', | ||
}, | ||
{ | ||
"matchFileNames": ["src/grafana/**"], | ||
"groupName": "grafana", | ||
matchFileNames: [ | ||
'src/grafana/**', | ||
], | ||
groupName: 'grafana', | ||
}, | ||
{ | ||
"matchFileNames": ["src/kafka/**"], | ||
"groupName": "kafka", | ||
matchFileNames: [ | ||
'src/kafka/**', | ||
], | ||
groupName: 'kafka', | ||
}, | ||
{ | ||
"matchFileNames": ["src/loadgenerator/**"], | ||
"groupName": "loadgenerator", | ||
matchFileNames: [ | ||
'src/loadgenerator/**', | ||
], | ||
groupName: 'loadgenerator', | ||
}, | ||
{ | ||
"matchFileNames": ["src/otelcollector/**"], | ||
"groupName": "otelcollector", | ||
matchFileNames: [ | ||
'src/otelcollector/**', | ||
], | ||
groupName: 'otelcollector', | ||
}, | ||
{ | ||
"matchFileNames": ["src/paymentservice/**"], | ||
"groupName": "paymentservice", | ||
matchFileNames: [ | ||
'src/paymentservice/**', | ||
], | ||
groupName: 'paymentservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/productcatalogservice/**"], | ||
"groupName": "productcatalogservice", | ||
matchFileNames: [ | ||
'src/productcatalogservice/**', | ||
], | ||
groupName: 'productcatalogservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/prometheus/**"], | ||
"groupName": "prometheus", | ||
matchFileNames: [ | ||
'src/prometheus/**', | ||
], | ||
groupName: 'prometheus', | ||
}, | ||
{ | ||
"matchFileNames": ["src/quoteservice/**"], | ||
"groupName": "quoteservice", | ||
matchFileNames: [ | ||
'src/quoteservice/**', | ||
], | ||
groupName: 'quoteservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/recommendationservice/**"], | ||
"groupName": "recommendationservice", | ||
matchFileNames: [ | ||
'src/recommendationservice/**', | ||
], | ||
groupName: 'recommendationservice', | ||
}, | ||
{ | ||
"matchFileNames": ["src/shippingservice/**"], | ||
"groupName": "shippingservice", | ||
matchFileNames: [ | ||
'src/shippingservice/**', | ||
], | ||
groupName: 'shippingservice', | ||
}, | ||
{ | ||
// intentionally using Java 11 in some examples | ||
// not using matchUpdateTypes "major", because renovate wants to bump "11-jre" to "11.0.19_7-jre" | ||
"matchPackageNames": ["eclipse-temurin"], | ||
"enabled": false | ||
} | ||
matchPackageNames: [ | ||
'eclipse-temurin', | ||
], | ||
enabled: false, | ||
}, | ||
], | ||
|
||
"regexManagers": [ | ||
customManagers: [ | ||
{ | ||
// Parse image version from .env file. | ||
"fileMatch": [ | ||
".env$" | ||
customType: 'regex', | ||
fileMatch: [ | ||
'.env$', | ||
], | ||
datasourceTemplate: 'docker', | ||
matchStrings: [ | ||
'IMAGE=(?<depName>.+):(?<currentValue>.+)', | ||
], | ||
"datasourceTemplate": "docker", | ||
"matchStrings": [ | ||
"IMAGE=(?<depName>.+):(?<currentValue>.+)" | ||
] | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"test/tracetesting/Dockerfile$" | ||
customType: 'regex', | ||
fileMatch: [ | ||
'test/tracetesting/Dockerfile$', | ||
], | ||
datasourceTemplate: 'docker', | ||
depNameTemplate: 'kubeshop/tracetest', | ||
matchStrings: [ | ||
'IMAGE_VERSION=(?<currentValue>.+)', | ||
], | ||
"datasourceTemplate": "docker", | ||
"depNameTemplate": "kubeshop/tracetest", | ||
"matchStrings": [ | ||
"IMAGE_VERSION=(?<currentValue>.+)" | ||
] | ||
}, | ||
{ | ||
"fileMatch": [ | ||
"src/grafana/provisioning/datasources/opensearch.yaml$" | ||
customType: 'regex', | ||
fileMatch: [ | ||
'src/grafana/provisioning/datasources/opensearch.yaml$', | ||
], | ||
"datasourceTemplate": "docker", | ||
"depNameTemplate": "opensearchproject/opensearch", | ||
"matchStrings": [ | ||
"version: (?<currentValue>.+)" | ||
] | ||
} | ||
] | ||
datasourceTemplate: 'docker', | ||
depNameTemplate: 'opensearchproject/opensearch', | ||
matchStrings: [ | ||
'version: (?<currentValue>.+)', | ||
], | ||
}, | ||
], | ||
} |