capistrano3-autoscaling-deploy 0.5 → 0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGEwMzAwN2UzNjhlZDUxOTEzZTI2MjFhZjdlNTlmMGJiNjc4ZmJhZA==
4
+ NDc3NGU0MzFiODgwMTllOWI4ZTFhMGMyMzBkNTkzYmVmNTU3ZTRhZQ==
5
5
  data.tar.gz: !binary |-
6
- Y2MzNjEwODhlZjdkNTRlZmJjZTUyYjgyOWZiMDdiNDY2ZDhmMzE1OQ==
6
+ ZTdjNTcyODJmY2UyOWMzZWY2MGQ1NjdlMWIwY2VjNWIxMzE5ZWVjNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmJmZThhZjA5ODIzZTY1NTllZGZlNWQ2MjA4OTg3NDIyODI4MDEyNmY4YzE4
10
- OWRhYzQ0YjlhNmI4ZTYzMmNmMDBkMzc4NzdkMGNlMGM1ZDI4ZWMwNzRkMmUw
11
- N2E3YTU2NmQ3NGZlMWYxNzdiMzc5ZTgzYTEwZDY1MjZlNDcyNzk=
9
+ Mjk3MGY5MzZhMGUxMjdjY2QyNWM2NmVhOTcxYzg0NGMxNzRhNGM5MTQ0MzNj
10
+ ZGVjOWU1OTZlZjcxM2MwYWI1ZmUyODQ4MzYyYTA3ZjFmN2EzMDA2NjA3ZDI5
11
+ NzMyZDE4NTc4YWM1ZTNkZWU1N2U1ZmVlMTg0MDRhNDBhMzcxMjA=
12
12
  data.tar.gz: !binary |-
13
- NTI4MjdjMDQzYjUxNGJjNWZmYThmOGFkNDUxODgwY2ExMDE3YmUwZTk5N2Rk
14
- ZGYxY2I0M2I5MTdlODU5N2U5MDliOGUyYmFmZDY5ZTk5OGNmNDgyZTU5MDA0
15
- NjQ1YTFlMGY3MDFjZGE1ZjM3ZDUyOGMyMjFhZDViY2Q0N2NiNjk=
13
+ N2YyNjhlZmUxZDNmMzMxZDA1ODg1ZTlmYjQ1NGQzMzc3MDM3NTAzZjdlNmU2
14
+ ZTEyNzUxYWI3MjllYWZhZTA1NWJiNTY3ZTg0YmUzZjQyMWY0MWQ4Y2M0NjBi
15
+ MjFiN2E0ZTk5OWQ1MDY2YzJmNjM2MWRlNzg3OWQwMWZmZTcxODI=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano3-autoscaling-deploy (0.4)
4
+ capistrano3-autoscaling-deploy (0.5)
5
5
  aws-sdk (~> 2)
6
6
  capistrano (~> 3)
7
7
  capistrano-bundler (~> 1.1.2)
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module AutoScalingDeploy
3
- VERSION = '0.5'
3
+ VERSION = '0.6'
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ module AwsHelper
16
16
  else
17
17
  instance_ids = instances.map(&:instance_id)
18
18
  ec2 = Aws::EC2::Resource.new(region: aws_region, credentials: aws_credentials)
19
- info("Auto Scaling Group instances ids: #{instance_ids}")
19
+ # info("Auto Scaling Group instances ids: #{instance_ids}")
20
20
  autoscaling_dns = instance_ids.map do |instance_id|
21
21
  ec2.instance(instance_id).public_dns_name
22
22
  end
@@ -32,11 +32,11 @@ module AwsHelper
32
32
  max_records: 1,
33
33
  ).auto_scaling_groups
34
34
 
35
- info("Auto Scaling Groups: #{as_groups}")
35
+ # info("Auto Scaling Groups: #{as_groups}")
36
36
 
37
37
  as_group = as_groups[0]
38
38
 
39
- info("Auto Scaling Group instances: #{as_group.instances}")
39
+ # info("Auto Scaling Group instances: #{as_group.instances}")
40
40
 
41
41
  as_group.instances
42
42
  end
@@ -25,11 +25,11 @@ namespace :autoscaling_deploy do
25
25
 
26
26
  ec2_instances.each {|instance|
27
27
  if ec2_instances.first[0] == instance
28
- server instance, *roles
29
- info("First Server: #{instance} - #{aws_deploy_roles}")
28
+ server instance, *aws_deploy_roles
29
+ # info("First Server: #{instance} - #{aws_deploy_roles}")
30
30
  else
31
31
  server instance, *sanitize_roles(roles)
32
- info("Server: #{instance} - #{sanitize_roles(aws_deploy_roles)}")
32
+ # info("Server: #{instance} - #{sanitize_roles(aws_deploy_roles)}")
33
33
  end
34
34
  }
35
35
 
@@ -43,7 +43,7 @@ namespace :autoscaling_deploy do
43
43
 
44
44
  instances = get_instances(region, key, secret, group_name)
45
45
 
46
- info("Found #{instances.count} servers for Auto Scaling Group: #{group_name} ")
46
+ # info("Found #{instances.count} servers for Auto Scaling Group: #{group_name} ")
47
47
 
48
48
  instances
49
49
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-autoscaling-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: '0.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Chicote
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk