Skip to content

Commit

Permalink
ci(renovate): adjust regex manager for bedrock
Browse files Browse the repository at this point in the history
  • Loading branch information
tyriis committed Dec 16, 2023
1 parent d882d67 commit 3835f62
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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=(?<depName>\\S+)( datasource=(?<datasource>\\S+))?( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\\n[\\t|\\s]*? \\S+: "?(?<currentValue>[^" ]+)"?$)',
],
datasourceTemplate: "github-releases",
versioningTemplate: "^(?<compatibility>\\d+)\\.(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
extractVersionTemplate: "^?(?<version>.*)",
},
],
packageRules: [],
ignorePaths: [
"^archive/**",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
nameOverride: minecraft-bedrock
env:
EULA: "true"
# renovate: datasource=github-releases depName=tyriis/bedrock-tags versioning=regex:^(?<compatibility>\\d+)\\.(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$ extractVersion=^(?<version>.*)$
# renovate: depName=tyriis/bedrock-tags
VERSION: "1.20.41.02"
DIFFICULTY: normal
SERVER_NAME: home
Expand Down

0 comments on commit 3835f62

Please sign in to comment.