Skip to content

Use TSCs in-place of Pod affinity/anti-affinity & always enforce them even if custom placement is specified #5510

Use TSCs in-place of Pod affinity/anti-affinity & always enforce them even if custom placement is specified

Use TSCs in-place of Pod affinity/anti-affinity & always enforce them even if custom placement is specified #5510

Triggered via pull request November 27, 2024 12:40
Status Failure
Total duration 18m 10s
Artifacts

ocs-operator-ci.yaml

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

Annotations

9 errors and 2 warnings
golangci-lint (1.22): main.go#L64
could not import github.com/red-hat-storage/ocs-operator/v4/controllers/storagecluster (-: # github.com/red-hat-storage/ocs-operator/v4/controllers/storagecluster
golangci-lint (1.22): controllers/storagecluster/placement.go#L27
undefined: defaults.GetMdsWeightedPodAffinityTerm) (typecheck)
golangci-lint (1.22): controllers/ocsinitialization/ocsinitialization_controller.go#L14
could not import github.com/red-hat-storage/ocs-operator/v4/controllers/storagecluster (-: # github.com/red-hat-storage/ocs-operator/v4/controllers/storagecluster
golangci-lint (1.22): controllers/storagecluster/placement.go#L27
undefined: defaults.GetMdsWeightedPodAffinityTerm) (typecheck)
golangci-lint (1.22): controllers/storagecluster/placement.go#L27
undefined: defaults.GetMdsWeightedPodAffinityTerm
golangci-lint (1.22): controllers/storagecluster/placement_test.go#L512
undefined: defaults.GetMdsWeightedPodAffinityTerm (typecheck)
golangci-lint (1.22)
issues found
go test (1.22): controllers/storagecluster/placement.go#L27
undefined: defaults.GetMdsWeightedPodAffinityTerm
go test (1.22)
Process completed with exit code 2.
go test (1.22)
Restore cache failed: Dependencies file is not found in /home/runner/work/ocs-operator/ocs-operator. Supported file pattern: go.sum
verify generated changes (1.22)
Restore cache failed: Dependencies file is not found in /home/runner/work/ocs-operator/ocs-operator. Supported file pattern: go.sum