Skip to content

Update module github.com/metal3-io/baremetal-operator/apis to v0.5.0 #565

Update module github.com/metal3-io/baremetal-operator/apis to v0.5.0

Update module github.com/metal3-io/baremetal-operator/apis to v0.5.0 #565

Status Failure
Total duration 2m 41s
Artifacts
github (govet, golint and gotest)
59s
github (govet, golint and gotest)
github (golangci)
2m 34s
github (golangci)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
github (govet, golint and gotest): api/v1beta1/openstackbaremetalset_webhook.go#L58
cannot use &OpenStackBaremetalSet{} (value of type *OpenStackBaremetalSet) as type admission.Validator in variable declaration:
github (govet, golint and gotest): api/v1beta1/openstackprovisionserver_webhook.go#L58
cannot use &OpenStackProvisionServer{} (value of type *OpenStackProvisionServer) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
Process completed with exit code 1.
github (golangci): pkg/openstackbaremetalset/baremetalhost.go#L14
could not import github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1
github (golangci): pkg/openstackprovisionserver/deployment.go#L21
could not import github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1
github (golangci): main.go#L40
could not import github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/openstack-baremetal-operator/api/v1beta1
github (golangci): main.go#L146
srv.TLSOpts undefined (type webhook.Server has no field or method TLSOpts) (typecheck)
github (golangci): controllers/openstackbaremetalset_controller.go#L162
cannot use (func(o client.Object) []reconcile.Request literal) (value of type func(o client.Object) []reconcile.Request) as handler.MapFunc value in argument to handler.EnqueueRequestsFromMapFunc (typecheck)
github (golangci): controllers/openstackbaremetalset_controller.go#L185
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)
github (golangci)
issues found
github (govet, golint and gotest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
github (govet, golint and gotest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
github (golangci)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
github (golangci)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
github (golangci)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
github (golangci)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/