Skip to content

Commit

Permalink
udpate args
Browse files Browse the repository at this point in the history
  • Loading branch information
inada-s committed Feb 5, 2021
1 parent 748297a commit 93d89b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infra/mcsfunc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,16 @@ if [[ ! -d $TAG_NAME/bin ]]; then
popd
fi
export GDXSV_GCP_PROJECT_ID="" # automatically detected on GCE
export GDXSV_GCP_KEY_PATH="" # automatically detected on GCE
export GDXSV_LOBBY_PUBLIC_ADDR=zdxsv.net:9876
export GDXSV_BATTLE_ADDR=:9877
export GDXSV_BATTLE_REGION=$(basename $(curl -s -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/v1/instance/zone))
export GDXSV_BATTLE_PUBLIC_ADDR=$(curl -s https://ipinfo.io/ip):9877
export GDXSV_BATTLE_LOG_PATH=/home/ubuntu/battlelog
mkdir -p $GDXSV_BATTLE_LOG_PATH
"$TAG_NAME"/bin/gdxsv -prodlog mcs >> /var/log/gdxsv-mcs.log 2>&1
"$TAG_NAME"/bin/gdxsv -prodlog -cprof=2 mcs >> /var/log/gdxsv-mcs.log 2>&1
EOF
cat << 'EOF' > /home/ubuntu/upload-battlelog.sh
Expand Down

0 comments on commit 93d89b7

Please sign in to comment.