Skip to content

Commit

Permalink
ci: scripts/deploy-service.sh now filters the response json
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Jul 11, 2022
1 parent 6330fc2 commit 991ce7d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion scripts/deploy-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,16 @@ done
aws ecs update-service \
--cluster "$PK_AWS_ECS_CLUSTER" \
--service "$PK_AWS_ECS_SERVICE" \
--force-new-deployment
--force-new-deployment \
--output json \
--query 'service.{
serviceName: serviceName,
serviceArn: serviceArn,
status: status, deployments: deployments[].{
id: id,
status: status,
rolloutState: rolloutState,
rolloutStateReason: rolloutStateReason
}
}' \
"$@"

0 comments on commit 991ce7d

Please sign in to comment.