Skip to content

Commit

Permalink
Merge pull request #62 from torusresearch/develop
Browse files Browse the repository at this point in the history
Release: fix lock issue
  • Loading branch information
tainguyentt authored Jun 25, 2024
2 parents 6bd11c0 + 5b6eabe commit 1ba3a42
Show file tree
Hide file tree
Showing 9 changed files with 1,750 additions and 948 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ jobs:
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA"
- name: Deploy
timeout-minutes: 10
run: |
aws ecs update-service --cluster $ECS_CLUSTER_METADATA --service $ECS_SERVICE_METADATA --force-new-deployment
aws ecs wait services-stable --cluster $ECS_CLUSTER_METADATA --service $ECS_SERVICE_METADATA
env:
ECS_CLUSTER_METADATA: lrc-microservices
ECS_SERVICE_METADATA: torus-metadata-service
4 changes: 4 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ jobs:
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA"
- name: Deploy
timeout-minutes: 10
run: |
aws ecs update-service --cluster $ECS_CLUSTER_METADATA --service $ECS_SERVICE_METADATA --force-new-deployment
aws ecs wait services-stable --cluster $ECS_CLUSTER_METADATA --service $ECS_SERVICE_METADATA
env:
ECS_CLUSTER_METADATA: prod-microservices
ECS_SERVICE_METADATA: torus-metadata-service
Expand Down Expand Up @@ -112,8 +114,10 @@ jobs:
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$GITHUB_SHA"
- name: Deploy
timeout-minutes: 10
run: |
aws ecs update-service --cluster $ECS_CLUSTER_METADATA --service $ECS_SERVICE_METADATA --force-new-deployment
aws ecs wait services-stable --cluster $ECS_CLUSTER_METADATA --service $ECS_SERVICE_METADATA
env:
ECS_CLUSTER_METADATA: prod-microservices
ECS_SERVICE_METADATA: torus-metadata-service
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
torus-metadata:
restart: always
Expand All @@ -9,4 +7,4 @@ services:
env_file:
- ./.env
ports:
- "5051:5051/tcp"
- "5051:5051/tcp"
Loading

0 comments on commit 1ba3a42

Please sign in to comment.