Files
admin d73fa2c435
ObjectStore CI / build (push) Successful in 10m22s
Add shared cluster credentials and readiness CI
2026-11-16 03:41:32 +01:00

12 lines
439 B
Bash

#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
project="objectstore-metadata-test-$$"
compose() { docker compose -p "$project" -f tests/metadata/compose.yaml "$@"; }
trap 'compose down -v --remove-orphans >/dev/null 2>&1 || true' EXIT
if [ -n "${OBJECTSTORE_TEST_IMAGE:-}" ]; then
compose up --no-build --abort-on-container-exit --exit-code-from check check
else
compose up --build --abort-on-container-exit --exit-code-from check check
fi