Kubescape tool support #139
ci.yaml
on: pull_request
build
4m 17s
go-unit-tests
9m 12s
go-e2e-tests
9m 43s
helm-unit-tests
6s
Annotations
12 errors
|
helm-unit-tests
Process completed with exit code 1.
|
|
go-unit-tests
Process completed with exit code 2.
|
|
go-unit-tests:
pkg/kubescape/kubescape_test.go#L203
SA1019: apiextensionsfake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
go-unit-tests:
pkg/kubescape/kubescape_test.go#L199
SA1019: kubefake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
go-unit-tests:
pkg/kubescape/kubescape_test.go#L180
SA1019: apiextensionsfake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
go-unit-tests:
pkg/kubescape/kubescape_test.go#L179
SA1019: kubefake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
go-unit-tests:
pkg/kubescape/kubescape_test.go#L105
SA1019: apiextensionsfake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
go-unit-tests:
pkg/kubescape/kubescape_test.go#L82
SA1019: kubefake.NewSimpleClientset is deprecated: NewClientset replaces this with support for field management, which significantly improves server side apply testing. NewClientset is only available when apply configurations are generated (e.g. via --with-applyconfig). (staticcheck)
|
|
go-unit-tests:
pkg/kubescape/kubescape.go#L1139
S1009: should omit nil check; len() for github.com/kubescape/storage/pkg/apis/softwarecomposition/v1beta1.CPEs is defined as zero (gosimple)
|
|
go-unit-tests:
pkg/kubescape/kubescape.go#L1102
func `(*KubescapeTool).handleGetSBOM` is unused (unused)
|
|
go-unit-tests:
pkg/kubescape/kubescape.go#L1042
func `(*KubescapeTool).handleListSBOMs` is unused (unused)
|
|
go-e2e-tests
Process completed with exit code 2.
|