-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathTaskfile.yml
More file actions
425 lines (387 loc) · 17.5 KB
/
Copy pathTaskfile.yml
File metadata and controls
425 lines (387 loc) · 17.5 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
# https://taskfile.dev
version: '3'
vars:
VERSION:
sh: git describe --always --tags --long 2>/dev/null || git rev-parse --short=12 HEAD 2>/dev/null || echo 'unknown'
BUF_VERSION: v1.68.1
GO_TOOLCHAIN_ENV: '{{.TASKFILE_DIR}}/scripts/with-go-toolchain.sh'
GOLANGCI_LINT_CACHE_DIR: '{{.TASKFILE_DIR}}/.cache/golangci-lint'
GO_BUILD_CACHE_DIR: '{{.TASKFILE_DIR}}/.cache/go-build'
GO_LINT_PACKAGES: ./cmd/... ./pkg/... ./proto/health/v1 ./proto/health/v1/healthv1connect ./proto/agentcompose/v2 ./proto/agentcompose/v2/agentcomposev2connect
BUILD_HTTP_PROXY: '{{default "" .HTTP_PROXY}}'
BUILD_HTTPS_PROXY: '{{default "" .HTTPS_PROXY}}'
BUILD_ALL_PROXY: '{{default "" .ALL_PROXY}}'
BUILD_REGISTRY_MIRROR: '{{default "" .REGISTRY_MIRROR}}'
BUILD_GOPROXY: '{{default "" .GOPROXY}}'
GOHOSTOS:
sh: ./scripts/with-go-toolchain.sh go env GOHOSTOS
GOHOSTARCH:
sh: ./scripts/with-go-toolchain.sh go env GOHOSTARCH
GOARCH:
sh: |
if [ -n "${GOARCH:-}" ]; then
printf '%s\n' "$GOARCH"
else
printf '%s\n' '{{.GOHOSTARCH}}'
fi
tasks:
default:
desc: List all available tasks
cmds:
- task --list-all
all:
desc: Run all project checks, builds, and image tasks
cmds:
- task lint
- task test
- task build
- task image:agent-compose-guest
- task image:agent-compose
prepare:
desc: Install local dev dependencies
cmds:
- |
if ! command -v buf >/dev/null 2>&1; then
echo "Installing buf {{.BUF_VERSION}}..."
{{.GO_TOOLCHAIN_ENV}} go install github.com/bufbuild/buf/cmd/buf@{{.BUF_VERSION}}
fi
if ! command -v golangci-lint >/dev/null 2>&1; then
echo "Installing golangci-lint..."
{{.GO_TOOLCHAIN_ENV}} go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.5.0 || true
fi
if ! command -v nilaway >/dev/null 2>&1; then
echo "Installing nilaway..."
{{.GO_TOOLCHAIN_ENV}} go install go.uber.org/nilaway/cmd/nilaway@latest || true
fi
- |
for dir in runtime/agent-compose-runtime-sdk runtime/javascript; do
echo "Installing npm dependencies in ${dir}..."
(cd "${dir}" && npm ci --no-audit --no-fund)
done
- echo "Deps ready"
generate:
desc: Generate all committed source artifacts
cmds:
- task: generate:proto
docs:build:
desc: Render the GitHub Pages documentation site
dir: '{{.TASKFILE_DIR}}/tools/genpages'
sources:
- '../../docs/pages/**/*.md'
- '../../docs/pages/index.html'
- '../../docs/pages/manual.css'
- '../../pkg/compose/spec.go'
- 'check-pages.mjs'
- 'render-pages.mjs'
- 'schema-coverage.mjs'
- 'schema-coverage.test.mjs'
- 'package.json'
- 'package-lock.json'
generates:
- '../../build/pages/index.html'
- '../../build/pages/manual.css'
- '../../build/pages/command-line-manual.html'
- '../../build/pages/agent-compose-yaml-manual.html'
- '../../build/pages/guest-image-abi.html'
- '../../build/pages/zh-CN/command-line-manual.html'
- '../../build/pages/zh-CN/agent-compose-yaml-manual.html'
- '../../build/pages/zh-CN/guest-image-abi.html'
cmds:
- npm ci --no-audit --no-fund
- npm run build
generate:proto:
desc: Generate Go protobuf and Connect sources with buf
dir: '{{.TASKFILE_DIR}}'
preconditions:
- sh: command -v buf >/dev/null 2>&1
msg: "buf is required; run 'task prepare' first"
cmds:
- buf generate
clean:
desc: Remove generated build, test, and cache artifacts
dir: '{{.TASKFILE_DIR}}'
cmds:
- rm -rf ./build ./dist ./.cache ./coverage ./runtime/agent-compose-runtime-sdk/dist ./runtime/javascript/dist ./runtime/javascript/coverage
- echo "clean done"
image:agent-compose-guest:
desc: Build the agent-compose guest image used by sandbox deployments
dir: '{{.TASKFILE_DIR}}'
cmds:
- ./scripts/build-agent-compose-guest.sh
lint:
desc: Lint/format code
deps: ['lint:go', 'lint:installer']
cmds:
- echo "lint all done"
lint:go:
desc: Lint and format Go project code
dir: '{{.TASKFILE_DIR}}'
cmds:
- mkdir -p {{.GOLANGCI_LINT_CACHE_DIR}} {{.GO_BUILD_CACHE_DIR}}
- GOCACHE={{.GO_BUILD_CACHE_DIR}} GOLANGCI_LINT_CACHE={{.GOLANGCI_LINT_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} golangci-lint fmt --no-config --diff {{.GO_LINT_PACKAGES}}
- GOCACHE={{.GO_BUILD_CACHE_DIR}} GOLANGCI_LINT_CACHE={{.GOLANGCI_LINT_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} golangci-lint run --no-config --allow-parallel-runners {{.GO_LINT_PACKAGES}}
lint:installer:
desc: Lint and format the standalone installer module
dir: '{{.TASKFILE_DIR}}/cmd/installer'
cmds:
- mkdir -p {{.GOLANGCI_LINT_CACHE_DIR}} {{.GO_BUILD_CACHE_DIR}}
- GOCACHE={{.GO_BUILD_CACHE_DIR}} GOLANGCI_LINT_CACHE={{.GOLANGCI_LINT_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} golangci-lint fmt --no-config --diff ./...
- GOCACHE={{.GO_BUILD_CACHE_DIR}} GOLANGCI_LINT_CACHE={{.GOLANGCI_LINT_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} golangci-lint run --no-config --allow-parallel-runners ./...
test:
desc: Run all test shapes with coverage quality gates
cmds:
- task: test:scripts
- task: test:deploy
- GOCACHE={{.GO_BUILD_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} ./scripts/test-coverage.sh
test:scripts:
desc: Run deterministic build helper, verifier, and CI topology checks
dir: '{{.TASKFILE_DIR}}'
cmds:
- ./scripts/tests/test-build-agent-compose-binary.sh
- ./scripts/tests/test-verify-agent-compose-binary.sh
- ./scripts/tests/test-verify-agent-compose-image.sh
- ./scripts/tests/test-verify-image-manifest.sh
- ./scripts/tests/test-binary-ci-contract.sh
- ./scripts/tests/test-image-ci-contract.sh
- ./scripts/tests/test-installer-ci-contract.sh
test:deploy:
desc: Run deterministic installer, Compose, and release-asset deployment checks
dir: '{{.TASKFILE_DIR}}'
cmds:
- '{{.GO_TOOLCHAIN_ENV}} go -C cmd/installer test ./...'
- ./deploy/install_bootstrap_test.sh
- ./scripts/tests/test-compose-kvm-config.sh
- ./scripts/tests/test-installer-assets.sh
- ./scripts/tests/test-installer-binaries.sh
demo:installer-docker:
desc: Run and retain an isolated real-Docker installer lifecycle demo
dir: '{{.TASKFILE_DIR}}'
cmds:
- ./scripts/demo-installer-docker.sh
test:unit:
desc: Run unit tests
cmds:
- GOCACHE={{.GO_BUILD_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} ./scripts/run-go-test-shape.sh unit
- cd runtime/agent-compose-runtime-sdk && npm test
- cd runtime/javascript && TEST_SHAPE=unit npm run test:unit
test:integration:
desc: Run integration tests
cmds:
- GOCACHE={{.GO_BUILD_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} ./scripts/run-go-test-shape.sh integration
- cd runtime/javascript && TEST_SHAPE=integration npm run test:unit
test:e2e:
desc: Run E2E tests
cmds:
- GOCACHE={{.GO_BUILD_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} ./scripts/run-go-test-shape.sh e2e
- cd runtime/javascript && TEST_SHAPE=e2e npm run test:unit
test:e2e:docker-jupyter:
desc: Run the opt-in host-daemon Docker Jupyter stop/resume E2E test
dir: '{{.TASKFILE_DIR}}'
deps: ['build:agent-compose']
cmds:
- |
image="${AGENT_COMPOSE_E2E_DOCKER_JUPYTER_IMAGE:-agent-compose-guest:latest}"
if ! docker image inspect "$image" >/dev/null 2>&1; then
echo "Docker Jupyter image $image is unavailable; run 'task image:agent-compose-guest' or set AGENT_COMPOSE_E2E_DOCKER_JUPYTER_IMAGE" >&2
exit 1
fi
AGENT_COMPOSE_E2E_BINARY="$PWD/build/agent-compose" \
AGENT_COMPOSE_E2E_DOCKER_JUPYTER_IMAGE="$image" \
GOCACHE={{.GO_BUILD_CACHE_DIR}} \
{{.GO_TOOLCHAIN_ENV}} go test ./test/e2e -run '^TestE2EDockerJupyterHostDaemonStopResume$' -count=1 -v
test:e2e:docker-workspace-resume:
desc: Run the opt-in host-daemon Docker file-workspace restart/resume E2E test
dir: '{{.TASKFILE_DIR}}'
deps: ['build:agent-compose']
cmds:
- |
image="${AGENT_COMPOSE_E2E_DOCKER_WORKSPACE_IMAGE:-agent-compose-guest:latest}"
if ! docker image inspect "$image" >/dev/null 2>&1; then
echo "Docker workspace-resume image $image is unavailable; run 'task image:agent-compose-guest' for the default image or set AGENT_COMPOSE_E2E_DOCKER_WORKSPACE_IMAGE to an existing local compatible image" >&2
exit 1
fi
AGENT_COMPOSE_E2E_BINARY="$PWD/build/agent-compose" \
AGENT_COMPOSE_E2E_DOCKER_WORKSPACE_IMAGE="$image" \
GOCACHE={{.GO_BUILD_CACHE_DIR}} \
{{.GO_TOOLCHAIN_ENV}} go test ./test/e2e -run '^TestE2EDockerFileWorkspaceResumePreservesState$' -count=1 -v
test:e2e:docker-retention:
desc: Run the opt-in host-daemon Docker retention cleanup E2E test
dir: '{{.TASKFILE_DIR}}'
deps: ['build:agent-compose']
cmds:
- |
image="${AGENT_COMPOSE_E2E_RETENTION_IMAGE:-agent-compose-guest:latest}"
if ! docker image inspect "$image" >/dev/null 2>&1; then
echo "Docker retention image $image is unavailable; run 'task image:agent-compose-guest' or set AGENT_COMPOSE_E2E_RETENTION_IMAGE" >&2
exit 1
fi
AGENT_COMPOSE_E2E_BINARY="$PWD/build/agent-compose" \
AGENT_COMPOSE_E2E_RETENTION_IMAGE="$image" \
GOCACHE={{.GO_BUILD_CACHE_DIR}} \
{{.GO_TOOLCHAIN_ENV}} go test ./test/e2e -run '^TestE2EDockerDaemonRetentionCleanup$' -count=1 -v
test:e2e:docker-scheduler:
desc: Run the opt-in Docker scheduler script E2E test
dir: '{{.TASKFILE_DIR}}'
cmds:
- |
image="${AGENT_COMPOSE_E2E_GUEST_IMAGE:-agent-compose-guest:latest}"
if ! docker image inspect "$image" >/dev/null 2>&1; then
echo "Docker scheduler image $image is unavailable; run 'task image:agent-compose-guest' or set AGENT_COMPOSE_E2E_GUEST_IMAGE" >&2
exit 1
fi
AGENT_COMPOSE_E2E_GUEST_IMAGE="$image" \
GOCACHE={{.GO_BUILD_CACHE_DIR}} \
{{.GO_TOOLCHAIN_ENV}} go test -tags docker_e2e ./cmd/agent-compose -run '^TestE2EDockerSchedulerScriptHelloWorldFlow$' -count=1 -v
test:e2e:image-docker:
desc: Run the full daemon image without KVM and exercise a Docker sandbox lifecycle
dir: '{{.TASKFILE_DIR}}'
cmds:
- GOCACHE={{.GO_BUILD_CACHE_DIR}} ./scripts/test-image-docker-e2e.sh
test:runtime-smoke:
desc: Run opt-in real BoxLite/Microsandbox runtime smoke tests
dir: '{{.TASKFILE_DIR}}'
deps: ['prepare:boxlite-dev', 'prepare:microsandbox-dev']
cmds:
- |
set -euo pipefail
drivers="${SMOKE_RUNTIME_DRIVERS:-boxlite,microsandbox}"
drivers="${drivers//[[:space:]]/}"
if [[ ",$drivers," == *",all,"* || ",$drivers," == *",boxlite,"* ]]; then
for test_name in \
TestSmokeBoxLiteStopResumePreservesWritableLayer \
TestSmokeBoxLiteRuntimeMountManifestDirectoryOnlyStarts \
TestSmokeBoxLiteUsesGoContainerRegistryOCIImage; do
SMOKE_RUNTIME_DRIVERS=boxlite \
LD_LIBRARY_PATH="$PWD/build/boxlite/lib:${LD_LIBRARY_PATH:-}" \
GOCACHE={{.GO_BUILD_CACHE_DIR}} \
{{.GO_TOOLCHAIN_ENV}} go test -tags boxlitecgo ./pkg/driver -run "^${test_name}$" -count=1 -v
done
fi
if [[ ",$drivers," == *",all,"* || ",$drivers," == *",microsandbox,"* ]]; then
for test_name in \
TestSmokeMicrosandboxStopResumePreservesWritableLayer \
TestSmokeMicrosandboxRuntimeMountManifestDirectoryOnlyStarts \
TestSmokeMicrosandboxUsesGoContainerRegistryOCIImage; do
SMOKE_RUNTIME_DRIVERS=microsandbox \
LD_LIBRARY_PATH="$PWD/build/microsandbox/lib:${LD_LIBRARY_PATH:-}" \
GOCACHE={{.GO_BUILD_CACHE_DIR}} \
{{.GO_TOOLCHAIN_ENV}} go test -tags microsandboxcgo ./pkg/driver -run "^${test_name}$" -count=1 -v
done
fi
test:boxlite-mount-repro:
desc: Run manual BoxLite multi-directory mount repro tests
dir: '{{.TASKFILE_DIR}}'
deps: ['prepare:boxlite-dev']
cmds:
- |
set -euo pipefail
SMOKE_RUNTIME_DRIVERS=boxlite \
SMOKE_KEEP_TMP="${SMOKE_KEEP_TMP:-1}" \
LD_LIBRARY_PATH="$PWD/build/boxlite/lib:${LD_LIBRARY_PATH:-}" \
GOCACHE={{.GO_BUILD_CACHE_DIR}} \
{{.GO_TOOLCHAIN_ENV}} go test -tags 'boxlitecgo,boxlite_repro' ./pkg/driver -run '^TestManualBoxLiteFiveDirMountRepro$' -count=1 -v
build:
desc: Build project binaries
deps: ['build:agent-compose', 'build:proto', 'build:runtime-sdk']
cmds:
- echo "build all done"
build:runtime-sdk:
desc: Build and verify the guest runtime SDK package
dir: '{{.TASKFILE_DIR}}/runtime/agent-compose-runtime-sdk'
cmds:
- npm ci
- npm run build
- npm run test:packaging
prepare:boxlite-dev:
internal: true
desc: Export BoxLite cgo headers, libraries, and runtime from Dockerfile when needed
dir: '{{.TASKFILE_DIR}}'
sources:
- Dockerfile
- scripts/build-agent-compose-binary.sh
- scripts/export-runtime-dev-artifact.sh
generates:
- build/boxlite/include/boxlite.h
- build/boxlite/lib/libboxlite.a
- build/boxlite/lib/libboxlite.so
- build/boxlite/runtime/boxlite-guest
- build/boxlite/runtime/boxlite-shim
- build/boxlite/.agent-compose-artifact-source
status:
- TARGETARCH={{.GOARCH}} AGENT_COMPOSE_ARTIFACT_STATUS_ONLY=1 ./scripts/export-runtime-dev-artifact.sh boxlite ./build/boxlite
cmds:
- TARGETARCH={{.GOARCH}} HTTP_PROXY={{.BUILD_HTTP_PROXY}} HTTPS_PROXY={{.BUILD_HTTPS_PROXY}} ALL_PROXY={{.BUILD_ALL_PROXY}} REGISTRY_MIRROR={{.BUILD_REGISTRY_MIRROR}} ./scripts/export-runtime-dev-artifact.sh boxlite ./build/boxlite
prepare:microsandbox-dev:
internal: true
desc: Export Microsandbox runtime binaries/libs from Dockerfile when needed
dir: '{{.TASKFILE_DIR}}'
sources:
- Dockerfile
- scripts/build-agent-compose-binary.sh
- scripts/export-runtime-dev-artifact.sh
generates:
- build/microsandbox/bin/msb
- build/microsandbox/bin/agentd
- build/microsandbox/lib/libkrunfw.so
- build/microsandbox/lib/libmicrosandbox_go_ffi.so
- build/microsandbox/.agent-compose-artifact-source
status:
- TARGETARCH={{.GOARCH}} AGENT_COMPOSE_ARTIFACT_STATUS_ONLY=1 ./scripts/export-runtime-dev-artifact.sh microsandbox ./build/microsandbox
cmds:
- TARGETARCH={{.GOARCH}} HTTP_PROXY={{.BUILD_HTTP_PROXY}} HTTPS_PROXY={{.BUILD_HTTPS_PROXY}} ALL_PROXY={{.BUILD_ALL_PROXY}} REGISTRY_MIRROR={{.BUILD_REGISTRY_MIRROR}} ./scripts/export-runtime-dev-artifact.sh microsandbox ./build/microsandbox
build:agent-compose:
desc: Build the host agent-compose binary using the platform profile
dir: '{{.TASKFILE_DIR}}'
env:
AGENT_COMPOSE_BUILD_HOST_OS: '{{.GOHOSTOS}}'
AGENT_COMPOSE_BUILD_TARGET_ARCH: '{{.GOARCH}}'
AGENT_COMPOSE_BUILD_VERSION: '{{.VERSION}}'
cmds:
- |
case "$AGENT_COMPOSE_BUILD_HOST_OS" in
darwin|linux)
task "build:agent-compose:$AGENT_COMPOSE_BUILD_HOST_OS" \
GOARCH="$AGENT_COMPOSE_BUILD_TARGET_ARCH" \
VERSION="$AGENT_COMPOSE_BUILD_VERSION"
;;
*)
echo "unsupported agent-compose build host OS: $AGENT_COMPOSE_BUILD_HOST_OS" >&2
exit 1
;;
esac
build:agent-compose:darwin:
desc: Build the Darwin Docker-only agent-compose binary
dir: '{{.TASKFILE_DIR}}'
env:
AGENT_COMPOSE_BUILD_TARGET_ARCH: '{{.GOARCH}}'
AGENT_COMPOSE_BUILD_VERSION: '{{.VERSION}}'
cmds:
- GOCACHE={{.GO_BUILD_CACHE_DIR}} ./scripts/build-agent-compose-binary.sh --profile darwin-docker --goarch "$AGENT_COMPOSE_BUILD_TARGET_ARCH" --output ./build/agent-compose --version "$AGENT_COMPOSE_BUILD_VERSION"
build:agent-compose:linux:
desc: Build the Linux full agent-compose binary
dir: '{{.TASKFILE_DIR}}'
deps: ['prepare:boxlite-dev', 'prepare:microsandbox-dev']
env:
AGENT_COMPOSE_BUILD_TARGET_ARCH: '{{.GOARCH}}'
AGENT_COMPOSE_BUILD_VERSION: '{{.VERSION}}'
cmds:
- GOCACHE={{.GO_BUILD_CACHE_DIR}} ./scripts/build-agent-compose-binary.sh --profile linux-full --goarch "$AGENT_COMPOSE_BUILD_TARGET_ARCH" --output ./build/agent-compose --version "$AGENT_COMPOSE_BUILD_VERSION"
build:proto:
desc: Verify maintained agent-compose protobuf Go packages build
dir: '{{.TASKFILE_DIR}}'
cmds:
- GOCACHE={{.GO_BUILD_CACHE_DIR}} {{.GO_TOOLCHAIN_ENV}} go build ./proto/agentcompose/v2 ./proto/agentcompose/v2/agentcomposev2connect
build:agent-compose:boxlite:
desc: Deprecated alias for the Linux full agent-compose binary
cmds:
- echo "build:agent-compose:boxlite is deprecated; use build:agent-compose:linux (Docker, BoxLite, and Microsandbox)"
- task: build:agent-compose:linux
vars:
GOARCH: '{{.GOARCH}}'
VERSION: '{{.VERSION}}'
image:agent-compose:
desc: Build the agent-compose daemon image
dir: '{{.TASKFILE_DIR}}'
deps: ['prepare:boxlite-dev', 'prepare:microsandbox-dev']
cmds:
- IMAGE_NAME={{default "agent-compose:latest" .IMAGE_NAME}} DOCKERFILE=Dockerfile.agent-compose-local BUILD_CONTEXT={{.TASKFILE_DIR}} VERSION={{.VERSION}} HTTP_PROXY={{.BUILD_HTTP_PROXY}} HTTPS_PROXY={{.BUILD_HTTPS_PROXY}} ALL_PROXY={{.BUILD_ALL_PROXY}} REGISTRY_MIRROR={{.BUILD_REGISTRY_MIRROR}} GOPROXY={{.BUILD_GOPROXY}} ./scripts/build-agent-compose.sh