Skip to content
GitLab
Menu
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
7d7276db
Commit
7d7276db
authored
Mar 05, 2021
by
Matt Wise
Browse files
limit ecs update output to improve performance
parent
d06559a2
Pipeline
#34423
passed with stage
in 15 seconds
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
cloud-providers/aws.yml
View file @
7d7276db
...
...
@@ -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'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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