From 2bcc83b8748492b147887897403ecc37227972cb Mon Sep 17 00:00:00 2001 From: Tahiru Abdullai Date: Wed, 29 May 2024 08:32:19 +0000 Subject: [PATCH] Release: Update dev version to 5.2.20 and docker images This commit includes an update to the development version number from 5.2.19 to 5.2.20 in several configuration files. Moreover, it involves the changes to the docker-compose.yml file to use a new image from Amazon Elastic Container Registry. --- src/_main_/config/build/deployConfig.json | 2 +- src/api_version_dev.txt | 2 +- src/deployment/build.json | 2 +- src/docker-compose.yml | 14 +++++++------- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/_main_/config/build/deployConfig.json b/src/_main_/config/build/deployConfig.json index 65e2e4901..d502823d0 100644 --- a/src/_main_/config/build/deployConfig.json +++ b/src/_main_/config/build/deployConfig.json @@ -1,6 +1,6 @@ { "IS_PROD": false, "IS_CANARY": false, - "BUILD_VERSION": "5.2.19", + "BUILD_VERSION": "5.2.20", "BUILD_VERSION_NOTES": "Jan 31, 2024: Campaigns initial prod deployment\n" } \ No newline at end of file diff --git a/src/api_version_dev.txt b/src/api_version_dev.txt index 1c26b6f22..33b2292db 100644 --- a/src/api_version_dev.txt +++ b/src/api_version_dev.txt @@ -1 +1 @@ -5.2.19 \ No newline at end of file +5.2.20 \ No newline at end of file diff --git a/src/deployment/build.json b/src/deployment/build.json index 444ed6a31..d2da24934 100644 --- a/src/deployment/build.json +++ b/src/deployment/build.json @@ -1,5 +1,5 @@ { - "dev": "5.2.19", + "dev": "5.2.20", "prod": "5.1.10", "canary": "5.2.18" } \ No newline at end of file diff --git a/src/docker-compose.yml b/src/docker-compose.yml index 01742f1b8..9e4b5124d 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -1,28 +1,28 @@ +version: '3.8' + services: app: build: . command: sh -c "python manage.py runserver 0.0.0.0:8000" + container_name: app ports: - "80:8000" # for deployed version - - "8000:8000" # for local testing - - image: massenergize/api + - "8000:8000" # for localhost testing + image: 202758212688.dkr.ecr.us-east-2.amazonaws.com/massenergize/api-dev restart: on-failure - celery_worker: command: sh -c "celery -A _main_.celery.app worker -l info" depends_on: - app hostname: celery_worker - image: massenergize/api + image: 202758212688.dkr.ecr.us-east-2.amazonaws.com/massenergize/api-dev restart: on-failure - celery_beat: command: sh -c "celery -A _main_.celery.app beat -l info" depends_on: - app hostname: celery_beat - image: massenergize/api + image: 202758212688.dkr.ecr.us-east-2.amazonaws.com/massenergize/api-dev restart: on-failure