Use supported Compose create flags for the CI test runner
This commit is contained in:
@@ -6,7 +6,7 @@ export COMPOSE_PROJECT_NAME="btcdata-archive-test-${GITHUB_RUN_ID:-$$}-${GITHUB_
|
||||
compose=(docker compose -f tests/integration/compose.yaml)
|
||||
trap '"${compose[@]}" down -v' EXIT
|
||||
"${compose[@]}" up -d postgres rustfs
|
||||
"${compose[@]}" create --no-deps tests
|
||||
"${compose[@]}" create tests
|
||||
runner="$("${compose[@]}" ps -aq tests)"
|
||||
# CI's workspace is inside its job container, not on the Docker host. Copy only
|
||||
# test inputs; never bind-mount the workspace or copy .env, .git, or production secrets.
|
||||
|
||||
Reference in New Issue
Block a user