Skip to content

Add Support for Configuring CephCluster HealthCheck Settings in OCS Operator #5735

Add Support for Configuring CephCluster HealthCheck Settings in OCS Operator

Add Support for Configuring CephCluster HealthCheck Settings in OCS Operator #5735

Triggered via pull request January 16, 2025 15:43
Status Failure
Total duration 1m 43s
Artifacts

ocs-operator-ci.yaml

on: pull_request
shellcheck
11s
shellcheck
verify code spellings
14s
verify code spellings
commitlint
15s
commitlint
Matrix: go test
Matrix: golangci-lint
Matrix: verify generated changes
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 warnings
golangci-lint (1.23): controllers/mirroring/mirroring_controller.go#L23
could not import github.com/red-hat-storage/ocs-operator/api/v4/v1 (-: # github.com/red-hat-storage/ocs-operator/api/v4/v1
golangci-lint (1.23): vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/zz_generated.deepcopy.go#L297
cannot use &out.HealthCheck (value of type **"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec) as *"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec value in argument to in.HealthCheck.DeepCopyInto) (typecheck)
golangci-lint (1.23): controllers/defaults/utils.go#L6
could not import github.com/red-hat-storage/ocs-operator/api/v4/v1 (-: # github.com/red-hat-storage/ocs-operator/api/v4/v1
golangci-lint (1.23): vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/zz_generated.deepcopy.go#L297
cannot use &out.HealthCheck (value of type **"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec) as *"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec value in argument to in.HealthCheck.DeepCopyInto) (typecheck)
golangci-lint (1.23): controllers/storageclusterpeer/storageclusterpeer_controller.go#L26
could not import github.com/red-hat-storage/ocs-operator/api/v4/v1 (-: # github.com/red-hat-storage/ocs-operator/api/v4/v1
golangci-lint (1.23): vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/zz_generated.deepcopy.go#L297
cannot use &out.HealthCheck (value of type **"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec) as *"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec value in argument to in.HealthCheck.DeepCopyInto) (typecheck)
golangci-lint (1.23): controllers/ocsinitialization/ocsinitialization_controller.go#L502
declared and not used: allowConsumers (typecheck)
golangci-lint (1.23): controllers/ocsinitialization/ocsinitialization_controller.go#L8
"strconv" imported and not used (typecheck)
golangci-lint (1.23)
issues found
verify generated changes (1.23)
Process completed with exit code 2.
go test (1.23): vendor/github.com/red-hat-storage/ocs-operator/api/v4/v1/zz_generated.deepcopy.go#L297
cannot use &out.HealthCheck (value of type **"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec) as *"github.com/rook/rook/pkg/apis/ceph.rook.io/v1".CephClusterHealthCheckSpec value in argument to in.HealthCheck.DeepCopyInto
go test (1.23)
Process completed with exit code 2.
shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
verify code spellings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
commitlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
golangci-lint (1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
verify generated changes (1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
verify generated changes (1.23)
Restore cache failed: Dependencies file is not found in /home/runner/work/ocs-operator/ocs-operator. Supported file pattern: go.sum
go test (1.23)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
go test (1.23)
Restore cache failed: Dependencies file is not found in /home/runner/work/ocs-operator/ocs-operator. Supported file pattern: go.sum