From 7ce7e853180bb63052bf1f7d6442f86203ea7d95 Mon Sep 17 00:00:00 2001 From: Agustin Escobar <106101218+agustinesco@users.noreply.github.com> Date: Fri, 5 Apr 2024 15:31:54 -0300 Subject: [PATCH] Add bot manager host url to deploy script (#443) --- .github/workflows/arena-brazil-testing-deploy.yml | 2 ++ .github/workflows/arena-europe-testing-deploy.yml | 2 ++ devops/deploy.sh | 1 + 3 files changed, 5 insertions(+) diff --git a/.github/workflows/arena-brazil-testing-deploy.yml b/.github/workflows/arena-brazil-testing-deploy.yml index 1cb186728..2df6338a6 100644 --- a/.github/workflows/arena-brazil-testing-deploy.yml +++ b/.github/workflows/arena-brazil-testing-deploy.yml @@ -59,6 +59,7 @@ jobs: PHX_HOST: ${{ vars.HOST }} PORT: ${{ vars.ARENA_PORT }} BOT_MANAGER_PORT: ${{ vars.BOT_MANAGER_PORT }} + BOT_MANAGER_HOST: ${{ vars.LOADTEST_CLIENT_HOST }} DATABASE_URL: ${{ secrets.DATABASE_URL }} SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }} NEWRELIC_APP_NAME: ${{ vars.NEWRELIC_APP_NAME }} @@ -72,6 +73,7 @@ jobs: RELEASE=${RELEASE} \ PHX_SERVER=${PHX_SERVER} \ PHX_HOST=${PHX_HOST} \ + BOT_MANAGER_HOST=${BOT_MANAGER_HOST} \ PORT=${PORT} \ BOT_MANAGER_PORT=${BOT_MANAGER_PORT} \ DATABASE_URL=${DATABASE_URL} \ diff --git a/.github/workflows/arena-europe-testing-deploy.yml b/.github/workflows/arena-europe-testing-deploy.yml index 2274c087b..f76a1cc61 100644 --- a/.github/workflows/arena-europe-testing-deploy.yml +++ b/.github/workflows/arena-europe-testing-deploy.yml @@ -59,6 +59,7 @@ jobs: PHX_HOST: ${{ vars.HOST }} PORT: ${{ vars.ARENA_PORT }} BOT_MANAGER_PORT: ${{ vars.BOT_MANAGER_PORT }} + BOT_MANAGER_HOST: ${{ vars.LOADTEST_CLIENT_HOST }} DATABASE_URL: ${{ secrets.DATABASE_URL }} SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE }} NEWRELIC_APP_NAME: ${{ vars.NEWRELIC_APP_NAME }} @@ -74,6 +75,7 @@ jobs: PHX_HOST=${PHX_HOST} \ PORT=${PORT} \ BOT_MANAGER_PORT=${BOT_MANAGER_PORT} \ + BOT_MANAGER_HOST=${BOT_MANAGER_HOST} \ DATABASE_URL=${DATABASE_URL} \ SECRET_KEY_BASE=${SECRET_KEY_BASE} \ NEWRELIC_APP_NAME=${NEWRELIC_APP_NAME} \ diff --git a/devops/deploy.sh b/devops/deploy.sh index ab467ab42..e1bda7cd7 100755 --- a/devops/deploy.sh +++ b/devops/deploy.sh @@ -59,6 +59,7 @@ PHX_SERVER=${PHX_SERVER} SECRET_KEY_BASE=${SECRET_KEY_BASE} PORT=${PORT} BOT_MANAGER_PORT=${BOT_MANAGER_PORT} +BOT_MANAGER_HOST=${BOT_MANAGER_HOST} RELEASE=${RELEASE} TARGET_SERVER=${TARGET_SERVER} EUROPE_HOST=${EUROPE_HOST}