Skip to content

Commit

Permalink
chore: rekres for renovate changes
Browse files Browse the repository at this point in the history
Bring in renovate under kres.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Dec 16, 2024
1 parent e2b1497 commit 266346b
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 62 deletions.
102 changes: 40 additions & 62 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,123 +1,101 @@
{
"$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",
"prHeader": "Update Request | Renovate Bot",
"extends": [
":dependencyDashboard",
":gitSignOff",
":semanticCommitScopeDisabled",
"schedule:earlyMondays"
],
"regexManagers": [
"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>.*))?"
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
]
},
{
"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"
],
"matchStrings": [
"ghcr.io\\/siderolabs\\/bldr:(?<currentValue>v.*)"
],
"depNameTemplate": "siderolabs/bldr",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
]
},
{
"customType": "regex",
"datasourceTemplate": "github-tags",
"depNameTemplate": "siderolabs/bldr",
"versioningTemplate": "semver",
"fileMatch": [
"Makefile"
],
"matchStrings": [
"BLDR_RELEASE\\s+\\?=\\s+(?<currentValue>.*)\\n"
],
"depNameTemplate": "siderolabs/bldr",
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
]
}
],
"packageRules": [
{
"groupName": "dependencies",
"matchUpdateTypes": [
"major",
"minor",
"patch",
"pin",
"digest"
]
},
{
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?$",
"matchPackageNames": [
"nvidia/open-gpu-kernel-modules",
"open-iscsi/open-isns",
"containers/crun",
"git://git.kernel.org/pub/scm/libs/libcap/libcap.git",
"git://sourceware.org/git/elfutils.git",
"git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?$"
]
},
{
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>[0-9]{1,3})?$",
"matchPackageNames": [
"https://sourceware.org/git/glibc.git"
],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>[0-9]{1,3})?$"
]
},
{
"versioning": "regex:^(?<major>\\d{4})(?<minor>\\d{2})(?<patch>\\d{2})\\.?(?<build>\\d+)?$",
"matchPackageNames": [
"google/gvisor",
"intel/Intel-Linux-Processor-Microcode-Data-Files",
"cloudflare/cloudflared"
],
"versioning": "regex:^(?<major>\\d{4})(?<minor>\\d{2})(?<patch>\\d{2})\\.?(?<build>\\d+)?$"
]
},
{
"versioning": "regex:^(?<major>\\d+)-(?<minor>\\d+)-?(?<patch>\\d+)?$",
"matchPackageNames": [
"git://linux-nfs.org/~steved/libtirpc"
],
"versioning": "regex:^(?<major>\\d+)-(?<minor>\\d+)-?(?<patch>\\d+)?$"
},
{
"matchPackagePatterns": [
"*"
],
"matchDatasources": [
"docker"
],
"groupName": "container images"
},
{
"matchPackagePatterns": [
"*"
],
"matchDatasources": [
"go",
"golang-version"
],
"groupName": "go packages"
},
{
"matchPackagePatterns": [
"*"
],
"matchDatasources": [
"npm"
],
"groupName": "node packages"
},
{
"matchPackagePatterns": [
"*"
],
"matchDatasources": [
"git-refs",
"git-tags",
"github-tags",
"github-releases"
],
"groupName": "releases"
]
}
],
"dependencyDashboard": true
"separateMajorMinor": false
}
52 changes: 52 additions & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,55 @@ spec:
cosign verify $$image --certificate-identity-regexp '@siderolabs\.com$$' --certificate-oidc-issuer https://accounts.google.com || \
cosign sign --yes $$image; \
done
---
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
- open-iscsi/open-isns
- containers/crun
- git://git.kernel.org/pub/scm/libs/libcap/libcap.git
- git://sourceware.org/git/elfutils.git
- git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git
versioning: 'regex:^(?<major>\d+)\.(?<minor>\d+)\.?(?<patch>\d+)?$'
- matchPackageNames:
- https://sourceware.org/git/glibc.git
versioning: 'regex:^(?<major>\d+)\.(?<minor>\d+)\.?(?<patch>[0-9]{1,3})?$'
- matchPackageNames:
- google/gvisor
- intel/Intel-Linux-Processor-Microcode-Data-Files
- cloudflare/cloudflared
versioning: 'regex:^(?<major>\d{4})(?<minor>\d{2})(?<patch>\d{2})\.?(?<build>\d+)?$'
- matchPackageNames:
- git://linux-nfs.org/~steved/libtirpc
versioning: 'regex:^(?<major>\d+)-(?<minor>\d+)-?(?<patch>\d+)?$'

0 comments on commit 266346b

Please sign in to comment.