Commit 40cf56e4 authored by Matt Wise's avatar Matt Wise
Browse files

fix broken pipe

parent fc11479e
Pipeline #35750 passed with stages
in 23 seconds
......@@ -164,7 +164,9 @@ aws-update-ecs:
- ECS_SERVICE_NAME=$(aws ssm get-parameter --name /osdu/${RESOURCE_PREFIX}/ecs/services/${SERVICE_NAME} --query Parameter.Value --output text --region $AWS_BLUE_REGION)
#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_BLUE_REGION --force-new-deployment | head -n 50
- export ECS_UPDATE_TMP_FILE=/tmp/ecs-update-log-${RANDOM}.txt
- aws ecs update-service --cluster $AWS_CLUSTER_NAME --service $ECS_SERVICE_NAME --region $AWS_BLUE_REGION --force-new-deployment > $ECS_UPDATE_TMP_FILE
- cat $ECS_UPDATE_TMP_FILE | head -n 50
- $AWS_SKIP_DEPLOY != 'true' && $AWS == 'true'
Supports Markdown
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