Skip to content

Commit

Permalink
chore: rekres to simplify .kres.yaml defaults
Browse files Browse the repository at this point in the history
rekres to simplify `.kres.yaml` defaults.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Dec 18, 2024
1 parent 266346b commit 0ae70a6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 51 deletions.
22 changes: 5 additions & 17 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.\n\nGenerated on 2024-12-16T14:24:07Z by kres f05fefd.\n\n",
"description": "THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.",
"prHeader": "Update Request | Renovate Bot",
"extends": [
":dependencyDashboard",
Expand All @@ -9,24 +9,14 @@
"schedule:earlyMondays"
],
"customManagers": [
{
"customType": "regex",
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}",
"fileMatch": [
"vars.yaml"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s(?:.*_(?:version|VERSION):\\s+(?<currentValue>.*))?(?:(\\s)?.*_(?:ref|REF):\\s+(?<currentDigest>.*))?"
]
},
{
"customType": "regex",
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}",
"fileMatch": [
"Pkgfile"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s(?:\\s+.*_(?:version|VERSION):\\s+(?<currentValue>.*))?(?:\\s.*_(?:ref|REF):\\s+(?<currentDigest>.*))?"
"# renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s(?:.*_(?:version|VERSION):\\s+(?<currentValue>.*))?(?:(\\s)?.*_(?:ref|REF):\\s+(?<currentDigest>.*))?"
]
},
{
Expand All @@ -43,14 +33,12 @@
},
{
"customType": "regex",
"datasourceTemplate": "github-tags",
"depNameTemplate": "siderolabs/bldr",
"versioningTemplate": "semver",
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}",
"fileMatch": [
"Makefile"
"vars.yaml"
],
"matchStrings": [
"BLDR_RELEASE\\s+\\?=\\s+(?<currentValue>.*)\\n"
"# renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s(?:.*_(?:version|VERSION):\\s+(?<currentValue>.*))?(?:(\\s)?.*_(?:ref|REF):\\s+(?<currentDigest>.*))?"
]
}
],
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-12-11T15:43:22Z by kres 8183c20.
# Generated on 2024-12-18T18:42:14Z by kres fcff05e.

name: default
concurrency:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
labels: ${{ steps.retrieve-pr-labels.outputs.result }}
services:
buildkitd:
image: moby/buildkit:v0.18.1
image: moby/buildkit:v0.18.2
options: --privileged
ports:
- 1234:1234
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- default
services:
buildkitd:
image: moby/buildkit:v0.18.1
image: moby/buildkit:v0.18.2
options: --privileged
ports:
- 1234:1234
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/weekly.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-12-11T15:43:22Z by kres 8183c20.
# Generated on 2024-12-18T18:42:14Z by kres fcff05e.

name: weekly
concurrency:
Expand All @@ -16,7 +16,7 @@ jobs:
- pkgs
services:
buildkitd:
image: moby/buildkit:v0.18.1
image: moby/buildkit:v0.18.2
options: --privileged
ports:
- 1234:1234
Expand Down
29 changes: 0 additions & 29 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,35 +170,6 @@ spec:
---
kind: common.Renovate
spec:
customManagers:
- customType: regex
fileMatch:
- vars.yaml
matchStrings:
- '# renovate: datasource=(?<datasource>.*?)(?:\s+extractVersion=(?<extractVersion>.+?))?(?:\s+versioning=(?<versioning>.+?))?\s+depName=(?<depName>.+?)?\s(?:.*_(?:version|VERSION):\s+(?<currentValue>.*))?(?:(\s)?.*_(?:ref|REF):\s+(?<currentDigest>.*))?'
versioningTemplate: "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
- customType: regex
fileMatch:
- Pkgfile
matchStrings:
- '# renovate: datasource=(?<datasource>.*?)(?:\s+extractVersion=(?<extractVersion>.+?))?(?:\s+versioning=(?<versioning>.+?))?\s+depName=(?<depName>.+?)?\s(?:\s+.*_(?:version|VERSION):\s+(?<currentValue>.*))?(?:\s.*_(?:ref|REF):\s+(?<currentDigest>.*))?'
versioningTemplate: "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
- customType: regex
fileMatch:
- Pkgfile
matchStrings:
- ghcr.io\/siderolabs\/bldr:(?<currentValue>v.*)
depNameTemplate: siderolabs/bldr
datasourceTemplate: github-tags
versioningTemplate: semver
- customType: regex
fileMatch:
- Makefile
matchStrings:
- BLDR_RELEASE\s+\?=\s+(?<currentValue>.*)\n
depNameTemplate: siderolabs/bldr
datasourceTemplate: github-tags
versioningTemplate: semver
packageRules:
- matchPackageNames:
- nvidia/open-gpu-kernel-modules
Expand Down

0 comments on commit 0ae70a6

Please sign in to comment.