bosh-bootstrap 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -1
- data/.travis.yml +5 -0
- data/ChangeLog.md +27 -0
- data/README.md +8 -2
- data/Rakefile +3 -1
- data/bosh-bootstrap.gemspec +9 -5
- data/lib/bosh/providers/aws.rb +121 -11
- data/lib/bosh/providers/openstack.rb +1 -1
- data/lib/bosh-bootstrap/cli.rb +260 -86
- data/lib/bosh-bootstrap/helpers/settings_setter.rb +21 -0
- data/lib/bosh-bootstrap/stages/stage_micro_bosh_deploy/bosh_micro_deploy +44 -5
- data/lib/bosh-bootstrap/stages/stage_micro_bosh_deploy/download_micro_bosh_stemcell +18 -70
- data/lib/bosh-bootstrap/stages/stage_micro_bosh_deploy.rb +2 -3
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/configure_git +28 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages +6 -1
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh +3 -29
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_useful_gems +4 -1
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm.rb +12 -4
- data/lib/bosh-bootstrap/version.rb +1 -1
- data/lib/bosh-bootstrap.rb +4 -0
- data/spec/assets/micro_bosh_yml/micro_bosh.aws_ec2.yml +35 -0
- data/spec/assets/micro_bosh_yml/micro_bosh.aws_vpc.yml +37 -0
- data/spec/spec_helper.rb +19 -1
- data/spec/unit/aws_spec.rb +137 -0
- data/spec/unit/bosh/providers/aws_spec.rb +160 -0
- data/spec/unit/cli_spec.rb +3 -3
- data/spec/unit/cli_ssh_spec.rb +42 -0
- data/spec/unit/cli_upgrade_inception_spec.rb +31 -0
- data/spec/unit/settings_setter_spec.rb +29 -0
- metadata +69 -11
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-02-
|
12
|
+
date: 2013-02-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -75,6 +75,22 @@ dependencies:
|
|
75
75
|
- - ! '>='
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: net-ssh
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ~>
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 2.2.2
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 2.2.2
|
78
94
|
- !ruby/object:Gem::Dependency
|
79
95
|
name: net-scp
|
80
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,6 +139,22 @@ dependencies:
|
|
123
139
|
- - ! '>='
|
124
140
|
- !ruby/object:Gem::Version
|
125
141
|
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: redcard
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :runtime
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
126
158
|
- !ruby/object:Gem::Dependency
|
127
159
|
name: bosh_cli
|
128
160
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,6 +203,22 @@ dependencies:
|
|
171
203
|
- - ! '>='
|
172
204
|
- !ruby/object:Gem::Version
|
173
205
|
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: activesupport
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: 3.0.0
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 3.0.0
|
174
222
|
description: Bootstrap a micro BOSH universe from one CLI
|
175
223
|
email:
|
176
224
|
- drnicwilliams@gmail.com
|
@@ -181,6 +229,7 @@ extra_rdoc_files: []
|
|
181
229
|
files:
|
182
230
|
- .gitignore
|
183
231
|
- .rspec
|
232
|
+
- .travis.yml
|
184
233
|
- ChangeLog.md
|
185
234
|
- Gemfile
|
186
235
|
- Guardfile
|
@@ -211,6 +260,7 @@ files:
|
|
211
260
|
- lib/bosh-bootstrap/stages/stage_micro_bosh_deploy/download_micro_bosh_stemcell
|
212
261
|
- lib/bosh-bootstrap/stages/stage_micro_bosh_deploy/install_key_pair_for_user
|
213
262
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm.rb
|
263
|
+
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/configure_git
|
214
264
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/convert_salted_password
|
215
265
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/create_vcap_user
|
216
266
|
- lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages
|
@@ -232,11 +282,17 @@ files:
|
|
232
282
|
- lib/bosh/providers/openstack.rb
|
233
283
|
- spec/assets/.gitkeep
|
234
284
|
- spec/assets/bosh/public_stemcells/aws_micro.out
|
285
|
+
- spec/assets/micro_bosh_yml/micro_bosh.aws_ec2.yml
|
286
|
+
- spec/assets/micro_bosh_yml/micro_bosh.aws_vpc.yml
|
235
287
|
- spec/functional/.gitkeep
|
236
288
|
- spec/spec_helper.rb
|
237
289
|
- spec/unit/.gitkeep
|
290
|
+
- spec/unit/aws_spec.rb
|
291
|
+
- spec/unit/bosh/providers/aws_spec.rb
|
238
292
|
- spec/unit/cli_spec.rb
|
239
293
|
- spec/unit/cli_ssh_spec.rb
|
294
|
+
- spec/unit/cli_upgrade_inception_spec.rb
|
295
|
+
- spec/unit/settings_setter_spec.rb
|
240
296
|
homepage: https://github.com/StarkAndWayne/bosh-bootstrap
|
241
297
|
licenses: []
|
242
298
|
post_install_message:
|
@@ -248,10 +304,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
248
304
|
requirements:
|
249
305
|
- - ! '>='
|
250
306
|
- !ruby/object:Gem::Version
|
251
|
-
version: '
|
252
|
-
segments:
|
253
|
-
- 0
|
254
|
-
hash: 14194851677947465
|
307
|
+
version: '1.9'
|
255
308
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
256
309
|
none: false
|
257
310
|
requirements:
|
@@ -260,20 +313,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
313
|
version: '0'
|
261
314
|
segments:
|
262
315
|
- 0
|
263
|
-
hash:
|
316
|
+
hash: 3958535390595631478
|
264
317
|
requirements: []
|
265
318
|
rubyforge_project:
|
266
|
-
rubygems_version: 1.8.
|
319
|
+
rubygems_version: 1.8.25
|
267
320
|
signing_key:
|
268
321
|
specification_version: 3
|
269
|
-
summary:
|
270
|
-
|
271
|
-
deploy micro BOSH from an available stemcell.
|
322
|
+
summary: bosh-bootstrap is a command line tool that you can run on your laptop and
|
323
|
+
automatically get a microbosh (and an inception VM) deployed on either AWS or OpenStack.
|
272
324
|
test_files:
|
273
325
|
- spec/assets/.gitkeep
|
274
326
|
- spec/assets/bosh/public_stemcells/aws_micro.out
|
327
|
+
- spec/assets/micro_bosh_yml/micro_bosh.aws_ec2.yml
|
328
|
+
- spec/assets/micro_bosh_yml/micro_bosh.aws_vpc.yml
|
275
329
|
- spec/functional/.gitkeep
|
276
330
|
- spec/spec_helper.rb
|
277
331
|
- spec/unit/.gitkeep
|
332
|
+
- spec/unit/aws_spec.rb
|
333
|
+
- spec/unit/bosh/providers/aws_spec.rb
|
278
334
|
- spec/unit/cli_spec.rb
|
279
335
|
- spec/unit/cli_ssh_spec.rb
|
336
|
+
- spec/unit/cli_upgrade_inception_spec.rb
|
337
|
+
- spec/unit/settings_setter_spec.rb
|