Commit graph

10594 commits

Author SHA1 Message Date
Kubernetes Prow Robot
4b2e387b8b
Merge pull request #134734 from kannon92/kal-linter-enable
Enable duplicatemarkers for Kubernetes API Linter
2025-11-04 15:32:14 -08:00
Patrick Ohly
6034321603 dependencies: ginkgo v2.27.2, gomega v1.38.2
Specifically the new AddTreeConstructionNodeArgsTransformer and SpecPriority in
Ginkgo will be useful.

Gomega gets updated to keep up-to-date.
2025-11-01 09:52:09 +01:00
Kubernetes Prow Robot
710c80f72a
Merge pull request #133503 from p0lyn0mial/upstream-disable-panic-watch-decode-err-for-integration
test-integration: set KUBE_PANIC_WATCH_DECODE_ERROR to false
2025-10-31 02:52:03 -07:00
Kevin Hannon
fda069a5d6 update kal to fix markdown table bug 2025-10-30 12:01:09 -04:00
Kevin Hannon
9cc3a06f0b enable duplicate tags for kal and add exceptions 2025-10-30 11:15:35 -04:00
Kubernetes Prow Robot
3ec2d82da5
Merge pull request #134784 from michaelasp/svm_beta2
SVM: bump the API to beta, remove unused fields
2025-10-29 13:56:02 -07:00
Michael Aspinwall
3b72759d1b Update SVM to Beta
Co-authored-by: Stanislav Láznička <stlaz.devel@proton.me>
2025-10-29 19:36:11 +00:00
Francesco Romani
816eee64e8 cpumanager: hack: add golang ci config for contextual logging
add cpumanager to contextual logging linter
regenerate with
```hack/update-golangci-lint-config.sh```

Signed-off-by: Francesco Romani <fromani@redhat.com>
2025-10-27 08:38:58 +01:00
Kubernetes Prow Robot
60e1f61a63
Merge pull request #133511 from BenTheElder/no-md5
eliminate md5 usage, block new usage
2025-10-24 10:59:35 -07:00
Tim Allclair
c247514f47 Remove year from copyright header boilerplate 2025-10-23 16:50:13 -07:00
Kubernetes Prow Robot
ee58e792cc
Merge pull request #134812 from skitt/enable-gocritic-unlambda
Avoid no-change lambdas
2025-10-23 15:43:34 -07:00
Kubernetes Prow Robot
ab34215bab
Merge pull request #134229 from yongruilin/kal-vg
Use kube-api-linter linting for declarative validation tags
2025-10-23 08:11:35 -07:00
Stephen Kitt
1e2817d589
Avoid no-change lambdas
This replaces functions that wrap another function with no change with
a direct reference to the wrapped function.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-10-23 09:46:15 +02:00
yongruilin
d764e81a66 Revert "Implement validation-gen lint for CI"
This reverts commit 252d584cb7.

Lint logic is implemented through golanci-lint&kube-api-linter
2025-10-22 18:02:06 +00:00
yongruilin
7d1500bb1e feat: Add exceptions for conflicting markers in kube-api-linter 2025-10-22 18:02:06 +00:00
yongruilin
12b5106809 bump kube-api-linter tool to latest and go mod tidy 2025-10-22 18:02:06 +00:00
yongruilin
5fc2f3e5a9 feat: Enable conflicting markers linter to detect mutually exclusive field markers 2025-10-22 17:06:11 +00:00
Stephen Kitt
5bfc9aba9f
Disable unwanted gocritic checks instead of filtering them
The golangci-lint docs indicate that, for gocritic, disabled-checks
and enabled-checks can't be combined. That is however not accurate;
enabled-checks adds checks, disabled-checks disables them, in that
order. If disable-all isn't set, then the setup starts with the checks
enabled by default, adds any additional checks specified in
enabled-checks, and removes checks specified in disabled-checks.

This means that instead of filtering unwanted checks, we can disable
them entirely. This makes the set of disabled checks easier to read,
and perhaps easier to clean up in future.

For singleCaseSwitch and wrapperFunc, we only want to ignore specific
instances, so this is still done by filtering.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-10-22 15:00:53 +02:00
Benjamin Elder
886fdeefae forbid new use of md5 2025-10-21 15:25:11 -07:00
Tim Hockin
b1c85ef2fe
golangci-lint: no need to enable deprecatedComment 2025-10-21 12:47:38 -07:00
Kubernetes Prow Robot
cf991024a2
Merge pull request #134656 from BenTheElder/cleanup-rsync
additional build simplification, drop rsync requirement
2025-10-16 14:32:47 -07:00
Kubernetes Prow Robot
e066b3850f
Merge pull request #133912 from tallclair/kube-feature-deps
Mark all Kube feature dependencies, and require dependencies to be declared for all features
2025-10-16 11:14:43 -07:00
Benjamin Elder
1877809f59 cleanup unused rsync related env vars 2025-10-16 10:26:13 -07:00
Benjamin Elder
feeeb4aa19 switch from rsync to cp, drop rsync requirement 2025-10-16 10:26:13 -07:00
Benjamin Elder
30c3c990d0 prevent shellcheck warning
https://www.shellcheck.net/wiki/SC2153

this is not a mispelling of KUBE_OUTPUT_SUBPATH, the unprefixed version is an optional override which sets _KUBE_OUTPUT_SUBPATH, which is handled in hack/lib/init.sh where golang.sh is sourced
2025-10-15 20:18:31 -07:00
Benjamin Elder
563919c685 don't update _output/bin symlink in dockerized builds 2025-10-15 20:18:31 -07:00
Benjamin Elder
605f402d44 use relative symlink for output path
resolves issues with creating symlinks inside the build container via bind mount instead of rsync-ing them out
2025-10-15 13:12:38 -07:00
Tim Allclair
36e3a8f269 Record and require all kube-feature dependencies 2025-10-15 10:29:15 -07:00
Kubernetes Prow Robot
48453a6eec
Merge pull request #134174 from phuhung273/topologymanager-contextual-logging
kubelet: Migrate pkg/kubelet/cm/topologymanager to contextual logging
2025-10-15 01:53:34 -07:00
Kubernetes Prow Robot
9630ab9581
Merge pull request #134510 from BenTheElder/no-rsync
build by running kube-cross directly
2025-10-14 11:37:40 -07:00
phuhung273
7ed61cfde1 chore(kubelet): migrate topologymanager to contextual logging 2025-10-14 18:32:20 +07:00
Jordan Liggitt
39d37a1e92 Remove invalid SAN certificate construction 2025-10-13 10:27:22 -07:00
Benjamin Elder
7ed65b466d remove defunct comments about updating copy_output 2025-10-13 09:47:24 -07:00
Benjamin Elder
eaeed1a534 remove calls to kube::build::build_image and kube::build::copy_output 2025-10-13 09:47:24 -07:00
Kubernetes Prow Robot
260ea59ff5
Merge pull request #134293 from bart0sh/PR203-migrate-devicemanager-to-contextual-logging
Migrate device manager to contextual logging
2025-10-13 07:23:44 -07:00
Kubernetes Prow Robot
6bc4914b84
Merge pull request #134256 from liggitt/protoc-gogo-poc
KEP-5589 - drop gogo runtime dependencies
2025-10-08 13:47:00 -07:00
Kubernetes Prow Robot
51e35e61ce
Merge pull request #133870 from pohly/build-data-race-detection
build: also support KUBE_RACE for test binaries
2025-10-08 12:57:01 -07:00
Jordan Liggitt
7f58bb9abd
Regenerate vendor 2025-10-08 14:28:41 -04:00
Jordan Liggitt
6d8adfe402
Isolate generated ProtoMessage() methods in build-tagged files 2025-10-08 14:28:40 -04:00
joshjms
070d4c1846 bump etcd to v3.6.5
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-03 18:19:15 +08:00
Ed Bartosh
bb91913017 Migrate sample-device-lugin to contextual logging 2025-09-28 21:13:41 +03:00
Ed Bartosh
d45a4557c1 Migrate device manager to contextual logging 2025-09-26 16:50:34 +03:00
Kubernetes Prow Robot
1a04a958fb
Merge pull request #134228 from liggitt/proto-gogo-poc
gogo protobuf dependency cleanup
2025-09-23 16:46:20 -07:00
Kubernetes Prow Robot
c4ecd6b129
Merge pull request #134221 from danwinship/strict-lint-cleanup
Remove some unused bits of verify-golangci-lint.sh
2025-09-23 16:46:13 -07:00
Jordan Liggitt
a87068c685
Clean up gogo dependency tracking 2025-09-23 13:59:37 -04:00
Dan Winship
ac35a0a99a Remove some unused bits of verify-golangci-lint.sh
The "strict" option was removed but was still referenced.
2025-09-23 08:39:49 -04:00
Kubernetes Prow Robot
1aec2eb003
Merge pull request #134156 from JoelSpeed/enable-ssa-tags
Enable SSATags linter to enforce +listType on lists in APIs
2025-09-22 09:50:17 -07:00
Joel Speed
4e71993917
Enable SSATags linter to enforce +listType on lists in APIs 2025-09-19 13:57:07 +01:00
Stephen Kitt
c3a26a066d
Bump golangci-lint to 2.4.0
This adds support for Go 1.25. There are no changes to the linting
results.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-09-18 16:20:34 +02:00
Benjamin Elder
88d6e6c465 drop automaxprocs hacks now that go 1.25 handles this built in
https://go.dev/doc/go1.25#container-aware-gomaxprocs
2025-09-17 16:36:15 -07:00