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
Matrix: go test
Matrix: golangci-lint
Matrix: verify generated changes
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
|