Skip to content

Bump sigs.k8s.io/cluster-api from 1.4.4 to 1.6.0 #1749

Bump sigs.k8s.io/cluster-api from 1.4.4 to 1.6.0

Bump sigs.k8s.io/cluster-api from 1.4.4 to 1.6.0 #1749

Triggered via pull request January 1, 2024 04:44
Status Failure
Total duration 2m 36s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
golangci: common/bootstraptoken/token.go#L10
could not import github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1 (-: # github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1
golangci: apis/infrastructure/v1beta1/bootstrapkubeconfig_webhook.go#L32
cannot use &BootstrapKubeconfig{} (value of type *BootstrapKubeconfig) as admission.Validator value in variable declaration: *BootstrapKubeconfig does not implement admission.Validator (wrong type for method ValidateCreate)
golangci: common/bootstraptoken/token.go#L59
tokenID declared and not used (typecheck)
golangci: controllers/infrastructure/bootstrapkubeconfig_controller.go#L11
could not import github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1 (-: # github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/apis/infrastructure/v1beta1
golangci: apis/infrastructure/v1beta1/bootstrapkubeconfig_webhook.go#L32
cannot use &BootstrapKubeconfig{} (value of type *BootstrapKubeconfig) as admission.Validator value in variable declaration: *BootstrapKubeconfig does not implement admission.Validator (wrong type for method ValidateCreate)
golangci: controllers/infrastructure/byocluster_controller.go#L190
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object client.Object) source.SyncingSource) is not a type (typecheck)
golangci: controllers/infrastructure/byomachine_controller.go#L333
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object client.Object) source.SyncingSource) is not a type (typecheck)
golangci: controllers/infrastructure/byomachine_controller.go#L338
source.Kind (value of type func(cache "sigs.k8s.io/controller-runtime/pkg/cache".Cache, object client.Object) source.SyncingSource) is not a type (typecheck)
golangci: controllers/infrastructure/byomachine_controller.go#L352
cannot use (func(o client.Object) []ctrl.Request literal) (value of type func(o client.Object) []reconcile.Request) as handler.MapFunc value in return statement (typecheck)
golangci: controllers/infrastructure/byomachine_controller.go#L573
cannot use (func(o client.Object) []reconcile.Request literal) (value of type func(o client.Object) []reconcile.Request) as handler.MapFunc value in return statement (typecheck)
golangci
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/cluster-api-provider-bringyourownhost/cluster-api-provider-bringyourownhost. Supported file pattern: go.sum
golangci
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']