Skip to content

Upgrade to hpa v2 and update to k8s 1.23 #1232

Upgrade to hpa v2 and update to k8s 1.23

Upgrade to hpa v2 and update to k8s 1.23 #1232

Triggered via pull request July 19, 2023 07:49
Status Failure
Total duration 4m 18s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 13 warnings
crane-agent: pkg/ensurance/collector/cadvisor/cadvisor_linux.go#L81
not enough arguments in call to manager.New
crane-agent
Process completed with exit code 2.
craned
undefined: any
craned
undefined: any
craned
undefined: any
craned
undefined: any
craned
undefined: any
craned
undefined: any
craned
undefined: any
craned
undefined: any
craned
undefined: any
craned
undefined: any
lint: pkg/ensurance/cm/cpumanager/cpu_manager.go#L274
cannot use &(runtimeapi.LinuxContainerResources literal) (value of type *v1alpha2.LinuxContainerResources) as *"k8s.io/cri-api/pkg/apis/runtime/v1".LinuxContainerResources value in argument to cm.containerRuntime.UpdateContainerResources (typecheck)
lint: pkg/server/router.go#L16
s.Group undefined (type *apiServer has no field or method Group) (typecheck)
lint: pkg/server/router.go#L71
s.Group undefined (type *apiServer has no field or method Group) (typecheck)
lint: pkg/server/server.go#L70
s.GET undefined (type *apiServer has no field or method GET) (typecheck)
lint: pkg/server/server.go#L74
s.GET undefined (type *apiServer has no field or method GET) (typecheck)
lint: pkg/server/server.go#L78
s.GET undefined (type *apiServer has no field or method GET) (typecheck)
lint: pkg/server/server.go#L95
s.Use undefined (type *apiServer has no field or method Use) (typecheck)
lint: pkg/server/server.go#L144
cannot use s (variable of type *apiServer) as http.Handler value in struct literal: *apiServer does not implement http.Handler (missing method ServeHTTP) (typecheck)
lint
issues found
cover: pkg/ensurance/collector/cadvisor/cadvisor_linux.go#L81
not enough arguments in call to manager.New
cover
undefined: any
cover
undefined: any
cover
undefined: any
cover
undefined: any
cover
undefined: any
cover
undefined: any
cover
undefined: any
cover
undefined: any
cover
undefined: any
crane-agent
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
crane-agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
crane-agent
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
craned
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
craned
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
craned
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
metric-adapter
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
metric-adapter
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
metric-adapter
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
cover
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
cover
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
cover
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/