Skip to content

Commit

Permalink
CD Deploy timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Mannerow committed Oct 13, 2024
1 parent 7dbd5dd commit 4c46496
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/cd-deploy-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,10 @@ jobs:
run: |
docker push ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com/${{ secrets.TF_VAR_ecr_repository_name }}:latest
# Step 9: Run Docker Compose to bring up services
- name: Run Docker Compose
# Step 9: Run Docker Compose with a timeout (10 mins)
- name: Run Docker Compose with a timeout
run: |
docker compose up -d
# Step 10: Follow Docker Compose logs
- name: Stream Docker Logs
run: |
docker compose logs -f
timeout 600 docker compose up
# Final Step: Notify on Successful Deployment
- name: Notify on Successful Deployment
Expand Down

0 comments on commit 4c46496

Please sign in to comment.