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 +0 -1
- data/lib/eb_deployer/default_config.yml +10 -3
- data/lib/eb_deployer/environment.rb +1 -0
- data/lib/eb_deployer/version.rb +1 -1
- metadata +1 -1
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
|
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
|
98
|
+
# DBPassword: <%%= ENV["MYDBPASSWORD"] %>
|
92
99
|
# outputs:
|
93
100
|
# RDSPassSecurityGroup:
|
94
101
|
# namespace: aws:autoscaling:launchconfiguration
|
data/lib/eb_deployer/version.rb
CHANGED