Skip to content

Optimize package organization to reduce antctl binary size #31739

Optimize package organization to reduce antctl binary size

Optimize package organization to reduce antctl binary size #31739

Triggered via pull request March 26, 2024 09:08
Status Failure
Total duration 12m 14s
Artifacts

go.yml

on: pull_request
Check whether tests need to be run based on diff
15s
Check whether tests need to be run based on diff
Verify docs and spelling
54s
Verify docs and spelling
Unit test (ubuntu-latest)
6m 37s
Unit test (ubuntu-latest)
Unit test (windows-2022)
11m 27s
Unit test (windows-2022)
Integration test
10m 9s
Integration test
Golangci-lint (ubuntu-latest)
3m 59s
Golangci-lint (ubuntu-latest)
Golangci-lint (macos-latest)
4m 56s
Golangci-lint (macos-latest)
Build Antrea and antctl binaries
9m 48s
Build Antrea and antctl binaries
Build Antrea Windows binaries
1m 50s
Build Antrea Windows binaries
Check tidy, code generation and manifest
5m 14s
Check tidy, code generation and manifest
Go benchmark test
4m 41s
Go benchmark test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
Golangci-lint (ubuntu-latest): pkg/controller/networkpolicy/antreanetworkpolicy_test.go#L24
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
Golangci-lint (ubuntu-latest): pkg/controller/networkpolicy/clustergroup_test.go#L28
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
Golangci-lint (ubuntu-latest): pkg/controller/networkpolicy/clusternetworkpolicy_test.go#L29
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
Golangci-lint (ubuntu-latest)
Process completed with exit code 2.
Golangci-lint (macos-latest): pkg/controller/networkpolicy/antreanetworkpolicy_test.go#L24
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
Golangci-lint (macos-latest): pkg/controller/networkpolicy/clustergroup_test.go#L28
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
Golangci-lint (macos-latest): pkg/controller/networkpolicy/clusternetworkpolicy_test.go#L29
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
Golangci-lint (macos-latest)
Process completed with exit code 2.
Unit test (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Integration test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit test (windows-2022)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.