Commit 7d7276db authored by Matt Wise's avatar Matt Wise
Browse files

limit ecs update output to improve performance

parent d06559a2
Pipeline #34423 passed with stage
in 15 seconds
......@@ -149,7 +149,8 @@ aws-update-ecs:
needs: ['aws-containerize']
script:
- ECS_SERVICE_NAME=$(aws ssm get-parameter --name /osdu/${RESOURCE_PREFIX}/ecs/services/${SERVICE_NAME} --query Parameter.Value --output text --region $AWS_SANDBOX_REGION)
- aws ecs update-service --cluster $AWS_CLUSTER_NAME --service $ECS_SERVICE_NAME --region $AWS_SANDBOX_REGION --force-new-deployment
#limit output to the first 50 lines...the rest is bloat
- aws ecs update-service --cluster $AWS_CLUSTER_NAME --service $ECS_SERVICE_NAME --region $AWS_SANDBOX_REGION --force-new-deployment | head -n 50
only:
variables:
- $AWS_SKIP_DEPLOY != 'true' && $AWS == 'true'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment