Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix-macos-deploy' into add-shinko
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Sanchez committed Nov 4, 2024
2 parents 7f213be + ca487d0 commit a5f11e0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions devops/deploy-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,33 @@ if [ ${RELEASE} == "central_backend" ]; then
mix ecto.migrate
fi

cat <<EOF >$HOME/.env${_SERVICE_SUFFIX}
PHX_HOST=${PHX_HOST}
DATABASE_URL=${DATABASE_URL}
PHX_SERVER=${PHX_SERVER}
SECRET_KEY_BASE=${SECRET_KEY_BASE}
JWT_PRIVATE_KEY_BASE_64=${JWT_PRIVATE_KEY_BASE_64}
PORT=${PORT}
RELEASE_NODE=${RELEASE_NODE}
_SERVICE_SUFFIX=${_SERVICE_SUFFIX}
GATEWAY_URL=${GATEWAY_URL}
METRICS_ENDPOINT_PORT=${METRICS_ENDPOINT_PORT}
OVERRIDE_JWT=${OVERRIDE_JWT}
GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
BOT_MANAGER_PORT=${BOT_MANAGER_PORT}
BOT_MANAGER_HOST=${BOT_MANAGER_HOST}
CONFIGURATOR_HOST=${CONFIGURATOR_HOST}
CONFIGURATOR_GOOGLE_CLIENT_ID=${CONFIGURATOR_GOOGLE_CLIENT_ID}
CONFIGURATOR_GOOGLE_CLIENT_SECRET=${CONFIGURATOR_GOOGLE_CLIENT_SECRET}
RELEASE=${RELEASE}
TARGET_SERVER=${TARGET_SERVER}
LOADTEST_EUROPE_HOST=${LOADTEST_EUROPE_HOST}
LOADTEST_BRAZIL_HOST=${LOADTEST_BRAZIL_HOST}
LOADTEST_CHILE_HOST=${LOADTEST_CHILE_HOST}
NEWRELIC_APP_NAME=${NEWRELIC_APP_NAME}
NEWRELIC_KEY=${NEWRELIC_KEY}
EOF

export PHX_HOST=$PHX_HOST
export DATABASE_URL=$DATABASE_URL
export PHX_SERVER=$PHX_SERVER
Expand Down

0 comments on commit a5f11e0

Please sign in to comment.