chore: test the pipelines to see if they work

This commit is contained in:
Favee 2025-05-13 03:50:57 +01:00
parent e00aa693cd
commit 19d2fc291f

View file

@ -189,14 +189,14 @@
if: env.DEPLOYMENT_NEEDED == 'true' if: env.DEPLOYMENT_NEEDED == 'true'
run: | run: |
aws ecs update-service \ aws ecs update-service \
--cluster petclinic-${{ env.ENV_NAME }} \ --cluster petclinic-${{ env.ENV_NAME }} \
--service petclinic-service \ --service petclinic-service \
--force-new-deployment --force-new-deployment \
--task-definition "$TASK_DEF_ARN" --task-definition "$TASK_DEF_ARN"
- name: Verify Deployment - name: Verify Deployment
if: env.DEPLOYMENT_NEEDED == 'true' if: env.DEPLOYMENT_NEEDED == 'true'
run: | run: |
echo "Waiting for deployment to complete..." echo "Waiting for deployment to complete..."
aws ecs wait services-stable --cluster petclinic-${{ env.ENV_NAME }} \ aws ecs wait services-stable --cluster petclinic-${{ env.ENV_NAME }} \
--services petclinic-service --services petclinic-service