You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without any further code changes, running tests and or lint (via dagger or golangci-lint directly) fails due to what appears to be the current layout of dagger.
╰─❯ go test -v ./...
# github.com/goharbor/harbor-cli
./main.go:29:13: undefined: dag
./main.go:33:15: undefined: dag
./main.go:37:37: undefined: dag
./main.go:39:41: undefined: dag
./main.go:58:9: undefined: dag
./main.go:60:35: undefined: dag
./main.go:62:39: undefined: dag
./main.go:103:17: undefined: dag
./main.go:110:21: undefined: dag
./main.go:111:17: undefined: dag
./main.go:111:17: too many errors
FAIL github.com/goharbor/harbor-cli [build failed]
╰─❯ dagger call lint
✔ connect 0.1s
✔ initialize 0.4s
✔ prepare 0.0s
✔ harborCli: HarborCli! 0.0s
✔ HarborCli.lint: Container! 0.8s
✘ Container.sync: ContainerID! 10.8s
! process "golangci-lint run --timeout 5m" did not complete successfully: exit code: 1
Setup tracing at https://dagger.cloud/traces/setup. To hide: export STOPIT=1
Error: response from query: input: container.from.withMountedCache.withEnvVariable.withMountedCache.withEnvVariable.withMountedDirectory.withWorkdir.withExec.sync resolve: process "golangci-lint run --timeout 5m" did not complete successfully: exit code: 1
Stdout:
main.go:1: : # github.com/goharbor/harbor-cli
./main.go:29:13: undefined: dag
./main.go:33:15: undefined: dag
./main.go:37:37: undefined: dag
./main.go:39:41: undefined: dag
./main.go:58:9: undefined: dag
./main.go:60:35: undefined: dag
./main.go:62:39: undefined: dag
./main.go:103:17: undefined: dag
./main.go:110:21: undefined: dag
./main.go:111:17: undefined: dag
./main.go:111:17: too many errors (typecheck)
package main
Run 'dagger call lint --help' for usage.
I believe some quick cleanup of the dagger structure itself will resolve the issue.
The text was updated successfully, but these errors were encountered:
Without any further code changes, running tests and or lint (via dagger or golangci-lint directly) fails due to what appears to be the current layout of dagger.
I believe some quick cleanup of the dagger structure itself will resolve the issue.
The text was updated successfully, but these errors were encountered: