engineyard 1.3.19 → 1.3.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -297,7 +297,7 @@ module EY
297
297
  EY.ui.say
298
298
 
299
299
  EY.ui.say "Deploy commands:"
300
- deploy_cmds = %w(deploy environments logs rebuild rollback)
300
+ deploy_cmds = %w(deploy environments logs rebuild rollback status)
301
301
  deploy_cmds.map! do |name|
302
302
  list.find{|task| task[0] =~ /^#{base} #{name}/ }
303
303
  end
@@ -117,7 +117,7 @@ module EY
117
117
  output << ["Finished at", dep.finished_at]
118
118
 
119
119
  output.each do |att, val|
120
- puts "# %-15s %s" % ["#{att}:", val.to_s]
120
+ puts "#\t%-15s %s" % ["#{att}:", val.to_s]
121
121
  end
122
122
  puts "#"
123
123
 
@@ -1,6 +1,6 @@
1
1
  module EY
2
2
  module Model
3
- class Environment < ApiStruct.new(:id, :account, :name, :framework_env, :instances, :instances_count, :apps, :app_master, :username, :stack_name, :api)
3
+ class Environment < ApiStruct.new(:id, :account, :name, :framework_env, :instances, :instances_count, :apps, :app_master, :username, :app_server_stack_name, :load_balancer_ip_address, :api)
4
4
 
5
5
  attr_accessor :ignore_bad_master
6
6
 
@@ -13,7 +13,7 @@ module EY
13
13
  args.repo = app.repository_uri
14
14
  args.instances = instances_data
15
15
  args.verbose = verbose || ENV['DEBUG']
16
- args.stack = environment.stack_name
16
+ args.stack = environment.app_server_stack_name
17
17
  args.framework_env = environment.framework_env
18
18
  end
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module EY
2
- VERSION = '1.3.19'
2
+ VERSION = '1.3.20'
3
3
  end
@@ -82,7 +82,8 @@ module Scenario
82
82
  "instances" => _instances,
83
83
  "name" => "giblets",
84
84
  "instances_count" => 4,
85
- "stack_name" => "nginx_mongrel",
85
+ "app_server_stack_name" => "nginx_mongrel",
86
+ "load_balancer_ip_address" => '127.0.0.0',
86
87
  "framework_env" => "production"}]
87
88
  end
88
89
 
@@ -140,8 +141,9 @@ module Scenario
140
141
  "public_hostname" => "ec2-174-129-198-124.compute-1.amazonaws.com"}],
141
142
  "name" => "giblets",
142
143
  "instances_count" => 1,
143
- "stack_name" => "nginx_mongrel",
144
144
  "id" => 200,
145
+ "app_server_stack_name" => "nginx_mongrel",
146
+ "load_balancer_ip_address" => '127.0.0.0',
145
147
  "framework_env" => "production"}]
146
148
  end
147
149
  end # UnlinkedApp
@@ -160,8 +162,9 @@ module Scenario
160
162
  "instances" => [],
161
163
  "name" => "giblets",
162
164
  "instances_count" => 0,
163
- "stack_name" => "nginx_mongrel",
164
165
  "id" => 200,
166
+ "app_server_stack_name" => "nginx_mongrel",
167
+ "load_balancer_ip_address" => '127.0.0.0',
165
168
  "framework_env" => "production"}]
166
169
  end
167
170
 
@@ -204,22 +207,25 @@ module Scenario
204
207
  "public_hostname" => "app_master_hostname.compute-1.amazonaws.com"}],
205
208
  "name" => "giblets",
206
209
  "instances_count" => 1,
207
- "stack_name" => "nginx_mongrel",
208
210
  "id" => 200,
211
+ "app_server_stack_name" => "nginx_mongrel",
212
+ "load_balancer_ip_address" => '127.0.0.0',
209
213
  "framework_env" => "production",
210
214
  }, {
211
215
  "ssh_username" => "ham",
212
216
  "instances" => [],
213
217
  "name" => "bakon",
214
218
  "instances_count" => 0,
215
- "stack_name" => "nginx_passenger",
219
+ "app_server_stack_name" => "nginx_passenger",
220
+ "load_balancer_ip_address" => '127.0.0.0',
216
221
  "id" => 202,
217
222
  }, {
218
223
  "ssh_username" => "hamburger",
219
224
  "instances" => [],
220
225
  "name" => "beef",
221
226
  "instances_count" => 0,
222
- "stack_name" => "nginx_passenger",
227
+ "app_server_stack_name" => "nginx_passenger",
228
+ "load_balancer_ip_address" => '127.0.0.0',
223
229
  "id" => 206,
224
230
  }]
225
231
  end
@@ -276,14 +282,16 @@ module Scenario
276
282
  "ssh_username" => "turkey",
277
283
  "instances_count" => 1,
278
284
  "instances" => [railsapp_master],
279
- "stack_name" => "nginx_unicorn",
285
+ "app_server_stack_name" => "nginx_unicorn",
286
+ "load_balancer_ip_address" => '127.0.0.0',
280
287
  }, {
281
288
  "id" => 439,
282
289
  "framework_env" => "production",
283
290
  "name" => "keycollector_production",
284
291
  "ssh_username" => "deploy",
285
- "stack_name" => "nginx_mongrel",
286
292
  "instances_count" => 1,
293
+ "load_balancer_ip_address" => '127.0.0.0',
294
+ "app_server_stack_name" => "nginx_mongrel",
287
295
  "instances" => [keycollector_master],
288
296
  }]
289
297
  end
@@ -319,7 +327,8 @@ module Scenario
319
327
  "public_hostname" => "app_master_hostname.compute-1.amazonaws.com"}],
320
328
  "name" => "railsapp_production",
321
329
  "instances_count" => 1,
322
- "stack_name" => "nginx_mongrel",
330
+ "load_balancer_ip_address" => '127.0.0.0',
331
+ "app_server_stack_name" => "nginx_mongrel",
323
332
  "framework_env" => "production",
324
333
  }, {
325
334
  "id" => 202,
@@ -332,7 +341,8 @@ module Scenario
332
341
  }],
333
342
  "name" => "railsapp_staging",
334
343
  "instances_count" => 1,
335
- "stack_name" => "nginx_passenger",
344
+ "load_balancer_ip_address" => '127.3.2.1',
345
+ "app_server_stack_name" => "nginx_passenger",
336
346
  "framework_env" => "production",
337
347
  }, {
338
348
  "ssh_username" => "ham",
@@ -344,8 +354,9 @@ module Scenario
344
354
  }],
345
355
  "name" => "railsapp_staging_2",
346
356
  "instances_count" => 1,
347
- "stack_name" => "nginx_passenger",
357
+ "app_server_stack_name" => "nginx_passenger",
348
358
  "id" => 204,
359
+ "load_balancer_ip_address" => '127.0.0.2',
349
360
  "framework_env" => "production",
350
361
  }]
351
362
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard
3
3
  version: !ruby/object:Gem::Version
4
- hash: 61
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 19
10
- version: 1.3.19
9
+ - 20
10
+ version: 1.3.20
11
11
  platform: ruby
12
12
  authors:
13
13
  - EY Cloud Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-23 00:00:00 -07:00
18
+ date: 2011-05-27 00:00:00 -07:00
19
19
  default_executable: ey
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency