From cee51f0c135b80f3ba07938d7d3df1a6b5094a9d Mon Sep 17 00:00:00 2001 From: Gunasekar-K Date: Wed, 24 May 2023 15:21:01 +0530 Subject: [PATCH 1/5] read-only-root-file-system-fix --- .circleci/config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0bdfb4b..a086b4e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,19 +1,21 @@ version: 2 defaults: &defaults docker: - - image: circleci/python:2.7-stretch-browsers + - image: cimg/python:3.11.0-browsers install_dependency: &install_dependency name: Installation of build and deployment dependencies. command: | + sudo apt update sudo apt install jq - sudo pip install awscli --upgrade - sudo pip install docker-compose + sudo apt install python3-pip + sudo pip3 install awscli --upgrade + sudo pip3 install docker-compose install_deploysuite: &install_deploysuite name: Installation of install_deploysuite. #Git Clone -change back to v1.3 or latest once counter var is generalized. command: | - git clone --branch master https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript + 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 . From afd39d4a82d5095cef03e058bdcabd13c43eb521 Mon Sep 17 00:00:00 2001 From: Gunasekar-K Date: Wed, 24 May 2023 16:11:30 +0530 Subject: [PATCH 2/5] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a086b4e..d157543 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ install_deploysuite: &install_deploysuite name: Installation of install_deploysuite. #Git Clone -change back to v1.3 or latest once counter var is generalized. command: | - git clone --branch v1.4.15 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript + git clone --branch v1.4.14 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript cp ./../buildscript/master_deploy.sh . cp ./../buildscript/buildenv.sh . cp ./../buildscript/awsconfiguration.sh . From e94b49d40fbeb8c24d459c82008b4c39a09ba974 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Wed, 24 Jul 2024 11:06:30 +1000 Subject: [PATCH 3/5] Empty commit to kick off CI/CD From 8720f6899fc6bae2e64bd3ba0c1748e59bcba2de Mon Sep 17 00:00:00 2001 From: Gunasekar-K Date: Wed, 24 Jul 2024 09:34:25 +0530 Subject: [PATCH 4/5] build fix --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d157543..3b99c22 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,15 +1,13 @@ version: 2 defaults: &defaults docker: - - image: cimg/python:3.11.0-browsers + - image: cimg/python:3.11.7-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 apt install jq python3-pip sudo pip3 install awscli --upgrade - sudo pip3 install docker-compose install_deploysuite: &install_deploysuite name: Installation of install_deploysuite. From eed17b7851a618202e510e95b06ee6efe84ebd91 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Wed, 24 Jul 2024 15:22:58 +1000 Subject: [PATCH 5/5] Update datasource.js Fix logger call when DB connection fails --- src/models/datasource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/datasource.js b/src/models/datasource.js index 12d70bf..400d7d7 100644 --- a/src/models/datasource.js +++ b/src/models/datasource.js @@ -27,7 +27,7 @@ async function getSequelize () { await logger.endSpan(span) logger.info('Database connection has been established successfully.') } catch (e) { - await logger.endSpanWithErr(span, e) + await logger.endSpanWithError(span, e) logger.error('Unable to connect to the database:', e) } }