hako 2.16.0 → 2.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/CHANGELOG.md +4 -0
- data/lib/hako/schedulers/ecs.rb +12 -0
- data/lib/hako/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39056ee36a91a2e24c9dc59cfe7e5a0fef62c55578c31cf6aa2243d29d89ca8e
|
4
|
+
data.tar.gz: ca5ecea7f27470068cf6d69d925363fa43dfcde5bba28764e51df11e9e57cfb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99c17719f1f60db1bd9c5413f6cb02005464f90bda67f5f543b6537d71796f0fe8ea9e32a267bf1000bcc48e1b98ef03c03cf4a0878cc1d8b2107e9fb405b362
|
7
|
+
data.tar.gz: 23f57698cb4d2cdf7fd59bed1c25977fefbea9868fcbd4179d860729ca0ebf372d177dd8d25d5205e6814b7edd77450837054da96d232f8844c604e743324264
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/hako/schedulers/ecs.rb
CHANGED
@@ -81,6 +81,13 @@ module Hako
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
@requires_compatibilities = options.fetch('requires_compatibilities', nil)
|
84
|
+
if options.key?('runtime_platform')
|
85
|
+
runtime_platform = options.fetch('runtime_platform')
|
86
|
+
@runtime_platform = {
|
87
|
+
cpu_architecture: runtime_platform.fetch('cpu_architecture', nil),
|
88
|
+
operating_system_family: runtime_platform.fetch('operating_system_family', nil),
|
89
|
+
}
|
90
|
+
end
|
84
91
|
@launch_type = options.fetch('launch_type', nil)
|
85
92
|
if options.key?('capacity_provider_strategy')
|
86
93
|
@capacity_provider_strategy = options.fetch('capacity_provider_strategy').map do |strategy|
|
@@ -523,6 +530,9 @@ module Hako
|
|
523
530
|
if actual_definition.requires_compatibilities != @requires_compatibilities
|
524
531
|
return true
|
525
532
|
end
|
533
|
+
if actual_definition.runtime_platform != @runtime_platform
|
534
|
+
return true
|
535
|
+
end
|
526
536
|
if actual_definition.ephemeral_storage != @ephemeral_storage
|
527
537
|
return true
|
528
538
|
end
|
@@ -566,6 +576,7 @@ module Hako
|
|
566
576
|
container_definitions: definitions,
|
567
577
|
volumes: volumes_definition,
|
568
578
|
requires_compatibilities: @requires_compatibilities,
|
579
|
+
runtime_platform: @runtime_platform,
|
569
580
|
cpu: @cpu,
|
570
581
|
memory: @memory,
|
571
582
|
ephemeral_storage: @ephemeral_storage,
|
@@ -603,6 +614,7 @@ module Hako
|
|
603
614
|
container_definitions: definitions,
|
604
615
|
volumes: volumes_definition,
|
605
616
|
requires_compatibilities: @requires_compatibilities,
|
617
|
+
runtime_platform: @runtime_platform,
|
606
618
|
cpu: @cpu,
|
607
619
|
memory: @memory,
|
608
620
|
ephemeral_storage: @ephemeral_storage,
|
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.
|
4
|
+
version: 2.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kohei Suzuki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-applicationautoscaling
|
@@ -384,7 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
384
384
|
- !ruby/object:Gem::Version
|
385
385
|
version: '0'
|
386
386
|
requirements: []
|
387
|
-
rubygems_version: 3.
|
387
|
+
rubygems_version: 3.2.32
|
388
388
|
signing_key:
|
389
389
|
specification_version: 4
|
390
390
|
summary: Deploy Docker container
|