hako 2.9.1 → 2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/hako/schedulers/ecs.rb +5 -3
- data/lib/hako/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0d946607626195f31a77cba695e9859f3684629c82f1aaedc18286a1fa6f78b
|
4
|
+
data.tar.gz: d1489eb443f1e9dd4b52eab78a34728f10abdbeb46534f5e07718a9ff0a6d070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49a599825c697a3211256bee45f8c415b85a72ade954640c73089b1563f8ffefb96dd32ddee39059a2f77c23d60a9618321f0c8fdc9dbf97bf0c6407a9fb922f
|
7
|
+
data.tar.gz: ee75885e9e2f76bb9bc580d49d796d14d90e0542025bfa8e3ca3ce291fd83554bb641ef556eaf3bccffc74e6641b700c574eb5d0692426542ce7f4e22f5efa33
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
+
# 2.9.2 (2019-04-10)
|
2
|
+
## Bug fixes
|
3
|
+
- Change threshold for detecting a deployment failure
|
4
|
+
- See [this commit](https://github.com/eagletmt/hako/commit/12e27259dc2f0317f8b2c1156b66572c88a3801e) for details
|
5
|
+
|
1
6
|
# 2.9.1 (2019-04-04)
|
7
|
+
## Bug fixes
|
2
8
|
- Skip creating load balancer on dry-run
|
3
9
|
- Regression in v2.9.0
|
4
10
|
|
data/lib/hako/schedulers/ecs.rb
CHANGED
@@ -946,10 +946,12 @@ module Hako
|
|
946
946
|
Hako.logger.debug " latest_event_id=#{latest_event_id}, deployments=#{s.deployments}"
|
947
947
|
no_active = s.deployments.all? { |d| d.status != 'ACTIVE' }
|
948
948
|
primary = s.deployments.find { |d| d.status == 'PRIMARY' }
|
949
|
-
if primary.desired_count < @started_task_ids.size
|
949
|
+
if primary.desired_count * 2 < @started_task_ids.size
|
950
950
|
Hako.logger.error('Some started tasks are stopped. It seems new deployment is failing to start')
|
951
|
-
|
952
|
-
|
951
|
+
@started_task_ids.each_slice(100) do |task_ids|
|
952
|
+
ecs_client.describe_tasks(cluster: service.cluster_arn, tasks: task_ids).tasks.each do |task|
|
953
|
+
report_task_diagnostics(task)
|
954
|
+
end
|
953
955
|
end
|
954
956
|
return false
|
955
957
|
end
|
data/lib/hako/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hako
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kohei Suzuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-applicationautoscaling
|
@@ -397,8 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
397
397
|
- !ruby/object:Gem::Version
|
398
398
|
version: '0'
|
399
399
|
requirements: []
|
400
|
-
|
401
|
-
rubygems_version: 2.7.6.2
|
400
|
+
rubygems_version: 3.0.3
|
402
401
|
signing_key:
|
403
402
|
specification_version: 4
|
404
403
|
summary: Deploy Docker container
|