Commit 165b0f8
🌱 rebase to k/k 1.35 (#75)
* rebase to k/k 1.35
* fix: add missing Apache 2.0 boilerplate headers
Files added in the k/k 1.35 rebase were missing the required
Apache 2.0 license boilerplate headers, causing verify-boilerplate
CI check to fail.
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: handle OverrideDefault errors to satisfy errcheck linter
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: replace broken pr-verifier Docker image with inline check
The pr-verifier workflow used gcr.io/kubebuilder/pr-verifier:v0.4.3
which is no longer available on Google Container Registry, causing
the 'verify PR contents' CI check to always fail with:
manifest unknown: Failed to fetch "v0.4.3"
Replace with an equivalent inline shell step that checks the PR title
format directly, without requiring an external Docker image.
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* chore: remove pr-verifier workflow
The gcr.io/kubebuilder/pr-verifier:v0.4.3 Docker image is no longer
available and the workflow has been breaking all PRs. Removing it entirely.
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: bump golangci-lint v1.54.2 → v1.64.8
v1.54.2 depends on go.tmz.dev/musttag which is no longer resolvable,
causing the lint CI job to fail at install time.
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: upgrade golangci-lint to v2 and fix all lint issues
- Bump golangci-lint v1.54.2 → v2.10.1 (v1.54.2 has dead dependency
go.tmz.dev/musttag causing install failures)
- Add .golangci.yml with version: "2" config
- Fix revive lints: stutter (BatteriesList→List), receiver-naming,
unused-parameter, blank-imports (add comments)
- Fix staticcheck QF1008: remove redundant embedded field selectors
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: fix golangci-lint v2 module path and resolve all lint/verify issues
- Fix golangci-lint install: v2 uses module path .../v2/cmd/golangci-lint
- Update .golangci.yml: disable blank-imports revive rule (conflicts with
goimports import ordering)
- Strip inline comments from blank imports (goimports can't handle them)
- All checks pass: boilerplate, verify-imports, lint, build
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: bump staticcheck 2023.1 → 2025.1 for Go 1.25 support
staticcheck 2023.1 fails with 'invalid Go version: 1.25.0'.
2025.1 supports Go 1.25+.
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: switch golangci-lint install to binary download via uget.sh
Using 'go install' for golangci-lint v2 failed in prow because the
Go toolchain version requirement caused install failures. Switch to
downloading the pre-built binary directly from GitHub Releases,
matching how kcp manages golangci-lint.
Also removes the 'v' prefix from GOLANGCI_LINT_VER (uget.sh uses
version without 'v' in the download URL).
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: add KCP boilerplate to uget.sh and gitignore coverage.txt
- hack/uget.sh was missing the required Apache 2.0 boilerplate header
- coverage.txt was not gitignored, causing verify-imports to fail
when make test was run before make verify-imports
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: make test depend on gotestsum so it installs before running
When USE_GOTESTSUM=1 (set by prow), make test uses the gotestsum binary.
Without it as a Makefile dependency it fails with 'command not found'.
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: bump gotestsum v1.8.1 → v1.13.0
v1.8.1 failed to install in prow with 'No such file or directory'.
v1.13.0 is the latest stable and installs correctly.
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
* fix: untrack coverage.txt and add to .gitignore
coverage.txt was tracked by git, so running make test would generate it
and cause verify-imports to fail (git diff sees the changed file).
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
---------
Signed-off-by: mjudeikis-bot <mjudeikis-bot@faros.sh>
Co-authored-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
Co-authored-by: mjudeikis-bot <mjudeikis-bot@faros.sh>1 parent 56987ee commit 165b0f8
20 files changed
Lines changed: 1104 additions & 569 deletions
File tree
- .github/workflows
- hack
- server
- batteries
- cmd
- options
- readiness
- tokengetter
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
157 | | - | |
| 160 | + | |
158 | 161 | | |
159 | 162 | | |
160 | 163 | | |
| |||
This file was deleted.
0 commit comments