Skip to content

Commit

Permalink
chore: kresify renovate
Browse files Browse the repository at this point in the history
Bring renovate under kres control.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Dec 18, 2024
1 parent 719b5cc commit e5382fc
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 45 deletions.
59 changes: 21 additions & 38 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,66 +1,49 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.",
"prHeader": "Update Request | Renovate Bot",
"extends": [
":dependencyDashboard",
":gitSignOff",
":semanticCommitScopeDisabled",
"schedule:earlyMondays"
],
"prHeader": "Update Request | Renovate Bot",
"regexManagers": [
"customManagers": [
{
"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>.*))?"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-tags",
"depNameTemplate": "siderolabs/bldr",
"versioningTemplate": "semver",
"fileMatch": [
"Pkgfile",
"Makefile"
],
"matchStrings": [
"ghcr.io\\/siderolabs\\/bldr:(?<currentValue>v.*)"
],
"depNameTemplate": "siderolabs/bldr",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
]
}
],
"packageRules": [
{
"matchPackagePatterns": [
"*"
],
"matchDatasources": [
"docker"
],
"groupName": "container images"
},
{
"matchPackagePatterns": [
"*"
],
"matchDatasources": [
"go",
"golang-version"
],
"groupName": "go packages"
},
{
"matchPackagePatterns": [
"*"
],
"matchDatasources": [
"git-refs",
"git-tags",
"github-tags",
"github-releases"
],
"groupName": "releases"
"groupName": "dependencies",
"matchUpdateTypes": [
"major",
"minor",
"patch",
"pin",
"digest"
]
}
]
],
"separateMajorMinor": false
}
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-11-29T13:33:28Z by kres 232fe63.
# Generated on 2024-12-18T15:24:30Z by kres b9507d6.

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.17.2
image: moby/buildkit:v0.18.1
options: --privileged
ports:
- 1234:1234
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
- default
services:
buildkitd:
image: moby/buildkit:v0.17.2
image: moby/buildkit:v0.18.1
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-11-29T13:33:28Z by kres 232fe63.
# Generated on 2024-12-18T15:24:30Z by kres b9507d6.

name: weekly
concurrency:
Expand All @@ -16,7 +16,7 @@ jobs:
- pkgs
services:
buildkitd:
image: moby/buildkit:v0.17.2
image: moby/buildkit:v0.18.1
options: --privileged
ports:
- 1234:1234
Expand Down
19 changes: 19 additions & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,22 @@ spec:
- install-cni
- talosctl-cni-bundle-install
reproducibleTargetName: reproducibility
---
kind: common.Renovate
spec:
customManagers:
- 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
- Makefile
matchStrings:
- ghcr.io\/siderolabs\/bldr:(?<currentValue>v.*)
depNameTemplate: siderolabs/bldr
datasourceTemplate: github-tags
versioningTemplate: semver
4 changes: 2 additions & 2 deletions Makefile
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-11-29T13:33:28Z by kres 232fe63.
# Generated on 2024-12-18T15:24:30Z by kres b9507d6.

# common variables

Expand Down Expand Up @@ -118,7 +118,7 @@ local-%: ## Builds the specified target defined in the Pkgfile using the local
echo $$platform; \
directory="$${platform//\//_}"; \
if [[ -d "$$DEST/$$directory" ]]; then \
mv "$$DEST/$$directory/"* $$DEST; \
mv -f "$$DEST/$$directory/"* $$DEST; \
rmdir "$$DEST/$$directory/"; \
fi; \
done'
Expand Down

0 comments on commit e5382fc

Please sign in to comment.