eb_deployer 0.4.4.beta7 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
0.4.4
|
2
|
+
=====
|
3
|
+
* Fix S3 upload on Windows.
|
4
|
+
* Experimental support for "inactve_settings" options, which can be used to automatically scale down the inactive environment.
|
5
|
+
* Update default solution stack name to latest supported JAVA stack.
|
6
|
+
* Validate solution_stack option before creating environment and list available solution_stacks if not valid.
|
7
|
+
|
1
8
|
0.4.3
|
2
9
|
=====
|
3
10
|
* Backoff and retry when AWS::ElasticBeanstalk::Errors::Throttling happens during polling events
|
@@ -19,16 +19,17 @@ module EbDeployer
|
|
19
19
|
@client.describe_applications(:application_names => [app])[:applications].any?
|
20
20
|
end
|
21
21
|
|
22
|
+
def update_environment_settings(app, env, settings)
|
23
|
+
env_id = convert_env_name_to_id(app, [env]).first
|
24
|
+
@client.update_environment(:environment_id => env_id, :option_settings => settings)
|
25
|
+
end
|
26
|
+
|
22
27
|
def update_environment(app_name, env_name, version, tier, settings)
|
23
28
|
env_id = convert_env_name_to_id(app_name, [env_name]).first
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
:tier => environment_tier(tier)
|
29
|
-
}
|
30
|
-
|
31
|
-
@client.update_environment(request)
|
29
|
+
@client.update_environment(:environment_id => env_id,
|
30
|
+
:version_label => version,
|
31
|
+
:option_settings => settings,
|
32
|
+
:tier => environment_tier(tier))
|
32
33
|
end
|
33
34
|
|
34
35
|
def environment_exists?(app_name, env_name)
|
@@ -33,8 +33,9 @@ module EbDeployer
|
|
33
33
|
|
34
34
|
def apply_settings(settings)
|
35
35
|
raise "Env #{self.name} not exists for applying settings" unless @bs.environment_exists?(@app, @name)
|
36
|
-
|
37
|
-
|
36
|
+
with_polling_events(/Environment update completed successfully/i) do
|
37
|
+
@bs.update_environment_settings(@app, @name, settings)
|
38
|
+
end
|
38
39
|
end
|
39
40
|
|
40
41
|
def cname_prefix
|
data/lib/eb_deployer/version.rb
CHANGED
data/test/aws_driver_stubs.rb
CHANGED
@@ -43,6 +43,12 @@ class EBStub
|
|
43
43
|
@envs_been_deleted[app] << env
|
44
44
|
end
|
45
45
|
|
46
|
+
def update_environment_settings(app, env, settings)
|
47
|
+
raise "not in ready state, consider waiting for previous action finish by pulling envents" unless env_ready?(app, env)
|
48
|
+
@envs[env_key(app, env)].merge!(:settings => settings)
|
49
|
+
end
|
50
|
+
|
51
|
+
|
46
52
|
def update_environment(app, env, version, tier, settings)
|
47
53
|
raise "not in ready state, consider waiting for previous action finish by pulling envents" unless env_ready?(app, env)
|
48
54
|
@envs[env_key(app, env)].merge!(:version => version, :settings => settings, :tier => tier)
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eb_deployer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.4
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.4
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- wpc
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-04-
|
13
|
+
date: 2014-04-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws-sdk
|
@@ -102,9 +102,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
none: false
|
104
104
|
requirements:
|
105
|
-
- - ! '
|
105
|
+
- - ! '>='
|
106
106
|
- !ruby/object:Gem::Version
|
107
|
-
version:
|
107
|
+
version: '0'
|
108
108
|
requirements: []
|
109
109
|
rubyforge_project:
|
110
110
|
rubygems_version: 1.8.23
|