eb_deployer 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -78,7 +78,6 @@ So you are done with this application or environment, you can destroy it easily
78
78
  and you are done!
79
79
 
80
80
  Later tutorials coming soon will cover
81
- * how to setup multiple environment suites: production, staging, and how to manage configurations for them
82
81
  * how to setup RDS or other AWS resource and share them between blue green environments
83
82
 
84
83
  Take a look at code if you can not wait for the documentation.
@@ -49,7 +49,7 @@ common:
49
49
  smoke_test: |
50
50
  curl_http_code = "curl -s -o /dev/null -w \"%{http_code}\" http://#{host_name}"
51
51
  Timeout.timeout(600) do
52
- until ['200', '302'].include?(`#{curl_http_code}`.strip)
52
+ until ['200', '301', '302'].include?(`#{curl_http_code}`.strip)
53
53
  sleep 5
54
54
  end
55
55
  end
@@ -61,7 +61,13 @@ common:
61
61
  # For all available options take a look at
62
62
  # http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html
63
63
  option_settings:
64
- # Following is an option_settings example which changes EC2 instance type
64
+ # Following is an example of set EC2 ssh key name. This allow you ssh into the ec2
65
+ # instance. See http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
66
+ # - namespace: aws:autoscaling:launchconfiguration
67
+ # option_name: EC2KeyName
68
+ # value: <my-ec2-key-name>
69
+
70
+ # Following is an example which changes EC2 instance type
65
71
  # from t1.micro (default) to m1.small. Instances with t1.micro type sometime
66
72
  # are not very responsible, so m1.small is suggested for saving time.
67
73
  # But if you care about the marginal cost difference you can comment this out to
@@ -70,6 +76,7 @@ common:
70
76
  option_name: InstanceType
71
77
  value: m1.small
72
78
 
79
+
73
80
  # If resources specified, eb_deployer will use the CloudFormation
74
81
  # template you provide to create a default CloudFormation stack with
75
82
  # name <application_name>-<env-name> for the environment current
@@ -88,7 +95,7 @@ common:
88
95
  # sample project which has a working example):
89
96
  # template: config/my_rds.json
90
97
  # inputs:
91
- # DBPassword: <%%= ENV.fetch("MYDBPASSWORD") %>
98
+ # DBPassword: <%%= ENV["MYDBPASSWORD"] %>
92
99
  # outputs:
93
100
  # RDSPassSecurityGroup:
94
101
  # namespace: aws:autoscaling:launchconfiguration
@@ -31,6 +31,7 @@ module EbDeployer
31
31
  end
32
32
 
33
33
  def swap_cname_with(another)
34
+ log("Swap CNAME with env #{another.name}")
34
35
  @bs.environment_swap_cname(self.app, self.name, another.name)
35
36
  end
36
37
 
@@ -1,3 +1,3 @@
1
1
  module EbDeployer
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eb_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: