Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
CI-CD Pipelines
Commits
40cf56e4
Commit
40cf56e4
authored
Apr 12, 2021
by
Matt Wise
Browse files
fix broken pipe
parent
fc11479e
Pipeline
#35750
passed with stages
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cloud-providers/aws.yml
View file @
40cf56e4
...
...
@@ -164,7 +164,9 @@ aws-update-ecs:
script
:
-
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
only
:
variables
:
-
$AWS_SKIP_DEPLOY != 'true' && $AWS == 'true'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment