Skip to content

fix: Add deprecation warning for CA #4317

fix: Add deprecation warning for CA

fix: Add deprecation warning for CA #4317

Triggered via pull request January 13, 2025 08:49
Status Failure
Total duration 8m 5s
Billable time 12m
Artifacts

lint_and_test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Lint Golang: cmds/ocm/commands/ocmcmds/common/resources.go#L459
SA1019: comparch.Open is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 (staticcheck)
Lint Golang: cmds/ocm/commands/ocmcmds/common/resources.go#L463
SA1019: obj.Close is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 (staticcheck)
Lint Golang: cmds/ocm/commands/ocmcmds/components/download/cmd.go#L137
SA1019: comparch.Create is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 (staticcheck)
Lint Golang: cmds/ocm/commands/ocmcmds/components/download/cmd.go#L141
SA1019: set.Close is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 (staticcheck)
Lint Golang: cmds/ocm/commands/ocmcmds/cmd.go#L39
SA1019: componentarchive.NewCommand is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 NewCommand creates a new command. (staticcheck)
Lint Golang: cmds/ocm/commands/verbs/create/cmd.go#L19
SA1019: comparch.NewCommand is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 NewCommand creates a new ctf command. (staticcheck)
Lint Golang: cmds/ocm/commands/verbs/transfer/cmd.go#L20
SA1019: comparch.NewCommand is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 NewCommand creates a new transfer command. (staticcheck)
Lint Golang: cmds/ocm/app/app.go#L246
SA1019: componentarchive.NewCommand is deprecated: Component Archive (CA) - https://kubernetes.slack.com/archives/C05UWBE8R1D/p1734357630853489 NewCommand creates a new command. (staticcheck)
Lint Golang
Process completed with exit code 2.
codespell / codespell
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636