From 75322c7190b266960d223b94d055bb5167010992 Mon Sep 17 00:00:00 2001 From: secustor Date: Thu, 25 Jan 2024 19:49:52 +0100 Subject: [PATCH] ci(Renovate): update opentelemetry builder dependencies automatically --- renovate.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/renovate.json b/renovate.json index 5db72dd..9b0ec25 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,35 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" + ], + "ocb": { + "fileMatch": [ + "^distributions\\/.*manifest\\.ya?ml$" + ] + }, + "packageRules": [ + { + "matchSourceUrls": [ + "https://github.com/open-telemetry/opentelemetry-collector", + "https://github.com/open-telemetry/opentelemetry-collector-contrib" + ], + "groupName": "otel-collector upstream dependencies" + } + ], + "customManagers": [ + { + "description": "version field and OTELCOL_BUILDER_VERSION should follow upstream", + "fileMatch": [ + "^distributions\\/.*manifest\\.ya?ml$", + "^Makefile$" + ], + "matchStrings": [ + "\\sversion:\\s+(?\\S+)", + "OTELCOL_BUILDER_VERSION\\s*\\?=\\s*(?\\S+)" + ], + "depNameTemplate": "open-telemetry/opentelemetry-collector", + "datasourceTemplate": "github-releases", + "extractVersionTemplate": "^v(?.*)$" + } ] }