diff --git a/.circleci/config.yml b/.circleci/config.yml index 0bdfb4b..3b99c22 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,19 +1,19 @@ version: 2 defaults: &defaults docker: - - image: circleci/python:2.7-stretch-browsers + - image: cimg/python:3.11.7-browsers install_dependency: &install_dependency name: Installation of build and deployment dependencies. command: | - sudo apt install jq - sudo pip install awscli --upgrade - sudo pip install docker-compose + sudo apt update + sudo apt install jq python3-pip + sudo pip3 install awscli --upgrade 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.14 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript cp ./../buildscript/master_deploy.sh . cp ./../buildscript/buildenv.sh . cp ./../buildscript/awsconfiguration.sh . 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) } }