From 0568cec5864bd2bc7a4021e145ab5559e253c36f Mon Sep 17 00:00:00 2001 From: joe Date: Sat, 11 Nov 2023 22:58:49 +0000 Subject: [PATCH] Refactor (ci): Remove unneeded `-i` for `srcds/cs2` test container (#157) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index ad5be5cf..10fb8241 100755 --- a/build.sh +++ b/build.sh @@ -271,7 +271,7 @@ if [ ! "$NO_TEST" = 'true' ]; then date # srcds/cs2 if [ "$APPID" = 730 ]; then - CONTAINER_ID=$( docker run -itd "$GAME_IMAGE" "$GAME_BIN -dedicated -port 27015 +map de_dust2" ) + CONTAINER_ID=$( docker run -td "$GAME_IMAGE" "$GAME_BIN -dedicated -port 27015 +map de_dust2" ) i=0; while [ "$i" -lt 30 ]; do echo "Waiting for server to start" docker container inspect -f '{{.State.Running}}' "$CONTAINER_ID" | grep '^true$' > /dev/null || break