lita-codedeploy-status 0.2.0 → 0.2.1

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: 47422fc80fd1881042e91e608dfed54fac627899
4
- data.tar.gz: 1b32c51cc753e5e656a9dd455b9b3f663755d6b9
3
+ metadata.gz: c9d8e2313f7c78d4b3fc5d0156240e440ae71189
4
+ data.tar.gz: 8c141778b9c3f8e2d37b568bac6795e75a765d2e
5
5
  SHA512:
6
- metadata.gz: 9469f1ab7370967aadec2e29cc2287119492bccbff3a1c4f9af93c69c8c7aea3645528efe901e524ed41a27ccae75029ad433e38f4aba7d1235da1f72ff1663e
7
- data.tar.gz: f7ad6f722483204f2a052cc51d355f16b3a5b7b78d852d134f12b8a13dd520193b3a1d945e74637ac4b1f97070e25755e8fce948235cf6c32e4ef49551fa1a0f
6
+ metadata.gz: 71386820ae98a68368d50390727023f634b8334c6ee3b7cf51e859248bc3cd64880a7c7a252c1a116034f1824678b69ecdf93f71b3c26977a615a7abada0b42b
7
+ data.tar.gz: 0136b5f6378f69799e10ac52e7c700d93b70c2c7fab43ca56004ac9de05422d706c08193a51ed5571371cc398fe128739957c108d8e5512524337a77b4140bef
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-codedeploy-status"
3
- spec.version = "0.2.0"
3
+ spec.version = "0.2.1"
4
4
  spec.authors = ["Mike Machado"]
5
5
  spec.email = ["mike@machadolab.com"]
6
6
  spec.description = "Show AWS CodeDeploy status"
@@ -1,12 +1,13 @@
1
- <%= @deployment.deployment_info.complete_time == nil ? 'Deploying' : 'Deployed' %> <%= @branch_name %>/<%= @deployment_id %> - <%= @deployment.deployment_info.status %> <%= time_ago(@deployment.deployment_info.create_time) %>
1
+ <%= @deployment.deployment_info.complete_time == nil ? 'Deploying' : 'Deployed' %> <%= @branch[:name] %>/<%= @deployment_id %> - <%= @deployment.deployment_info.status %> <%= time_ago(@deployment.deployment_info.create_time) %>
2
2
 
3
3
  <% @deployment_instance_status.each do |dis| %>
4
4
  <%= short_instance_id(dis.instance_summary.instance_id) %> <%= dis.instance_summary.status %> <%= time_ago(dis.instance_summary.last_updated_at) %>
5
5
  <% dis.instance_summary.lifecycle_events.each do |le| %>
6
- <% if le.start_time != nil && le.end_time == nil %>
7
- started <%= le.lifecycle_event_name %> <%= time_ago(le.start_time) %>
8
- <% end %>
6
+ <% if le.start_time != nil && le.end_time == nil %> in phase <%= le.lifecycle_event_name %><% end %>
9
7
  <% end %>
10
8
  <% end %>
9
+ <%= if @deployment.deployment_info.complete_time != nil %>
10
+
11
11
 
12
12
  https://console.aws.amazon.com/codedeploy/home?region=<%= @config.aws_region %>#/deployments/<%= @deployment_id %>
13
+ <% end %>
@@ -3,12 +3,12 @@
3
3
  <% @deployment_instance_status.each do |dis| %>
4
4
  <%= short_instance_id(dis.instance_summary.instance_id) %> <%= dis.instance_summary.status %> <%= time_ago(dis.instance_summary.last_updated_at) %>
5
5
  <% dis.instance_summary.lifecycle_events.each do |le| %>
6
- <% if le.start_time != nil && le.end_time == nil %>
7
- started <%= le.lifecycle_event_name %> <%= time_ago(le.start_time) %>
6
+ <% if le.start_time != nil && le.end_time == nil %> in phase <%= le.lifecycle_event_name %><% end %>
8
7
  <% end %>
9
8
  <% end %>
10
- <% end %>
11
- <%= @deployment.deployment_info.complete_time != nil ? ['(dance)','(badass)','(cake)','(excellent)','(giggity)','(indeed)','(nice)','(ohmy)','(dosequis)','(rockon)','(salute)','(yey)','(fonzie)'].sample : '' %>
9
+ <%= if @deployment.deployment_info.complete_time != nil %>
10
+ <%= ['(dance)','(badass)','(cake)','(excellent)','(giggity)','(indeed)','(nice)','(ohmy)','(dosequis)','(rockon)','(salute)','(yey)','(fonzie)'].sample %>
12
11
 
13
12
 
14
13
  https://console.aws.amazon.com/codedeploy/home?region=<%= @config.aws_region %>#/deployments/<%= @deployment_id %>
14
+ <% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-codedeploy-status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Machado
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-27 00:00:00.000000000 Z
11
+ date: 2016-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita