bosh-bootstrap 0.11.7 → 0.11.8

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/ChangeLog.md CHANGED
@@ -28,7 +28,8 @@
28
28
  * microbosh volume is smaller 4G and automatically fits on devstack/openstack (v0.11.5; thx @ryfow)
29
29
  * security group `bosh_agent_http` renamed to `bosh_agent_https`, with same 6868 port for talking to bosh_agent running in https mode (`bosh_agent_http` can then be deleted) (v0.11.5)
30
30
  * add port 53/dns security group (v0.11.6)
31
- * port 53 open on UDP & TCP as workaround for multi-region AWS (v0.11.7; thx @yudai)
31
+ * port 53 open on UDP only as workaround for multi-region AWS (v0.11.7; thx @yudai)
32
+ * suppress bundler git "fatal" warnings (by converting ~/.microbosh into git repo) (v0.11.8)
32
33
 
33
34
  ## v0.10
34
35
 
@@ -39,6 +39,7 @@ class Bosh::Bootstrap::Microbosh
39
39
  mkdir_p(File.dirname(manifest_yml))
40
40
  chdir(base_path) do
41
41
  setup_base_path
42
+ setup_gems
42
43
  create_microbosh_yml(settings)
43
44
  deploy_or_update(settings.bosh.name, settings.bosh.stemcell)
44
45
  end
@@ -46,6 +47,12 @@ class Bosh::Bootstrap::Microbosh
46
47
 
47
48
  protected
48
49
  def setup_base_path
50
+ sh("git init")
51
+ sh("git add .")
52
+ sh("git commit -m 'Creating repo to suppress bundler warnings'")
53
+ end
54
+
55
+ def setup_gems
49
56
  gempath = File.expand_path("../../..", __FILE__)
50
57
  pwd = File.expand_path(".")
51
58
  File.open("Gemfile", "w") do |f|
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Bootstrap
3
- VERSION = "0.11.7"
3
+ VERSION = "0.11.8"
4
4
  end
5
5
  end
@@ -12,6 +12,9 @@ describe Bosh::Bootstrap::Microbosh do
12
12
  it "deploys new microbosh" do
13
13
  setting "bosh.name", "test-bosh"
14
14
  setting "bosh.stemcell", path_or_ami
15
+ subject.should_receive(:sh).with("git init")
16
+ subject.should_receive(:sh).with("git add .")
17
+ subject.should_receive(:sh).with("git commit -m 'Creating repo to suppress bundler warnings'")
15
18
  subject.should_receive(:sh).with("bundle install")
16
19
  subject.should_receive(:sh).with("bundle exec bosh micro deployment test-bosh")
17
20
  subject.should_receive(:sh).with("bundle exec bosh -n micro deploy #{path_or_ami}")
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.11.7
4
+ version: 0.11.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -227,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  version: '0'
228
228
  segments:
229
229
  - 0
230
- hash: -1163275774745142724
230
+ hash: -3843562037728666098
231
231
  requirements: []
232
232
  rubyforge_project:
233
233
  rubygems_version: 1.8.25