From e4669e1a920efa50da0052331dd443fcc34743f2 Mon Sep 17 00:00:00 2001 From: Joy A Date: Tue, 16 Jan 2024 15:54:06 +0530 Subject: [PATCH] avniproject/avni-product#1445 | Fix Deploy to RWB CircleCI config. Make tasks to deploy translations. --- .circleci/config.yml | 2 ++ Makefile | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 339da8eb1..c17162c58 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -243,6 +243,7 @@ jobs: steps: - aws-cli/setup: role_arn: "arn:aws:iam::730335671779:role/avni_circleci_instance_connect" + region: "ap-south-1" - setup_server_access: instance-id: "i-00b50ac6e8413fdca" availability-zone: "ap-south-1b" @@ -256,6 +257,7 @@ jobs: steps: - aws-cli/setup: role_arn: "arn:aws:iam::730335671779:role/avni_circleci_instance_connect" + region: "ap-south-1" - setup_server_access: instance-id: "i-015a3839bfe137346" availability-zone: "ap-south-1a" diff --git a/Makefile b/Makefile index bf35ef830..8b49e8a7e 100644 --- a/Makefile +++ b/Makefile @@ -85,6 +85,10 @@ deploy_platform_translations_production: deploy_platform_translations_live deploy_platform_translations_prerelease: make deploy_platform_translations poolId=$(OPENCHS_PRERELEASE_USER_POOL_ID) clientId=$(OPENCHS_PRERELEASE_APP_CLIENT_ID) server=https://prerelease.avniproject.org port=443 username=admin password=$(OPENCHS_PRERELEASE_ADMIN_PASSWORD) +deploy_platform_translations_rwb_staging: + make deploy_platform_translations poolId=$(RWB_STAGING_USER_POOL_ID) clientId=$(RWB_STAGING_APP_CLIENT_ID) server=https://staging.rwb.avniproject.org port=443 username=admin password=$(RWB_STAGING_ADMIN_PASSWORD) +deploy_platform_translations_rwb_prod: + make deploy_platform_translations poolId=$(RWB_PROD_USER_POOL_ID) clientId=$(RWB_PROD_APP_CLIENT_ID) server=https://app.rwb.avniproject.org port=443 username=admin password=$(RWB_PROD_ADMIN_PASSWORD) deploy_static_local: -rm -rf ../avni-server/static