Files
act_runner/runner-stack.sh
T

11 lines
359 B
Bash
Executable File

#!/usr/bin/env bash
# Operate only this repository's runner stack, from any working directory.
set -euo pipefail
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
if [ "$#" -eq 0 ]; then
printf 'Usage: %s <compose arguments>\n' "$0" >&2
printf 'Apply while idle: stop, then up -d --force-recreate\n' >&2
exit 2
fi
exec docker compose -f docker-compose.yml "$@"