Skip to content

Commit

Permalink
Release: Update dev version to 5.2.20 and docker images
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
abdullai-t committed May 29, 2024
1 parent adbae38 commit 2bcc83b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/_main_/config/build/deployConfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion src/api_version_dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.19
5.2.20
2 changes: 1 addition & 1 deletion src/deployment/build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dev": "5.2.19",
"dev": "5.2.20",
"prod": "5.1.10",
"canary": "5.2.18"
}
14 changes: 7 additions & 7 deletions src/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 2bcc83b

Please sign in to comment.