Skip to content

Don't allow two DRPCs with conflicting selectors in the same namespace #1957

Don't allow two DRPCs with conflicting selectors in the same namespace

Don't allow two DRPCs with conflicting selectors in the same namespace #1957

Triggered via pull request February 19, 2024 21:55
Status Failure
Total duration 3m 47s
Artifacts 1

ci.yaml

on: pull_request
Matrix: drenv tests
Matrix: ramenctl tests
Matrix: Check artifacts and operator deployment
Publish built image
0s
Publish built image
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 11 warnings
Golangci Lint: controllers/controllers_utils_test.go#L1
: # github.com/ramendr/ramen/controllers_test [github.com/ramendr/ramen/controllers.test]
Golangci Lint: controllers/drpc_namespace_conflict_test.go#L29
undefined: DRPCNamespaceName
Golangci Lint: controllers/drpc_namespace_conflict_test.go#L34
not enough arguments in call to getLatestDRPC
Golangci Lint: controllers/drpc_namespace_conflict_test.go#L35
not enough arguments in call to createDRPC
Golangci Lint: controllers/drplacementcontrol_controller.go#L2445
error should be the last type when returning multiple items (golint)
Golangci Lint: controllers/drplacementcontrol_controller.go#L2461
G601: Implicit memory aliasing in for loop. (gosec)
Golangci Lint: controllers/drplacementcontrol_controller.go#L726
`if err != nil` has complex nested blocks (complexity: 5) (nestif)
Golangci Lint: controllers/label_selector.go#L115
Consider pre-allocating `exprs` (prealloc)
Golangci Lint: controllers/label_selector_internal_test.go#L108
Using the variable on range scope `tt` in function literal (scopelint)
Golangci Lint: controllers/label_selector_internal_test.go#L109
Using the variable on range scope `tt` in function literal (scopelint)
Unit tests: controllers/drpc_namespace_conflict_test.go#L29
undefined: DRPCNamespaceName
Unit tests: controllers/drpc_namespace_conflict_test.go#L34
not enough arguments in call to getLatestDRPC
Unit tests: controllers/drpc_namespace_conflict_test.go#L35
not enough arguments in call to createDRPC
Unit tests
Process completed with exit code 2.
Golangci Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ramenctl tests (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ramenctl tests (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ramenctl tests (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
drenv tests (3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
drenv tests (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
drenv tests (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check artifacts and operator deployment (1.29.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
ramen-operator Expired
156 MB