bosh_deployer 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bosh/cli/commands/micro.rb +2 -7
- data/lib/deployer/instance_manager.rb +1 -1
- data/lib/deployer/version.rb +1 -1
- metadata +22 -6
@@ -80,7 +80,6 @@ module Bosh::Cli::Command
|
|
80
80
|
|
81
81
|
def perform(*options)
|
82
82
|
update = options.delete("--update")
|
83
|
-
force = options.delete("--force")
|
84
83
|
stemcell = options.shift
|
85
84
|
|
86
85
|
err "No deployment set" unless deployment
|
@@ -116,13 +115,9 @@ module Bosh::Cli::Command
|
|
116
115
|
err "Instance exists. Did you mean to --update?"
|
117
116
|
end
|
118
117
|
|
119
|
-
# make sure the user knows a persistent disk is
|
118
|
+
# make sure the user knows a persistent disk is required
|
120
119
|
unless dig_hash(manifest, "resources", "persistent_disk")
|
121
|
-
|
122
|
-
msg = "No persistent disk configured, use --force to deploy anyway"
|
123
|
-
quit(msg.red)
|
124
|
-
end
|
125
|
-
say("WARNING! The micro bosh data won't be persisted".red)
|
120
|
+
quit("No persistent disk configured!".red)
|
126
121
|
end
|
127
122
|
|
128
123
|
confirmation = "Deploying new"
|
@@ -334,11 +334,11 @@ module Bosh::Deployer
|
|
334
334
|
|
335
335
|
# replace the old with the new in the state file
|
336
336
|
state.disk_cid = new_disk_cid
|
337
|
-
save_state
|
338
337
|
|
339
338
|
# delete the old disk
|
340
339
|
delete_disk(old_disk_cid, state.vm_cid)
|
341
340
|
end
|
341
|
+
save_state
|
342
342
|
end
|
343
343
|
|
344
344
|
def update_spec(spec)
|
data/lib/deployer/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_deployer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bosh_cli
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.19.5
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.19.5
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: bosh_common
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +50,7 @@ dependencies:
|
|
34
50
|
requirements:
|
35
51
|
- - ~>
|
36
52
|
- !ruby/object:Gem::Version
|
37
|
-
version: 0.4.
|
53
|
+
version: 0.4.4
|
38
54
|
type: :runtime
|
39
55
|
prerelease: false
|
40
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +58,7 @@ dependencies:
|
|
42
58
|
requirements:
|
43
59
|
- - ~>
|
44
60
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.4.
|
61
|
+
version: 0.4.4
|
46
62
|
- !ruby/object:Gem::Dependency
|
47
63
|
name: bosh_vsphere_cpi
|
48
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,7 +208,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
192
208
|
version: '0'
|
193
209
|
segments:
|
194
210
|
- 0
|
195
|
-
hash: -
|
211
|
+
hash: -1238635242857856415
|
196
212
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
213
|
none: false
|
198
214
|
requirements:
|
@@ -201,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
217
|
version: '0'
|
202
218
|
segments:
|
203
219
|
- 0
|
204
|
-
hash: -
|
220
|
+
hash: -1238635242857856415
|
205
221
|
requirements: []
|
206
222
|
rubyforge_project:
|
207
223
|
rubygems_version: 1.8.24
|