From 0765a2e044a4bb7a3f4ce7382c1ba61d2180f89d Mon Sep 17 00:00:00 2001 From: Daniel Graves Date: Mon, 27 Nov 2023 08:00:28 -0600 Subject: [PATCH 1/3] secrets migration to param store from S3 --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a7a68b..81519ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,10 +12,11 @@ install_dependency: &install_dependency install_deploysuite: &install_deploysuite name: Installation of install_deploysuite. command: | - git clone --branch v1.4.15 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript + git clone --branch v1.4.16 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript cp ./../buildscript/master_deploy.sh . cp ./../buildscript/buildenv.sh . cp ./../buildscript/awsconfiguration.sh . + cp ./../buildscript/psvar-processor.sh . restore_cache_settings_for_build: &restore_cache_settings_for_build key: docker-node-modules-{{ checksum "package-lock.json" }} @@ -39,9 +40,9 @@ builddeploy_steps: &builddeploy_steps command: | ./awsconfiguration.sh $DEPLOY_ENV source awsenvconf - ./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar - source buildenvvar - ./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-${APPNAME}-appvar -i ${APPNAME} + ./psvar-processor.sh -t appenv -p /config/challenge-processor/deployvar + source deployvar_env + ./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -j /config/challenge-processor/appvar -i ${APPNAME} jobs: # Build & Deploy against development backend From f2223bf98057dfdb92dabb17c135a614d0bf3910 Mon Sep 17 00:00:00 2001 From: Daniel Graves Date: Mon, 27 Nov 2023 09:51:01 -0600 Subject: [PATCH 2/3] adding global and appvar --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 81519ae..a88b5f8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,7 +42,7 @@ builddeploy_steps: &builddeploy_steps source awsenvconf ./psvar-processor.sh -t appenv -p /config/challenge-processor/deployvar source deployvar_env - ./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -j /config/challenge-processor/appvar -i ${APPNAME} + ./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-${APPNAME}-appvar -j /config/challenge-processor/appvar -i ${APPNAME} jobs: # Build & Deploy against development backend From e3c44be35eb2c2fb2acf9d2b82968e9daba5a9e6 Mon Sep 17 00:00:00 2001 From: Gunasekar-K Date: Tue, 28 Nov 2023 10:24:40 +0530 Subject: [PATCH 3/3] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a88b5f8..8adb282 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,9 +40,9 @@ builddeploy_steps: &builddeploy_steps command: | ./awsconfiguration.sh $DEPLOY_ENV source awsenvconf - ./psvar-processor.sh -t appenv -p /config/challenge-processor/deployvar + ./psvar-processor.sh -t appenv -p /config/${APPNAME}/deployvar source deployvar_env - ./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-${APPNAME}-appvar -j /config/challenge-processor/appvar -i ${APPNAME} + ./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -j /config/common/global-appvar,/config/${APPNAME}/appvar -i ${APPNAME} jobs: # Build & Deploy against development backend