fix: 3v3 team match wrong problems
This commit is contained in:
@@ -13,7 +13,7 @@ exec > >(tee -a "$LOG") 2>&1
|
||||
|
||||
SERVER_DIR="/Users/hanchengxi/workspace/tankwar_proj/server"
|
||||
MASTER="root@host_172.16.16.16"
|
||||
WORKERS_IP=("172.16.16.17" "172.16.16.8")
|
||||
WORKERS_IP=("10.1.0.6" "172.16.32.10" "172.16.32.16")
|
||||
REMOTE_BUILD_DIR="/tmp/tankwar-build"
|
||||
IMAGE_NAME="tankwar/tankwar-server:latest"
|
||||
|
||||
@@ -24,7 +24,7 @@ ts() { echo "[$(date '+%H:%M:%S')]"; }
|
||||
# ------------------------------------------------------------
|
||||
echo "$(ts) ===== Syncing tankwar server source to master node ====="
|
||||
ssh -o StrictHostKeyChecking=no "$MASTER" "mkdir -p $REMOTE_BUILD_DIR"
|
||||
rsync -az --delete --exclude='.git' --exclude='node_modules' \
|
||||
rsync -az --delete --exclude='.git' \
|
||||
-e "ssh -o StrictHostKeyChecking=no" \
|
||||
"$SERVER_DIR/" "${MASTER}:${REMOTE_BUILD_DIR}/server/"
|
||||
echo "$(ts) ✓ Source synced"
|
||||
|
||||
Reference in New Issue
Block a user