From 3835f62c59a43c47f129c4efcdded032a1ba1a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20M=C3=BCller?= Date: Sat, 16 Dec 2023 01:18:13 +0100 Subject: [PATCH] ci(renovate): adjust regex manager for bedrock --- .github/renovate.json5 | 15 +++++++++++++-- .../minecraft-bedrock/app/helm-release.yaml | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index bfca76016..9ce285e7c 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -10,13 +10,24 @@ "github>tyriis/renovate-config//labels/semantic.json5", "github>tyriis/renovate-config//helm/groups/rook-ceph.json5", "github>tyriis/renovate-config//flux/groups/flux.json5", - "github>tyriis/renovate-config//generic-regex-manager.json5", + // "github>tyriis/renovate-config//generic-regex-manager.json5", "security:openssf-scorecard", ], semanticCommits: "enabled", suppressNotifications: ["prIgnoreNotification"], rebaseWhen: "conflicted", - regexManagers: [], + regexManagers: [ + { + description: "Process various dependencies in YAML files", + fileMatch: ["minecraft-bedrock/app/helm-release\\.yaml$"], + matchStrings: [ + '(?m:^\\s+# ?renovate: depName=(?\\S+)( datasource=(?\\S+))?( versioning=(?\\S+))?( extractVersion=(?\\S+))?\\n[\\t|\\s]*? \\S+: "?(?[^" ]+)"?$)', + ], + datasourceTemplate: "github-releases", + versioningTemplate: "^(?\\d+)\\.(?\\d+)\\.(?\\d+)\\.(?\\d+)$", + extractVersionTemplate: "^?(?.*)", + }, + ], packageRules: [], ignorePaths: [ "^archive/**", diff --git a/kubernetes/talos-flux/apps/gaming/minecraft-bedrock/app/helm-release.yaml b/kubernetes/talos-flux/apps/gaming/minecraft-bedrock/app/helm-release.yaml index d3c47d8b5..7fa7ea6fa 100644 --- a/kubernetes/talos-flux/apps/gaming/minecraft-bedrock/app/helm-release.yaml +++ b/kubernetes/talos-flux/apps/gaming/minecraft-bedrock/app/helm-release.yaml @@ -41,7 +41,7 @@ spec: nameOverride: minecraft-bedrock env: EULA: "true" - # renovate: datasource=github-releases depName=tyriis/bedrock-tags versioning=regex:^(?\\d+)\\.(?\\d+)\\.(?\\d+)\\.(?\\d+)$ extractVersion=^(?.*)$ + # renovate: depName=tyriis/bedrock-tags VERSION: "1.20.41.02" DIFFICULTY: normal SERVER_NAME: home