Skip to content

Create-mode PR templating #1980

Create-mode PR templating

Create-mode PR templating #1980

Triggered via pull request February 2, 2024 22:50
Status Failure
Total duration 52m 1s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 8 warnings
Lint: cmd/plural/api_test.go#L1
: # github.com/pluralsh/plural-cli/cmd/plural_test [github.com/pluralsh/plural-cli/cmd/plural.test]
Lint: cmd/plural/cd_test.go#L34
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Lint: cmd/plural/cd_test.go#L80
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Lint: cmd/plural/cd_test.go#L120
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Lint: cmd/plural/cd_test.go#L160
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Lint: pkg/provider/azure_test.go#L1
: # github.com/pluralsh/plural-cli/pkg/provider_test [github.com/pluralsh/plural-cli/pkg/provider.test]
Lint: pkg/provider/azure_test.go#L111
too many arguments in call to prov.CreateBucket
Lint: pkg/provider/linode.go#L36
func `getLinodeSurvey` is unused (unused)
Lint: pkg/provider/linode.go#L107
func `linodeClient` is unused (unused)
Lint: pkg/provider/linode.go#L61
func `mkLinode` is unused (unused)
Build cloud image
The process '/usr/bin/docker' failed with exit code 1
Build dind image
Process completed with exit code 1.
Unit test: pkg/provider/azure_test.go#L111
too many arguments in call to prov.CreateBucket
Unit test: cmd/plural/cd_test.go#L34
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Unit test: cmd/plural/cd_test.go#L80
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Unit test: cmd/plural/cd_test.go#L120
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Unit test: cmd/plural/cd_test.go#L160
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Unit test: pkg/provider/azure_test.go#L111
too many arguments in call to prov.CreateBucket
Unit test: cmd/plural/cd_test.go#L34
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Unit test: cmd/plural/cd_test.go#L80
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Unit test: cmd/plural/cd_test.go#L120
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Unit test: cmd/plural/cd_test.go#L160
cannot use client (variable of type *mocks.ConsoleClient) as "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient value in struct literal: *mocks.ConsoleClient does not implement "github.com/pluralsh/plural-cli/pkg/console".ConsoleClient (wrong type for method CreateClusterService)
Trivy fs scan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Trivy fs scan
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/[email protected], golangci/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build cloud image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, azure/setup-kubectl@v3, docker/metadata-action@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build dind image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, azure/setup-kubectl@v3, docker/metadata-action@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build image
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, docker/metadata-action@v4, docker/login-action@v2, docker/build-push-action@v4, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build image
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/