From e4b692227909d9a78ac3f5dea8b8e0b4a7d59dfb Mon Sep 17 00:00:00 2001 From: "elastic-renovate-prod[bot]" <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Date: Fri, 9 Aug 2024 04:45:11 +0000 Subject: [PATCH] chore(config): migrate config renovate.json5 --- renovate.json5 | 202 +++++++++++++++++++++++++++++-------------------- 1 file changed, 119 insertions(+), 83 deletions(-) diff --git a/renovate.json5 b/renovate.json5 index ed723b0e63..f936058703 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -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=(?.+):(?.+)', ], - "datasourceTemplate": "docker", - "matchStrings": [ - "IMAGE=(?.+):(?.+)" - ] }, { - "fileMatch": [ - "test/tracetesting/Dockerfile$" + customType: 'regex', + fileMatch: [ + 'test/tracetesting/Dockerfile$', + ], + datasourceTemplate: 'docker', + depNameTemplate: 'kubeshop/tracetest', + matchStrings: [ + 'IMAGE_VERSION=(?.+)', ], - "datasourceTemplate": "docker", - "depNameTemplate": "kubeshop/tracetest", - "matchStrings": [ - "IMAGE_VERSION=(?.+)" - ] }, { - "fileMatch": [ - "src/grafana/provisioning/datasources/opensearch.yaml$" + customType: 'regex', + fileMatch: [ + 'src/grafana/provisioning/datasources/opensearch.yaml$', ], - "datasourceTemplate": "docker", - "depNameTemplate": "opensearchproject/opensearch", - "matchStrings": [ - "version: (?.+)" - ] - } - ] + datasourceTemplate: 'docker', + depNameTemplate: 'opensearchproject/opensearch', + matchStrings: [ + 'version: (?.+)', + ], + }, + ], }