Skeleton contracts / contracts (pull_request) Canceled after 0s
9 lines
274 B
Bash
Executable File
9 lines
274 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
: "${TARGET_INSTANCE_ID:?test provides target API instance alias}"
|
|
case "$TARGET_INSTANCE_ID" in
|
|
api1|api2) docker compose stop "$TARGET_INSTANCE_ID" ;;
|
|
*) echo "unknown target instance: $TARGET_INSTANCE_ID" >&2; exit 1 ;;
|
|
esac
|