Skip to content

feat: Add support for infrastructure stacks #1095

feat: Add support for infrastructure stacks

feat: Add support for infrastructure stacks #1095

Triggered via pull request April 19, 2024 14:52
Status Failure
Total duration 1m 33s
Artifacts

test.yml

on: pull_request
Matrix: Terraform provider acceptance tests
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 5 warnings
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Lint
Cannot open: File exists
Build: internal/resource/infrastructure_stack_model.go#L51
stack.Cluster undefined (type *"github.com/pluralsh/console-client-go".InfrastructureStackFragment has no field or method Cluster)
Build: internal/resource/infrastructure_stack_model.go#L52
cannot use stack.Git (variable of type *"github.com/pluralsh/console-client-go".GitRefFragment) as "github.com/pluralsh/console-client-go".GitRefFragment value in argument to is.Repository.From
Build: internal/resource/infrastructure_stack_model.go#L53
cannot use stack.Configuration (variable of type *"github.com/pluralsh/console-client-go".StackConfigurationFragment) as "github.com/pluralsh/console-client-go".StackConfigurationFragment value in argument to is.Configuration.From
Build: internal/resource/infrastructure_stack_model.go#L55
cannot use stack.Environment (variable of type []*"github.com/pluralsh/console-client-go".StackEnvironmentFragment) as []*"github.com/pluralsh/console-client-go".StackEnvironment value in argument to infrastructureStackEnvironmentsFrom
Build: internal/resource/infrastructure_stack_model.go#L56
cannot use stack.ReadBindings (variable of type []*"github.com/pluralsh/console-client-go".PolicyBindingFragment) as []*"github.com/pluralsh/console-client-go".PolicyBinding value in argument to is.Bindings.From
Build: internal/resource/infrastructure_stack_model.go#L56
cannot use stack.WriteBindings (variable of type []*"github.com/pluralsh/console-client-go".PolicyBindingFragment) as []*"github.com/pluralsh/console-client-go".PolicyBinding value in argument to is.Bindings.From
Build
Process completed with exit code 1.
Unit tests: internal/resource/infrastructure_stack_model.go#L51
stack.Cluster undefined (type *"github.com/pluralsh/console-client-go".InfrastructureStackFragment has no field or method Cluster)
Unit tests: internal/resource/infrastructure_stack_model.go#L52
cannot use stack.Git (variable of type *"github.com/pluralsh/console-client-go".GitRefFragment) as "github.com/pluralsh/console-client-go".GitRefFragment value in argument to is.Repository.From
Unit tests: internal/resource/infrastructure_stack_model.go#L53
cannot use stack.Configuration (variable of type *"github.com/pluralsh/console-client-go".StackConfigurationFragment) as "github.com/pluralsh/console-client-go".StackConfigurationFragment value in argument to is.Configuration.From
Unit tests: internal/resource/infrastructure_stack_model.go#L55
cannot use stack.Environment (variable of type []*"github.com/pluralsh/console-client-go".StackEnvironmentFragment) as []*"github.com/pluralsh/console-client-go".StackEnvironment value in argument to infrastructureStackEnvironmentsFrom
Unit tests: internal/resource/infrastructure_stack_model.go#L56
cannot use stack.ReadBindings (variable of type []*"github.com/pluralsh/console-client-go".PolicyBindingFragment) as []*"github.com/pluralsh/console-client-go".PolicyBinding value in argument to is.Bindings.From
Unit tests: internal/resource/infrastructure_stack_model.go#L56
cannot use stack.WriteBindings (variable of type []*"github.com/pluralsh/console-client-go".PolicyBindingFragment) as []*"github.com/pluralsh/console-client-go".PolicyBinding value in argument to is.Bindings.From
Unit tests
Process completed with exit code 2.
Verify code generation
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.