vaws 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/vaws/aws/ecs_describer.rb +6 -4
- data/lib/vaws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23c7c3c0dc64c7b2eeb1677a5c5abce642ddd9ffcaf8d71aa787f06e6d6a662d
|
4
|
+
data.tar.gz: d7bb34f784e22d1e4a8e1e6501ba7a438deb7516201195bdb08aaa10a5cc5cd4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 520c7c8dc96930739bd780d6cf955ee9c798cc5685c0a2ebd5d4e6914131b9e1f6b4a081bfd79e71b2c97aab5558d5b9f0d195f85bacf826306744f6374f1da6
|
7
|
+
data.tar.gz: b0fbd850cccbb9e535f127ab6b322cf900d78205a323b3eb37ac99bc0d49879c96d19be76f49c21940ebea2227a5363cc6b389f300d5627d7685c06011098d73
|
data/Gemfile.lock
CHANGED
@@ -47,7 +47,10 @@ module Vaws
|
|
47
47
|
service_names.each_slice(1).to_a.each do |s|
|
48
48
|
describe_services(cluster: cluster_name, service_names: s).services.each do |ds|
|
49
49
|
ds.load_balancers.each do |lb|
|
50
|
-
|
50
|
+
lb_container_name = lb.container_name
|
51
|
+
lb_container_port = lb.container_port
|
52
|
+
lb_target_group = lb.target_group_arn.gsub(/.*:targetgroup\//, '').gsub(/\/.*$/, '')
|
53
|
+
lb_target_group << ":#{lb_container_name}:#{lb_container_port}"
|
51
54
|
end
|
52
55
|
|
53
56
|
ds.deployments.each do |d|
|
@@ -61,17 +64,16 @@ module Vaws
|
|
61
64
|
d.capacity_provider_strategy.each do |c|
|
62
65
|
c_provider = c.capacity_provider
|
63
66
|
end
|
64
|
-
else
|
65
|
-
c_provider = "EC2"
|
66
67
|
end
|
67
68
|
end
|
69
|
+
c_provider = ds.launch_type if c_provider.nil?
|
68
70
|
|
69
71
|
rows << [task, d_count, r_count, p_count, lb_target_group, sg, updated_at, c_provider]
|
70
72
|
task, d_count, r_count, p_count, lb_target_group, sg, updated_at, c_provider = nil
|
71
73
|
end
|
72
74
|
end
|
73
75
|
|
74
|
-
Terminal::Table.new :headings => ['TaskDefinition', 'Desired', 'Running', 'Pending', 'LbTargetGroup', 'SecurityGroup', 'UpdatedAt', 'CapacityProvider'], :rows => rows.sort
|
76
|
+
Terminal::Table.new :headings => ['TaskDefinition', 'Desired', 'Running', 'Pending', 'LbTargetGroup:Container:Port', 'SecurityGroup', 'UpdatedAt', 'CapacityProvider'], :rows => rows.sort
|
75
77
|
end
|
76
78
|
|
77
79
|
def networks
|
data/lib/vaws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vaws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Ito
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|