awful 0.0.77 → 0.0.79

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f59dd57517b669d9833f35b807c515a15c5c30f5
4
- data.tar.gz: 559e8196c00db0cdce4a29fd86373165ed1afdfc
3
+ metadata.gz: 0160d9a38b5cf708b56495419ba171274f98712c
4
+ data.tar.gz: 3c19711d7ff3bd05145713b9e889c91c35cc46dc
5
5
  SHA512:
6
- metadata.gz: 83320c5cf646f098171f4fd5328a762308f2e3e0fa2cf72454d4fdf9d705ba3b8dbe5520409097038a7ab07ba59a17229781ab221f27beb4392f3486ff841889
7
- data.tar.gz: 5cc553c729e5a41fdd68b83c55cf340aeab30b334a3e70ed0a7a9099890e6c32cd0ef415672402323945cfad9907431930af08f3ca2f1d20ae868cd4d385f66e
6
+ metadata.gz: fc2831aae001b046a7f9e69eec664c52f14ac8eb98ca8a05048433083d39b6a7b81bb4b294e281b041626b6440b95592aab2ae74dd95ebf9bcbaab530eecb032
7
+ data.tar.gz: ca6e6f2a54d33c2305349e4d5770943cf6f85345b788b1053b36dcdde349c124d6ff0e65211a9301ffc9e2c018e25709254e3a62355b30f4857b2d624a30644a
data/lib/awful/ec2.rb CHANGED
@@ -56,6 +56,7 @@ module Awful
56
56
  tag_name(i, ''),
57
57
  i.instance_id,
58
58
  i.instance_type,
59
+ i.image_id,
59
60
  i.placement.availability_zone,
60
61
  color(i.state.name),
61
62
  i.security_groups.map(&:group_name).join(',').slice(0..30),
data/lib/awful/ecs.rb CHANGED
@@ -131,6 +131,15 @@ module Awful
131
131
  end
132
132
  end
133
133
 
134
+ desc 'status CLUSTER TASKS', 'describe status for one or more task IDs/ARNs'
135
+ def status(cluster, *tasks)
136
+ ecs.describe_tasks(cluster: cluster, tasks: tasks).tasks.tap do |responses|
137
+ responses.each do |response|
138
+ puts YAML.dump(stringify_keys(response.to_h))
139
+ end
140
+ end
141
+ end
142
+
134
143
  desc 'services CLUSTER', 'list services for a cluster'
135
144
  method_option :long, aliases: '-l', default: false, desc: 'Long listing'
136
145
  def services(cluster)
data/lib/awful/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = '0.0.77'
2
+ VERSION = '0.0.79'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.77
4
+ version: 0.0.79
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister