From b190e96a540ca63e74985a156220035ec653d7f6 Mon Sep 17 00:00:00 2001 From: Aditya Gopal <36183939+adityagopal@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:59:47 +0530 Subject: [PATCH 1/3] CORE-2380 : aws to parameter store circleci configs update --- .circleci/config.yml | 82 +++++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 39 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7ddf4bf..83048c0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,21 +1,22 @@ -version: 2 +version: 2.1 defaults: &defaults - docker: - - image: cimg/python:3.13.2-browsers + docker: + - image: cimg/python:3.13.2-browsers install_dependency: &install_dependency - name: Installation of build and deployment dependencies. - command: | - sudo apt update - sudo apt install jq - sudo apt install python3-pip - sudo pip3 install awscli --upgrade + name: Installation of build and deployment dependencies. + command: | + sudo apt update + sudo apt install jq + sudo apt install python3-pip + sudo pip3 install awscli --upgrade 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 - cp ./../buildscript/master_deploy.sh . - cp ./../buildscript/buildenv.sh . - cp ./../buildscript/awsconfiguration.sh . + name: Installation of install_deploysuite. + command: | + git clone --branch v1.4.17 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" }} @@ -26,25 +27,29 @@ save_cache_settings: &save_cache_settings - node_modules run_build: &run_build - name: Building images - command: ./build.sh + name: Build of Docker image + command: ./build.sh -build_steps: &build_steps - - checkout - - setup_remote_docker - - run: *install_dependency - - run: *install_deploysuite - - restore_cache: *restore_cache_settings_for_build - - run: *run_build - - save_cache: *save_cache_settings - - deploy: - name: Running MasterScript. - command: | - ./awsconfiguration.sh ${DEPLOY_ENV} - source awsenvconf - ./buildenv.sh -e ${DEPLOY_ENV} -b ${LOGICAL_ENV}-${APP_NAME}-deployvar - source buildenvvar - ./master_deploy.sh -d ECS -e ${DEPLOY_ENV} -t latest -s ${LOGICAL_ENV}-global-appvar,${LOGICAL_ENV}-global-informix-appvar,${LOGICAL_ENV}-${APP_NAME}-appvar -i terms-service -p FARGATE +builddeploy_steps: &builddeploy_steps + - checkout + - setup_remote_docker + - run: *install_dependency + - run: *install_deploysuite + - restore_cache: *restore_cache_settings_for_build + - run: *run_build + - save_cache: *save_cache_settings + - deploy: + name: Running deployment. + command: | + ./awsconfiguration.sh $DEPLOY_ENV + source awsenvconf + #./buildenv.sh -e DEV -b ${LOGICAL_ENV}-${APP_NAME}-deployvar + #source buildenvvar + #./master_deploy.sh -d ECS -e DEV -t latest -s dev-global-appvar,${LOGICAL_ENV}-${APP_NAME}-appvar -i ${APP_NAME} -p FARGATE + #./deploy.sh DEV $CIRCLE_SHA1 + ./psvar-processor.sh -t appenv -p /config/${APP_NAME}/deployvar + source deployvar_env + ./master_deploy.sh -d ECS -e $DEPLOY_ENV -t latest -j /config/${APP_NAME}/appvar,/config/common/global-appvar -i ${APP_NAME} -p FARGATE jobs: # Build & Deploy against development backend @@ -54,7 +59,7 @@ jobs: DEPLOY_ENV: "DEV" LOGICAL_ENV: "dev" APP_NAME: "terms-service" - steps: *build_steps + steps: *builddeploy_steps # Build & Deploy against production backend "build-prod": <<: *defaults @@ -62,22 +67,21 @@ jobs: DEPLOY_ENV: "PROD" LOGICAL_ENV: "prod" APP_NAME: "terms-service" - steps: *build_steps + steps: *builddeploy_steps workflows: version: 2 build: jobs: # Development builds are executed on "develop" branch only. - "build-dev": - context : org-global + context: org-global filters: branches: only: - dev - docusign - "build-prod": - context : org-global + context: org-global filters: branches: - only: - - master + only: master From 9f6fc07fe5c833a48917601e0638c84d2bdf2ba0 Mon Sep 17 00:00:00 2001 From: Aditya Gopal <36183939+adityagopal@users.noreply.github.com> Date: Thu, 29 Jan 2026 23:17:28 +0530 Subject: [PATCH 2/3] Update tc-deploy-scripts branch to v1.4.19 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 83048c0..49f2c30 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ install_dependency: &install_dependency install_deploysuite: &install_deploysuite name: Installation of install_deploysuite. command: | - git clone --branch v1.4.17 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript + git clone --branch v1.4.19 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript cp ./../buildscript/master_deploy.sh . cp ./../buildscript/buildenv.sh . cp ./../buildscript/awsconfiguration.sh . From 7d4a070270a4facede074cffab2b8c7e9a57b755 Mon Sep 17 00:00:00 2001 From: Aditya Gopal <36183939+adityagopal@users.noreply.github.com> Date: Thu, 29 Jan 2026 23:19:51 +0530 Subject: [PATCH 3/3] Update tc-core-library-js dependency source --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 49bd677..1d5bf66 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "superagent": "^8.1.2", "swagger-ui-express": "^5.0.0", "tc-bus-api-wrapper": "topcoder-platform/tc-bus-api-wrapper.git", - "tc-core-library-js": "github:appirio-tech/tc-core-library-js#v2.6.4", + "tc-core-library-js": "github:topcoder-platform/tc-core-library-js#v2.6.4", "topcoder-healthcheck-dropin": "^1.0.3", "uuid": "^9.0.1", "winston": "^3.13.0",