Skip to content

Commit 935cc56

Browse files
committed
feat: update Talos v1.10.0-beta.0, CAPI v1.10
Updates in preparation to update CACPPT. Signed-off-by: Andrey Smirnov <[email protected]>
1 parent 24ca629 commit 935cc56

File tree

8 files changed

+401
-383
lines changed

8 files changed

+401
-383
lines changed

.github/renovate.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@
1818
"pin",
1919
"digest"
2020
]
21+
},
22+
{
23+
"enabled": false,
24+
"matchFileNames": [
25+
"Dockerfile"
26+
]
27+
},
28+
{
29+
"enabled": false,
30+
"matchFileNames": [
31+
".github/workflows/*.yaml"
32+
]
2133
}
2234
],
2335
"separateMajorMinor": false

.golangci.yml

Lines changed: 111 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,32 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-12-17T15:03:06Z by kres b9507d6.
3+
# Generated on 2025-04-16T13:44:44Z by kres fd5cab0.
4+
5+
version: "2"
46

57
# options for analysis running
68
run:
7-
timeout: 10m
9+
modules-download-mode: readonly
810
issues-exit-code: 1
911
tests: true
10-
build-tags: [ ]
11-
modules-download-mode: readonly
1212

1313
# output configuration options
1414
output:
1515
formats:
16-
- format: colored-line-number
16+
text:
1717
path: stdout
18-
print-issued-lines: true
19-
print-linter-name: true
20-
uniq-by-line: true
18+
print-issued-lines: true
19+
print-linter-name: true
2120
path-prefix: ""
2221

23-
# all available settings of specific linters
24-
linters-settings:
25-
dogsled:
26-
max-blank-identifiers: 2
27-
dupl:
28-
threshold: 150
29-
errcheck:
30-
check-type-assertions: true
31-
check-blank: true
32-
exhaustive:
33-
default-signifies-exhaustive: false
34-
gci:
35-
sections:
36-
- standard # Standard section: captures all standard packages.
37-
- default # Default section: contains all imports that could not be matched to another section type.
38-
- localmodule # Imports from the same module.
39-
gocognit:
40-
min-complexity: 30
41-
nestif:
42-
min-complexity: 5
43-
goconst:
44-
min-len: 3
45-
min-occurrences: 3
46-
gocritic:
47-
disabled-checks: [ ]
48-
gocyclo:
49-
min-complexity: 20
50-
godot:
51-
scope: declarations
52-
gofmt:
53-
simplify: true
54-
gomodguard: { }
55-
govet:
56-
enable-all: true
57-
lll:
58-
line-length: 200
59-
tab-width: 4
60-
misspell:
61-
locale: US
62-
ignore-words: [ ]
63-
nakedret:
64-
max-func-lines: 30
65-
prealloc:
66-
simple: true
67-
range-loops: true # Report preallocation suggestions on range loops, true by default
68-
for-loops: false # Report preallocation suggestions on for loops, false by default
69-
nolintlint:
70-
allow-unused: false
71-
allow-no-explanation: [ ]
72-
require-explanation: false
73-
require-specific: true
74-
rowserrcheck: { }
75-
testpackage: { }
76-
unparam:
77-
check-exported: false
78-
unused:
79-
local-variables-are-used: false
80-
whitespace:
81-
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
82-
multi-func: false # Enforces newlines (or comments) after every multi-line function signature
83-
wsl:
84-
strict-append: true
85-
allow-assign-and-call: true
86-
allow-multiline-assign: true
87-
allow-cuddle-declarations: false
88-
allow-trailing-comment: false
89-
force-case-trailing-whitespace: 0
90-
force-err-cuddling: false
91-
allow-separated-leading-comment: false
92-
gofumpt:
93-
extra-rules: false
94-
cyclop:
95-
# the maximal code complexity to report
96-
max-complexity: 20
97-
depguard:
98-
rules:
99-
prevent_unmaintained_packages:
100-
list-mode: lax # allow unless explicitly denied
101-
files:
102-
- $all
103-
deny:
104-
- pkg: io/ioutil
105-
desc: "replaced by io and os packages since Go 1.16: https://tip.golang.org/doc/go1.16#ioutil"
10622

10723
linters:
108-
enable-all: true
109-
disable-all: false
110-
fast: false
24+
default: all
11125
disable:
11226
- exhaustruct
11327
- err113
11428
- forbidigo
29+
- funcorder
11530
- funlen
11631
- gochecknoglobals
11732
- gochecknoinits
@@ -132,19 +47,113 @@ linters:
13247
- testifylint # complains about our assert recorder and has a number of false positives for assert.Greater(t, thing, 1)
13348
- protogetter # complains about us using Value field on typed spec, instead of GetValue which has a different signature
13449
- perfsprint # complains about us using fmt.Sprintf in non-performance critical code, updating just kres took too long
135-
- goimports # same as gci
13650
- musttag # seems to be broken - goes into imported libraries and reports issues there
137-
- exportloopref # WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
51+
# all available settings of specific linters
52+
settings:
53+
cyclop:
54+
# the maximal code complexity to report
55+
max-complexity: 20
56+
dogsled:
57+
max-blank-identifiers: 2
58+
dupl:
59+
threshold: 150
60+
errcheck:
61+
check-type-assertions: true
62+
check-blank: true
63+
exhaustive:
64+
default-signifies-exhaustive: false
65+
gocognit:
66+
min-complexity: 30
67+
nestif:
68+
min-complexity: 5
69+
goconst:
70+
min-len: 3
71+
min-occurrences: 3
72+
gocritic:
73+
disabled-checks: [ ]
74+
gocyclo:
75+
min-complexity: 20
76+
godot:
77+
scope: declarations
78+
gomodguard: { }
79+
govet:
80+
enable-all: true
81+
lll:
82+
line-length: 200
83+
tab-width: 4
84+
misspell:
85+
locale: US
86+
nakedret:
87+
max-func-lines: 30
88+
prealloc:
89+
simple: true
90+
range-loops: true # Report preallocation suggestions on range loops, true by default
91+
for-loops: false # Report preallocation suggestions on for loops, false by default
92+
nolintlint:
93+
allow-unused: false
94+
allow-no-explanation: [ ]
95+
require-explanation: false
96+
require-specific: true
97+
rowserrcheck: { }
98+
testpackage: { }
99+
unparam:
100+
check-exported: false
101+
unused:
102+
local-variables-are-used: false
103+
whitespace:
104+
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
105+
multi-func: false # Enforces newlines (or comments) after every multi-line function signature
106+
wsl:
107+
strict-append: true
108+
allow-assign-and-call: true
109+
allow-multiline-assign: true
110+
allow-trailing-comment: false
111+
force-case-trailing-whitespace: 0
112+
allow-separated-leading-comment: false
113+
allow-cuddle-declarations: false
114+
force-err-cuddling: false
115+
depguard:
116+
rules:
117+
prevent_unmaintained_packages:
118+
list-mode: lax # allow unless explicitly denied
119+
files:
120+
- $all
121+
deny:
122+
- pkg: io/ioutil
123+
desc: "replaced by io and os packages since Go 1.16: https://tip.golang.org/doc/go1.16#ioutil"
138124

125+
exclusions:
126+
generated: lax
127+
paths:
128+
- third_party$
129+
- builtin$
130+
- examples$
139131
issues:
140-
exclude: [ ]
141-
exclude-rules: [ ]
142-
exclude-use-default: false
143-
exclude-case-sensitive: false
144132
max-issues-per-linter: 10
145133
max-same-issues: 3
134+
uniq-by-line: true
146135
new: false
147136

148137
severity:
149-
default-severity: error
150-
case-sensitive: false
138+
default: error
139+
formatters:
140+
enable:
141+
- gci
142+
- gofmt
143+
- gofumpt
144+
settings:
145+
gci:
146+
sections:
147+
- standard
148+
- default
149+
- localmodule
150+
gofmt:
151+
simplify: true
152+
gofumpt:
153+
extra-rules: false
154+
exclusions:
155+
generated: lax
156+
paths:
157+
- third_party$
158+
- builtin$
159+
- examples$

0 commit comments

Comments
 (0)