Skip to content

Commit 2f70711

Browse files
authored
Initial commit
0 parents  commit 2f70711

File tree

103 files changed

+3705
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+3705
-0
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.{bash,py,sh}]
13+
indent_style = space
14+
indent_size = 4

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
* text=auto eol=lf
2+
*.yaml.j2 linguist-language=YAML
3+
*.sops.* diff=sopsdiffer

.github/labeler.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
area/templates:
3+
- changed-files:
4+
- any-glob-to-any-file: templates/**/*
5+
area/github:
6+
- changed-files:
7+
- any-glob-to-any-file: .github/**/*
8+
area/kubernetes:
9+
- changed-files:
10+
- any-glob-to-any-file: kubernetes/**/*
11+
area/taskfile:
12+
- changed-files:
13+
- any-glob-to-any-file: .taskfiles/**/*
14+
- any-glob-to-any-file: Taskfile*

.github/labels.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
# Area
3+
- { name: "area/templates", color: "0e8a16" }
4+
- { name: "area/github", color: "0e8a16" }
5+
- { name: "area/kubernetes", color: "0e8a16" }
6+
- { name: "area/taskfile", color: "0e8a16" }
7+
# Renovate
8+
- { name: "renovate/container", color: "027fa0" }
9+
- { name: "renovate/github-action", color: "027fa0" }
10+
- { name: "renovate/github-release", color: "027fa0" }
11+
- { name: "renovate/helm", color: "027fa0" }
12+
# Semantic Type
13+
- { name: "type/patch", color: "ffec19" }
14+
- { name: "type/minor", color: "ff9800" }
15+
- { name: "type/major", color: "f6412d" }
16+
- { name: "type/break", color: "f6412d" }
17+
# Uncategorized
18+
- { name: "hold", color: "ee0701" }

.github/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
changelog:
2+
exclude:
3+
authors:
4+
- renovate

.github/renovate.json5

Lines changed: 329 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,329 @@
1+
{
2+
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
3+
extends: [
4+
'config:recommended',
5+
'docker:enableMajor',
6+
':automergeBranch',
7+
':dependencyDashboard',
8+
':disableRateLimiting',
9+
':semanticCommits',
10+
':separatePatchReleases',
11+
],
12+
dependencyDashboard: true,
13+
dependencyDashboardTitle: 'Renovate Dashboard 🤖',
14+
suppressNotifications: [
15+
'prEditedNotification',
16+
'prIgnoreNotification',
17+
],
18+
schedule: [
19+
'every weekend',
20+
],
21+
ignorePaths: [
22+
'**/*.sops.*',
23+
],
24+
argocd: {
25+
fileMatch: [
26+
'(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$',
27+
],
28+
},
29+
'helm-values': {
30+
fileMatch: [
31+
'(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$',
32+
],
33+
},
34+
helmfile: {
35+
fileMatch: [
36+
'(^|/)helmfile\\.ya?ml(?:\\.j2)?$',
37+
],
38+
},
39+
kubernetes: {
40+
fileMatch: [
41+
'(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$',
42+
],
43+
},
44+
kustomize: {
45+
fileMatch: [
46+
'(^|/)kustomization\\.ya?ml(?:\\.j2)?$',
47+
],
48+
},
49+
pip_requirements: {
50+
fileMatch: [
51+
'(^|/)[\\w-]*requirements(-\\w+)?\\.(txt|pip)(?:\\.j2)?$',
52+
],
53+
},
54+
packageRules: [
55+
{
56+
description: [
57+
'Auto-merge GitHub Actions for minor and patch',
58+
],
59+
matchManagers: [
60+
'github-actions',
61+
],
62+
automerge: true,
63+
automergeType: 'branch',
64+
ignoreTests: true,
65+
matchUpdateTypes: [
66+
'minor',
67+
'patch',
68+
],
69+
},
70+
{
71+
description: [
72+
'Argo Operator Group',
73+
],
74+
groupName: 'Argo Operator',
75+
matchDatasources: [
76+
'docker',
77+
],
78+
group: {
79+
commitMessageTopic: '{{{groupName}}} group',
80+
},
81+
matchPackageNames: [
82+
'/argo-cd/',
83+
],
84+
},
85+
{
86+
description: [
87+
'Talos Group',
88+
],
89+
groupName: 'Talos',
90+
matchDatasources: [
91+
'docker',
92+
],
93+
group: {
94+
commitMessageTopic: '{{{groupName}}} group',
95+
},
96+
matchPackageNames: [
97+
'/siderolabs/talosctl/',
98+
'/siderolabs/installer/',
99+
],
100+
},
101+
{
102+
matchDatasources: [
103+
'docker',
104+
],
105+
matchUpdateTypes: [
106+
'major',
107+
],
108+
commitMessagePrefix: 'feat(container)!: ',
109+
commitMessageTopic: '{{depName}}',
110+
commitMessageExtra: ' ( {{currentVersion}} → {{newVersion}} )',
111+
},
112+
{
113+
matchDatasources: [
114+
'docker',
115+
],
116+
matchUpdateTypes: [
117+
'minor',
118+
],
119+
semanticCommitType: 'feat',
120+
semanticCommitScope: 'container',
121+
commitMessageTopic: '{{depName}}',
122+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
123+
},
124+
{
125+
matchDatasources: [
126+
'docker',
127+
],
128+
matchUpdateTypes: [
129+
'patch',
130+
],
131+
semanticCommitType: 'fix',
132+
semanticCommitScope: 'container',
133+
commitMessageTopic: '{{depName}}',
134+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
135+
},
136+
{
137+
matchDatasources: [
138+
'docker',
139+
],
140+
matchUpdateTypes: [
141+
'digest',
142+
],
143+
semanticCommitType: 'chore',
144+
semanticCommitScope: 'container',
145+
commitMessageTopic: '{{depName}}',
146+
commitMessageExtra: '( {{currentDigestShort}} → {{newDigestShort}} )',
147+
},
148+
{
149+
matchDatasources: [
150+
'helm',
151+
],
152+
matchUpdateTypes: [
153+
'major',
154+
],
155+
commitMessagePrefix: 'feat(helm)!: ',
156+
commitMessageTopic: '{{depName}}',
157+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
158+
},
159+
{
160+
matchDatasources: [
161+
'helm',
162+
],
163+
matchUpdateTypes: [
164+
'minor',
165+
],
166+
semanticCommitType: 'feat',
167+
semanticCommitScope: 'helm',
168+
commitMessageTopic: '{{depName}}',
169+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
170+
},
171+
{
172+
matchDatasources: [
173+
'helm',
174+
],
175+
matchUpdateTypes: [
176+
'patch',
177+
],
178+
semanticCommitType: 'fix',
179+
semanticCommitScope: 'helm',
180+
commitMessageTopic: '{{depName}}',
181+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
182+
},
183+
{
184+
matchDatasources: [
185+
'github-releases',
186+
'github-tags',
187+
],
188+
matchUpdateTypes: [
189+
'major',
190+
],
191+
commitMessagePrefix: 'feat(github-release)!: ',
192+
commitMessageTopic: '{{depName}}',
193+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
194+
},
195+
{
196+
matchDatasources: [
197+
'github-releases',
198+
'github-tags',
199+
],
200+
matchUpdateTypes: [
201+
'minor',
202+
],
203+
semanticCommitType: 'feat',
204+
semanticCommitScope: 'github-release',
205+
commitMessageTopic: '{{depName}}',
206+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
207+
},
208+
{
209+
matchDatasources: [
210+
'github-releases',
211+
'github-tags',
212+
],
213+
matchUpdateTypes: [
214+
'patch',
215+
],
216+
semanticCommitType: 'fix',
217+
semanticCommitScope: 'github-release',
218+
commitMessageTopic: '{{depName}}',
219+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
220+
},
221+
{
222+
matchManagers: [
223+
'github-actions',
224+
],
225+
matchUpdateTypes: [
226+
'major',
227+
],
228+
commitMessagePrefix: 'feat(github-action)!: ',
229+
commitMessageTopic: '{{depName}}',
230+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
231+
},
232+
{
233+
matchManagers: [
234+
'github-actions',
235+
],
236+
matchUpdateTypes: [
237+
'minor',
238+
],
239+
semanticCommitType: 'feat',
240+
semanticCommitScope: 'github-action',
241+
commitMessageTopic: '{{depName}}',
242+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
243+
},
244+
{
245+
matchManagers: [
246+
'github-actions',
247+
],
248+
matchUpdateTypes: [
249+
'patch',
250+
],
251+
semanticCommitType: 'fix',
252+
semanticCommitScope: 'github-action',
253+
commitMessageTopic: '{{depName}}',
254+
commitMessageExtra: '( {{currentVersion}} → {{newVersion}} )',
255+
},
256+
{
257+
matchUpdateTypes: [
258+
'major',
259+
],
260+
labels: [
261+
'type/major',
262+
],
263+
},
264+
{
265+
matchUpdateTypes: [
266+
'minor',
267+
],
268+
labels: [
269+
'type/minor',
270+
],
271+
},
272+
{
273+
matchUpdateTypes: [
274+
'patch',
275+
],
276+
labels: [
277+
'type/patch',
278+
],
279+
},
280+
{
281+
matchDatasources: [
282+
'docker',
283+
],
284+
addLabels: [
285+
'renovate/container',
286+
],
287+
},
288+
{
289+
matchDatasources: [
290+
'helm',
291+
],
292+
addLabels: [
293+
'renovate/helm',
294+
],
295+
},
296+
{
297+
matchDatasources: [
298+
'github-releases',
299+
'github-tags',
300+
],
301+
addLabels: [
302+
'renovate/github-release',
303+
],
304+
},
305+
{
306+
matchManagers: [
307+
'github-actions',
308+
],
309+
addLabels: [
310+
'renovate/github-action',
311+
],
312+
},
313+
],
314+
customManagers: [
315+
{
316+
customType: 'regex',
317+
description: [
318+
'Process YAML custom dependencies',
319+
],
320+
fileMatch: [
321+
'(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$',
322+
],
323+
matchStrings: [
324+
'datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( repository=(?<registryUrl>\\S+))?\\n.+(:\\s|=)(&\\S+\\s)?(?<currentValue>\\S+)',
325+
],
326+
datasourceTemplate: '{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}',
327+
},
328+
],
329+
}

0 commit comments

Comments
 (0)