Skip to content

feat: support upgrading application from v1 to v2 #29

feat: support upgrading application from v1 to v2

feat: support upgrading application from v1 to v2 #29

Triggered via pull request December 20, 2024 09:51
Status Failure
Total duration 5m 29s
Artifacts

unit-test.yml

on: pull_request
Matrix: unit-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: core/controller/cloudevent/controller_test.go#L283
cannot use clusterGitRepo (variable of type *mock_gitrepo.MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in assignment: *mock_gitrepo.MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/cluster/controller_basic_v2_test.go#L64
cannot use mockClusterGitRepo (variable of type *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/cluster/controller_test.go#L1414
cannot use clusterGitRepo (variable of type *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/cluster/controller_test.go#L1639
cannot use clusterGitRepo (variable of type *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/cluster/controller_test.go#L1761
cannot use clusterGitRepoMock (variable of type *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *"github.com/horizoncd/horizon/mock/pkg/cluster/gitrepo".MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/pipelinerun/controller_test.go#L101
cannot use mockClusterGitRepo (variable of type *mock_gitrepo.MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *mock_gitrepo.MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/pipelinerun/controller_test.go#L180
cannot use mockClusterGitRepo (variable of type *mock_gitrepo.MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *mock_gitrepo.MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/pipelinerun/controller_test.go#L434
cannot use mockClusterGitRepo (variable of type *mock_gitrepo.MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in argument to clusterservice.NewService: *mock_gitrepo.MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/pipelinerun/controller_test.go#L445
cannot use mockClusterGitRepo (variable of type *mock_gitrepo.MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *mock_gitrepo.MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)
golangci-lint: core/controller/tag/controller_test.go#L115
cannot use clusterGitRepo (variable of type *mock_gitrepo.MockClusterGitRepo) as "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo value in struct literal: *mock_gitrepo.MockClusterGitRepo does not implement "github.com/horizoncd/horizon/pkg/cluster/gitrepo".ClusterGitRepo (missing method UpdateEnvValue) (typecheck)