-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmise.toml
More file actions
93 lines (75 loc) · 2.88 KB
/
Copy pathmise.toml
File metadata and controls
93 lines (75 loc) · 2.88 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
87
88
89
90
91
92
93
[tools]
go = "1.26.5"
gotestsum = "1.13.0"
shellcheck = "0.11.0"
hyperfine = "1.20.0"
svu = "3.4.1"
goreleaser = "2.17.0"
# spore is the VM runtime cleanroom bakes for; pinned for the bake E2E smoke.
"github:sporevm/sporevm" = "0.13.1"
[env]
GOTOOLCHAIN = "local"
[tasks.test]
description = "Run cross-platform Go test suite"
run = "go test ./..."
[tasks.lint-shell]
description = "Lint shell scripts"
run = "shellcheck -x .buildkite/hooks/pre-command scripts/base-image-tag.sh scripts/build-go.sh scripts/install-go.sh scripts/install.sh scripts/release.sh scripts/ci-go-test-engine.sh scripts/ci-bake-smoke.sh scripts/ci-buildkite-release.sh"
[tasks.test-full]
description = "Run full Go test suite"
run = "go test ./..."
[tasks."build:go"]
description = "Build Go binaries into dist/"
run = "scripts/build-go.sh"
[tasks."build:image:alpine"]
description = "Build local alpine base image"
run = "docker build -f images/Dockerfile.base-image -t cleanroom-base:alpine ."
[tasks."build:image:alpine-docker"]
description = "Build local alpine-docker base image"
run = "docker build -f images/Dockerfile.base-image-docker -t cleanroom-base:alpine-docker ."
[tasks."build:image:alpine-agents"]
description = "Build local alpine-agents base image"
run = "docker build -f images/Dockerfile.base-image-agents -t cleanroom-base:alpine-agents ."
[tasks."build:image:debian"]
description = "Build local debian base image"
run = "docker build -f images/Dockerfile.base-image-debian -t cleanroom-base:debian ."
[tasks."build:image:debian-ruby"]
description = "Build local debian-ruby base image"
run = "docker build -f images/Dockerfile.base-image-debian-ruby -t cleanroom-base:debian-ruby ."
[tasks."build:image:debian-docker"]
description = "Build local debian-docker base image"
run = "docker build -f images/Dockerfile.base-image-debian-docker -t cleanroom-base:debian-docker ."
[tasks."build:image:debian-agents"]
description = "Build local debian-agents base image"
run = "docker build -f images/Dockerfile.base-image-debian-agents -t cleanroom-base:debian-agents ."
[tasks."build:images"]
description = "Build all local base images"
depends = [
"build:image:debian",
"build:image:debian-ruby",
"build:image:debian-docker",
"build:image:debian-agents",
"build:image:alpine",
"build:image:alpine-docker",
"build:image:alpine-agents",
]
run = "true"
[tasks.build]
description = "Build binaries into dist/"
depends = ["build:go"]
run = "true"
[tasks."install:go"]
description = "Install Go binaries into GOBIN (or GOPATH/bin)"
run = "scripts/install-go.sh"
[tasks.install]
description = "Install the cleanroom CLI into GOBIN (or GOPATH/bin)"
depends = ["install:go"]
run = "true"
[tasks.check]
description = "Run build, test, and lint"
depends = ["build", "test", "lint-shell"]
run = "true"
[tasks.release]
description = "Tag the next version and push to trigger a release"
depends = ["check"]
run = "scripts/release.sh"