Skip to content

Commit e2d4e49

Browse files
frezbosmira
authored andcommitted
chore: rekres for renovate changes
Bring in renovate under kres. Signed-off-by: Noel Georgi <[email protected]> (cherry picked from commit 266346b)
1 parent b95c830 commit e2d4e49

File tree

2 files changed

+130
-1
lines changed

2 files changed

+130
-1
lines changed

.github/renovate.json

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,59 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"description": "THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.\n\nGenerated on 2024-12-17T09:57:25Z by kres 318187b.\n\n",
3+
"description": "THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.\n\nGenerated on 2024-12-17T10:03:38Z by kres 318187b.\n\n",
44
"prHeader": "Update Request | Renovate Bot",
55
"extends": [
66
":dependencyDashboard",
77
":gitSignOff",
88
":semanticCommitScopeDisabled",
99
"schedule:earlyMondays"
1010
],
11+
"customManagers": [
12+
{
13+
"customType": "regex",
14+
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}",
15+
"fileMatch": [
16+
"vars.yaml"
17+
],
18+
"matchStrings": [
19+
"# renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s(?:.*_(?:version|VERSION):\\s+(?<currentValue>.*))?(?:(\\s)?.*_(?:ref|REF):\\s+(?<currentDigest>.*))?"
20+
]
21+
},
22+
{
23+
"customType": "regex",
24+
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}",
25+
"fileMatch": [
26+
"Pkgfile"
27+
],
28+
"matchStrings": [
29+
"# renovate: datasource=(?<datasource>.*?)(?:\\s+extractVersion=(?<extractVersion>.+?))?(?:\\s+versioning=(?<versioning>.+?))?\\s+depName=(?<depName>.+?)?\\s(?:\\s+.*_(?:version|VERSION):\\s+(?<currentValue>.*))?(?:\\s.*_(?:ref|REF):\\s+(?<currentDigest>.*))?"
30+
]
31+
},
32+
{
33+
"customType": "regex",
34+
"datasourceTemplate": "github-tags",
35+
"depNameTemplate": "siderolabs/bldr",
36+
"versioningTemplate": "semver",
37+
"fileMatch": [
38+
"Pkgfile"
39+
],
40+
"matchStrings": [
41+
"ghcr.io\\/siderolabs\\/bldr:(?<currentValue>v.*)"
42+
]
43+
},
44+
{
45+
"customType": "regex",
46+
"datasourceTemplate": "github-tags",
47+
"depNameTemplate": "siderolabs/bldr",
48+
"versioningTemplate": "semver",
49+
"fileMatch": [
50+
"Makefile"
51+
],
52+
"matchStrings": [
53+
"BLDR_RELEASE\\s+\\?=\\s+(?<currentValue>.*)\\n"
54+
]
55+
}
56+
],
1157
"packageRules": [
1258
{
1359
"groupName": "dependencies",
@@ -18,6 +64,37 @@
1864
"pin",
1965
"digest"
2066
]
67+
},
68+
{
69+
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>\\d+)?$",
70+
"matchPackageNames": [
71+
"nvidia/open-gpu-kernel-modules",
72+
"open-iscsi/open-isns",
73+
"containers/crun",
74+
"git://git.kernel.org/pub/scm/libs/libcap/libcap.git",
75+
"git://sourceware.org/git/elfutils.git",
76+
"git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git"
77+
]
78+
},
79+
{
80+
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.?(?<patch>[0-9]{1,3})?$",
81+
"matchPackageNames": [
82+
"https://sourceware.org/git/glibc.git"
83+
]
84+
},
85+
{
86+
"versioning": "regex:^(?<major>\\d{4})(?<minor>\\d{2})(?<patch>\\d{2})\\.?(?<build>\\d+)?$",
87+
"matchPackageNames": [
88+
"google/gvisor",
89+
"intel/Intel-Linux-Processor-Microcode-Data-Files",
90+
"cloudflare/cloudflared"
91+
]
92+
},
93+
{
94+
"versioning": "regex:^(?<major>\\d+)-(?<minor>\\d+)-?(?<patch>\\d+)?$",
95+
"matchPackageNames": [
96+
"git://linux-nfs.org/~steved/libtirpc"
97+
]
2198
}
2299
],
23100
"separateMajorMinor": false

.kres.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,55 @@ spec:
171171
kind: common.Repository
172172
spec:
173173
conformMaximumOfOneCommit: false
174+
---
175+
kind: common.Renovate
176+
spec:
177+
customManagers:
178+
- customType: regex
179+
fileMatch:
180+
- vars.yaml
181+
matchStrings:
182+
- '# renovate: datasource=(?<datasource>.*?)(?:\s+extractVersion=(?<extractVersion>.+?))?(?:\s+versioning=(?<versioning>.+?))?\s+depName=(?<depName>.+?)?\s(?:.*_(?:version|VERSION):\s+(?<currentValue>.*))?(?:(\s)?.*_(?:ref|REF):\s+(?<currentDigest>.*))?'
183+
versioningTemplate: "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
184+
- customType: regex
185+
fileMatch:
186+
- Pkgfile
187+
matchStrings:
188+
- '# renovate: datasource=(?<datasource>.*?)(?:\s+extractVersion=(?<extractVersion>.+?))?(?:\s+versioning=(?<versioning>.+?))?\s+depName=(?<depName>.+?)?\s(?:\s+.*_(?:version|VERSION):\s+(?<currentValue>.*))?(?:\s.*_(?:ref|REF):\s+(?<currentDigest>.*))?'
189+
versioningTemplate: "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
190+
- customType: regex
191+
fileMatch:
192+
- Pkgfile
193+
matchStrings:
194+
- ghcr.io\/siderolabs\/bldr:(?<currentValue>v.*)
195+
depNameTemplate: siderolabs/bldr
196+
datasourceTemplate: github-tags
197+
versioningTemplate: semver
198+
- customType: regex
199+
fileMatch:
200+
- Makefile
201+
matchStrings:
202+
- BLDR_RELEASE\s+\?=\s+(?<currentValue>.*)\n
203+
depNameTemplate: siderolabs/bldr
204+
datasourceTemplate: github-tags
205+
versioningTemplate: semver
206+
packageRules:
207+
- matchPackageNames:
208+
- nvidia/open-gpu-kernel-modules
209+
- open-iscsi/open-isns
210+
- containers/crun
211+
- git://git.kernel.org/pub/scm/libs/libcap/libcap.git
212+
- git://sourceware.org/git/elfutils.git
213+
- git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git
214+
versioning: 'regex:^(?<major>\d+)\.(?<minor>\d+)\.?(?<patch>\d+)?$'
215+
- matchPackageNames:
216+
- https://sourceware.org/git/glibc.git
217+
versioning: 'regex:^(?<major>\d+)\.(?<minor>\d+)\.?(?<patch>[0-9]{1,3})?$'
218+
- matchPackageNames:
219+
- google/gvisor
220+
- intel/Intel-Linux-Processor-Microcode-Data-Files
221+
- cloudflare/cloudflared
222+
versioning: 'regex:^(?<major>\d{4})(?<minor>\d{2})(?<patch>\d{2})\.?(?<build>\d+)?$'
223+
- matchPackageNames:
224+
- git://linux-nfs.org/~steved/libtirpc
225+
versioning: 'regex:^(?<major>\d+)-(?<minor>\d+)-?(?<patch>\d+)?$'

0 commit comments

Comments
 (0)