Skip to content

feat: Add edge commands #2693

feat: Add edge commands

feat: Add edge commands #2693

Triggered via pull request January 21, 2025 11:13
Status Failure
Total duration 33m 59s
Artifacts 2

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 6 warnings
Trivy fs scan
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
Lint: cmd/command/cd/cd_test.go#L1
: # github.com/pluralsh/plural-cli/cmd/command/cd_test [github.com/pluralsh/plural-cli/cmd/command/cd.test]
Lint: cmd/command/cd/cd_test.go#L38
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Lint: cmd/command/cd/cd_test.go#L84
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Lint: cmd/command/cd/cd_test.go#L124
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Lint: cmd/command/cd/cd_test.go#L164
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration) (typecheck)
Lint
issues found
Unit test: cmd/command/edge/bootstrap.go#L52
github.com/pluralsh/plural-cli/pkg/utils.Highlight format %s has arg registration.Name of wrong type *string
Unit test: cmd/command/edge/bootstrap.go#L74
github.com/pluralsh/plural-cli/pkg/utils.Highlight format %s has arg registration.Name of wrong type *string
Unit test: cmd/command/cd/cd_test.go#L38
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Unit test: cmd/command/cd/cd_test.go#L84
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Unit test: cmd/command/cd/cd_test.go#L124
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Unit test: cmd/command/cd/cd_test.go#L164
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Unit test: cmd/command/edge/bootstrap.go#L52
github.com/pluralsh/plural-cli/pkg/utils.Highlight format %s has arg registration.Name of wrong type *string
Unit test: cmd/command/edge/bootstrap.go#L74
github.com/pluralsh/plural-cli/pkg/utils.Highlight format %s has arg registration.Name of wrong type *string
Unit test: cmd/command/cd/cd_test.go#L38
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Unit test: cmd/command/cd/cd_test.go#L84
cannot use client (variable of type *mocks.ConsoleClient) as console.ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement console.ConsoleClient (missing method CreateClusterRegistration)
Build dind image
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
Build image
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
Trivy fs scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
GoReleaser build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build dind image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build image
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
pluralsh~plural-cli~IMG2FM.dockerbuild
84.8 KB
pluralsh~plural-cli~RLIA2R.dockerbuild
91.3 KB