Skip to content

✨ Replace deepcopy-gen with controller-gen #256

✨ Replace deepcopy-gen with controller-gen

✨ Replace deepcopy-gen with controller-gen #256

Triggered via pull request December 21, 2024 18:19
Status Failure
Total duration 2m 27s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: pkg/controller/spot_migrator.go#L24
could not import sigs.k8s.io/controller-runtime/pkg/metrics (-: # sigs.k8s.io/controller-runtime/pkg/metrics
lint
undefined: leaderelection.SwitchMetric) (typecheck)
lint: pkg/controller/pod_safe_to_evict_annotator_test.go#L14
could not import sigs.k8s.io/controller-runtime/pkg/client/fake (-: # sigs.k8s.io/controller-runtime/pkg/client/fake
lint
cannot use c.tracker (variable of type versionedTracker) as "k8s.io/client-go/testing".ObjectTracker value in argument to dryPatch: versionedTracker does not implement "k8s.io/client-go/testing".ObjectTracker (wrong type for method Create)
lint
cannot use c.tracker (variable of type versionedTracker) as "k8s.io/client-go/testing".ObjectTracker value in argument to testing.ObjectReaction: versionedTracker does not implement "k8s.io/client-go/testing".ObjectTracker (wrong type for method Create)
lint
issues found
test
undefined: leaderelection.SwitchMetric
test
cannot use c.tracker (variable of type versionedTracker) as "k8s.io/client-go/testing".ObjectTracker value in argument to dryPatch: versionedTracker does not implement "k8s.io/client-go/testing".ObjectTracker (wrong type for method Create)
test
cannot use c.tracker (variable of type versionedTracker) as "k8s.io/client-go/testing".ObjectTracker value in argument to testing.ObjectReaction: versionedTracker does not implement "k8s.io/client-go/testing".ObjectTracker (wrong type for method Create)
test
Process completed with exit code 2.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636