bosh-bootstrap 0.11.11 → 0.11.12

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDViZDdjYjZlZjBjOWE0NGE1MTRjNzI5OTAzMTJjOTZiYTg1MWQwOA==
4
+ NDExN2RjMjlkZGUwZWQwZGUzOThkOTlhZjgwY2JlZTAzN2E0MWM2Ng==
5
5
  data.tar.gz: !binary |-
6
- MWMwYWM5NTg3NGY4Nzk5ZTAwZTY1ZTc3NTExYzRhMzkzZDcwMzMzZA==
6
+ MzcyM2YyMWExZWQzNDc5MjkyNmEzODg2MzRkZGFlN2M0NDhiZGM2ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmE3ZTY0MGZhMTc4MTZmYTUxZWM2M2ZhMTVkYTNlZGZkYTEyNDdjNjdlYWFl
10
- MTQ5ZTEzOWIwY2M2MTc0MDY5OGU0ODEwZmIxZDg0NTZiYTAzYzY5ZTlhODVm
11
- NjM4NmNlYzFhMDBhOGEzNGM0ZjJlOTQ5NTVmYzI4M2Q0OTUyMWI=
9
+ ZTBlNjA2ZGUzMzU5YzUzNjhhNDA1MzEwMDMyMWI3NzBlNDY1MTA5ZDFmYzVm
10
+ Y2U5ZGM2MjRkZTQzNzA3ZGY2ZDRhNjVhMGQ0ZDk3YjBlYWI1ZGFkMWVlN2My
11
+ NGNmYWJlNmY4YmI4NzQ5YjQxNDAxNzYyODVjODMxNzk4NWEyOWM=
12
12
  data.tar.gz: !binary |-
13
- M2I3MzdjNDRkOTE0OGMxNDc3OTcyODE4OTk3YTdkMzExNjQwMjEyNzVmYzhi
14
- ZTQyY2IxNzc1YWQzZmExYTZiNTc1MzViNWVlM2I1MmY3NTU4YjA3ZjE4MGQx
15
- ODNlMDIyM2NjZGY0NjI5N2RiZTQ0ZjAyMjVjODM0NzgxOTA4OTQ=
13
+ ODdkMzAyNmFjNjlhYzhiMWFkMTI0YzI5YjgyMzI2MjEwZTE3OWRhNmY4ZGY3
14
+ MTE4YmMzODhhMTU0ZGNhYTFkNzBlYWE2YTRjNDRjNTJlMjU1YzBhZjBhN2E2
15
+ NDg3N2I3MWVmODljMjQ1ZjNkOTkyNDY2YTljODg0ZjlmNTE0OWQ=
data/ChangeLog.md CHANGED
@@ -32,6 +32,7 @@
32
32
  * Suppress bundler git "fatal" warnings (by converting ~/.microbosh into git repo) (v0.11.8)
33
33
  * Update to newer-er-er stemcell paths from Pivotal's s3 bucket (v0.11.9, v0.11.10)
34
34
  * Enlarge persistent disk from 4G to 16G (v0.11.11)
35
+ * bosh_cli gems now on rubygems instead of pivotal s3 bucket (v0.11.12)
35
36
 
36
37
  ## v0.10
37
38
 
@@ -38,7 +38,6 @@ class Bosh::Bootstrap::Microbosh
38
38
  @manifest_yml = File.join(deployments_dir, bosh_name, "micro_bosh.yml")
39
39
  mkdir_p(File.dirname(manifest_yml))
40
40
  chdir(base_path) do
41
- setup_base_path
42
41
  setup_gems
43
42
  create_microbosh_yml(settings)
44
43
  deploy_or_update(settings.bosh.name, settings.bosh.stemcell)
@@ -46,24 +45,12 @@ class Bosh::Bootstrap::Microbosh
46
45
  end
47
46
 
48
47
  protected
49
- def setup_base_path
50
- system 'which git'
51
- if $?.to_i!=0
52
- puts "Git doesn't seem to be on your path. Maybe it's not installed?"
53
- exit 1
54
- end
55
- sh("git init")
56
- sh("git add .")
57
- sh("git commit -m 'Creating repo to suppress bundler warnings'")
58
- end
59
-
60
48
  def setup_gems
61
49
  gempath = File.expand_path("../../..", __FILE__)
62
50
  pwd = File.expand_path(".")
63
51
  File.open("Gemfile", "w") do |f|
64
52
  f << <<-RUBY
65
53
  source 'https://rubygems.org'
66
- source 'https://s3.amazonaws.com/bosh-jenkins-gems/'
67
54
 
68
55
  gem "bosh-bootstrap", path: "#{gempath}"
69
56
  gem "bosh_cli_plugin_micro"
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Bootstrap
3
- VERSION = "0.11.11"
3
+ VERSION = "0.11.12"
4
4
  end
5
5
  end
@@ -12,9 +12,6 @@ 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'")
18
15
  subject.should_receive(:sh).with("bundle install")
19
16
  subject.should_receive(:sh).with("bundle exec bosh micro deployment test-bosh")
20
17
  subject.should_receive(:sh).with("bundle exec bosh -n micro deploy #{path_or_ami}")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.11
4
+ version: 0.11.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dr Nic Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-16 00:00:00.000000000 Z
11
+ date: 2013-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cyoi