Skip to content

setup norm for Nebula #4

setup norm for Nebula

setup norm for Nebula #4

Triggered via push October 26, 2023 08:54
Status Failure
Total duration 1m 12s
Artifacts

ci.yml

on: push
Vertify import alias, vendor, codegen, crds
1m 2s
Vertify import alias, vendor, codegen, crds
Lint with golangci-lint
34s
Lint with golangci-lint
Unit test
0s
Unit test
E2e test
0s
E2e test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Lint with golangci-lint: pkg/storage/internalstorage/builder.go#L1
: # github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage [github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage.test]
Lint with golangci-lint: pkg/storage/internalstorage/register.go#L113
cannot use normDialector (variable of type *"github.com/zhihu/norm/v3/dialectors".NebulaDialector) as "github.com/zhihu/norm/dialectors".IDialector value in argument to norm.MustOpen: *"github.com/zhihu/norm/v3/dialectors".NebulaDialector does not implement "github.com/zhihu/norm/dialectors".IDialector (wrong type for method Execute)
Lint with golangci-lint: pkg/storage/internalstorage/register.go#L114
cannot use db (variable of type *"github.com/zhihu/norm/v3".DB) as *gorm.DB value in struct literal (typecheck)
Lint with golangci-lint: pkg/storage/options/options.go#L9
could not import github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage (-: # github.com/clusterpedia-io/clusterpedia/pkg/storage/internalstorage
Lint with golangci-lint: pkg/storage/internalstorage/register.go#L113
cannot use normDialector (variable of type *"github.com/zhihu/norm/v3/dialectors".NebulaDialector) as "github.com/zhihu/norm/dialectors".IDialector value in argument to norm.MustOpen: *"github.com/zhihu/norm/v3/dialectors".NebulaDialector does not implement "github.com/zhihu/norm/dialectors".IDialector (wrong type for method Execute)
Lint with golangci-lint: pkg/storage/internalstorage/register.go#L114
cannot use db (variable of type *"github.com/zhihu/norm/v3".DB) as *gorm.DB value in struct literal) (typecheck)
Lint with golangci-lint
issues found
Vertify import alias, vendor, codegen, crds
Process completed with exit code 1.
Vertify import alias, vendor, codegen, crds
Restore cache failed: Dependencies file is not found in /home/runner/work/clusterpedia/clusterpedia. Supported file pattern: go.sum