Repository navigation
Expand file tree
/
Copy pathdagger.toml
More file actions
86 lines (69 loc) · 2.29 KB
/
Copy pathdagger.toml
File metadata and controls
86 lines (69 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Dagger workspace configuration
# Install modules with: dagger mod install <module>
# Example:
# dagger mod install github.com/dagger/dagger/modules/wolfi
[modules.dang-sdk]
source = "github.com/dagger/dang-sdk@collections"
[modules.go-sdk]
source = "github.com/dagger/go-sdk@3adb1f41d00bf45536e727d5baa8ec0ab28c9fd8"
[modules.go-dev]
source = ".dagger/modules/go-dev"
main = true
# Each tool's suite is installed under a <tool>-checks key, so one `dagger
# check` runs all four and prefixes each check with the tool it belongs to.
# The key is what prefixes; "e2e" would kebab-case into "e-2-e".
#
# The "./" is required. A source that holds a "." but does not start with one
# may be a hostname to Dagger, so it is not rewritten into the repository when
# the workspace is loaded from git, as in CI, and fails to load there.
[modules.gomod-checks]
source = "./gomod/.dagger/modules/e2e"
[modules.golangci-lint-checks]
source = "./golangci-lint/.dagger/modules/e2e"
[modules.staticcheck-checks]
source = "./staticcheck/.dagger/modules/e2e"
[sdks.dang]
module = "dang-sdk"
[sdks.dang.scopes."."]
is-module = true
name = "go"
clients = ["./gomod", "./gobuild"]
[sdks.dang.scopes."gomod"]
is-module = true
name = "gomod"
[sdks.dang.scopes."gomod/.dagger/modules/e2e"]
is-module = true
name = "e2e"
clients = ["./gomod"]
[sdks.dang.scopes."golangci-lint"]
is-module = true
name = "golangci-lint"
clients = ["./gomod"]
[sdks.dang.scopes."golangci-lint/.dagger/modules/e2e"]
is-module = true
name = "e2e"
clients = ["./golangci-lint"]
[sdks.dang.scopes."staticcheck"]
is-module = true
name = "staticcheck"
clients = ["./gomod"]
[sdks.dang.scopes."staticcheck/.dagger/modules/e2e"]
is-module = true
name = "e2e"
clients = ["./staticcheck"]
[sdks.go]
module = "go-sdk"
[sdks.go.scopes."gobuild"]
is-module = true
name = "gobuild"
[sdks.go.scopes."gobuild".settings]
dangEntrypoint = true
unifiedClients = true
# gobuild's binary is built for a given platform and declared for it
# (Directory.withPlatform), so that an engine image ships it for an image of
# another platform: the entrypoint go-sdk generates for a target of the
# release that has the field.
targetVersion = "v1.0.0-beta.26"
# gobuild is what dagger/go's per-package build runs, so it can't be built
# by it: its entrypoint builds it with go build.
daggerGo = false