Skip to content

Upgrade to hpa v2 and update to k8s 1.23 #1238

Upgrade to hpa v2 and update to k8s 1.23

Upgrade to hpa v2 and update to k8s 1.23 #1238

Triggered via pull request July 19, 2023 12:46
Status Failure
Total duration 6m 5s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 13 warnings
crane-agent: pkg/ensurance/cm/cpumanager/cpu_manager.go#L274
cannot use &runtimeapi.LinuxContainerResources{…} (value of type *v1alpha2.LinuxContainerResources) as *"k8s.io/cri-api/pkg/apis/runtime/v1".LinuxContainerResources value in argument to cm.containerRuntime.UpdateContainerResources
crane-agent
Process completed with exit code 2.
cover: pkg/ensurance/cm/cpumanager/cpu_manager.go#L274
cannot use &runtimeapi.LinuxContainerResources{…} (value of type *v1alpha2.LinuxContainerResources) as *"k8s.io/cri-api/pkg/apis/runtime/v1".LinuxContainerResources value in argument to cm.containerRuntime.UpdateContainerResources
cover
Process completed with exit code 1.
lint: pkg/ensurance/cm/cpumanager/cpu_assignment.go#L1
: # github.com/gocrane/crane/pkg/ensurance/cm/cpumanager
lint: pkg/ensurance/cm/cpumanager/cpu_manager.go#L274
cannot use &runtimeapi.LinuxContainerResources{…} (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/agent/agent.go#L39
could not import github.com/gocrane/crane/pkg/ensurance/cm/cpumanager (-: # github.com/gocrane/crane/pkg/ensurance/cm/cpumanager
lint: pkg/ensurance/cm/cpumanager/cpu_manager.go#L274
cannot use &runtimeapi.LinuxContainerResources{…} (value of type *v1alpha2.LinuxContainerResources) as *"k8s.io/cri-api/pkg/apis/runtime/v1".LinuxContainerResources value in argument to cm.containerRuntime.UpdateContainerResources) (typecheck)
lint
issues found
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/
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/
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/
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/
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/