bosh-bootstrap 0.10.0 → 0.10.1

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/.travis.yml CHANGED
@@ -16,7 +16,7 @@ env:
16
16
  - SUITE=unit
17
17
  # - SUITE=integration:aws:basic
18
18
  # - SUITE=integration:aws:edge
19
- - SUITE=integration:aws:edge_prebuilt
19
+ # - SUITE=integration:aws:edge_prebuilt
20
20
  # - SUITE=integration:aws:edge_prebuilt_ami
21
21
  global:
22
22
  - secure: "OS3pnXOAVRP0QPDl/Nn/0iBPZbrnn9irFYwEbMJ2fGPsV00u4IYDwoIN5Gzb\nX+cXyiPZB0jdQlbiCMaQEYjYig3fgnDhiLj/MnxkVYtILm+0uPSrX2Zf7jvR\nmxCT5jfTSZoPXQeNi9h8rEqvaqKv4z930xp/Z0QNoZLPWdwY5wk="
data/ChangeLog.md CHANGED
@@ -12,6 +12,8 @@
12
12
  * AWS all regions are working (using pre-created stemcell)
13
13
  * OpenStack is now working (using pre-created stemcell)
14
14
  * `deploy --create-inception` chooses to create an inception VM
15
+ * Using `bosh_cli_plugin_micro` (for `bosh micro`) [was `bosh_deployer`] (v1.10.1)
16
+ * `bosh-cloudfoundry` gem installed with prerelease gems (fix in v0.10.1)
15
17
 
16
18
  ## v0.9
17
19
 
@@ -21,15 +23,12 @@
21
23
  * AWS other regions will use a pre-created stemcell. I haven't tested this well yet.
22
24
  * OpenStack support is still broken because you need to create your own stemcells and for that you need a 12.10 inception VM and that work isn't quite done yet.
23
25
 
24
- ## v0.8 (& v0.8.1)
26
+ ## v0.8
25
27
 
26
28
  * SSH keys used to access inception VM are now generated and stored within the `~/.bosh_bootstrap/ssh` folder. This fixes many issues that many people were having (their keys had passphrases, their fog_default keypair was old). It also allows a manifest file to be shared between people as it contains the private key contents, and the private key file will be recreated if it is missing.
27
29
  * existing inception VMs' manifest.yml will be upgraded automatically and a backup file created (just in case)
28
30
  * tightening of net-ssh & net-scp gems to ensure the bosh-bootstrap gem can be installed [thx @mmb]
29
-
30
- ### v0.8.2
31
-
32
- * preinstall net-ssh/net-scp/fog on inception VM before installing `bosh_deployer` to fix in ability to install `bosh_deployer` 1.4.1 due to latest fog 1.10.0 release
31
+ * preinstall net-ssh/net-scp/fog on inception VM before installing `bosh_deployer` to fix in ability to install `bosh_deployer` 1.4.1 due to latest fog 1.10.0 release (v0.8.2)
33
32
 
34
33
  ## v0.7
35
34
 
@@ -61,7 +61,8 @@ module Bosh::Bootstrap::Stages
61
61
  source 'https://s3.amazonaws.com/bosh-jenkins-gems/'
62
62
 
63
63
  gem "bosh_cli", "~> 1.5.0.pre"
64
- gem "bosh_deployer", "~> 1.5.0.pre"
64
+ gem "bosh_cli_plugin_micro", "~> 1.5.0.pre"
65
+ gem "bosh-cloudfoundry"
65
66
  RUBY
66
67
  end
67
68
  end
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Bootstrap
3
- VERSION = "0.10.0"
3
+ VERSION = "0.10.1"
4
4
  end
5
5
  end
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.10.0
4
+ version: 0.10.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -268,7 +268,6 @@ files:
268
268
  - lib/bosh-bootstrap/stages/stage_prepare_inception_vm/create_vcap_user
269
269
  - lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages
270
270
  - lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh
271
- - lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh_by_gem_install
272
271
  - lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh_plugins
273
272
  - lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_hub
274
273
  - lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_ruby
@@ -376,7 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
376
375
  version: '0'
377
376
  segments:
378
377
  - 0
379
- hash: 1266362034070709822
378
+ hash: 1595328899217547208
380
379
  requirements: []
381
380
  rubyforge_project:
382
381
  rubygems_version: 1.8.25
@@ -1,54 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # Install BOSH CLI
4
- #
5
- # Options:
6
- # * $UPGRADE - re-install or upgrade gems if already installed
7
- # * $INSTALL_BOSH_FROM_SOURCE - install from bosh git repo
8
- # * $BOSH_RUBYGEM_SOURCE - URL for where bosh rubygems can be downloaded
9
-
10
- set -e # exit immediately if a simple command exits with a non-zero status
11
-
12
- if [[ $EUID -ne 0 ]]; then
13
- echo "ERROR: This script must be run as root" 1>&2
14
- exit 1
15
- fi
16
-
17
- # Install a gem if $UPGRADE exists or if gem not already installed
18
- function install_gem() {
19
- gem_name=$1
20
- options=$2
21
- if [[ ("${UPGRADE}X" != "X") || "$(gem list $gem_name | grep $gem_name)X" == "X" ]]; then
22
- gem install $gem_name $options --no-ri --no-rdoc
23
- else
24
- echo gem $gem_name already installed
25
- fi
26
- }
27
-
28
- install_gem net-ssh '-v 2.2.2'
29
- install_gem net-scp '-v 1.0.4'
30
- install_gem fog '-v 1.9.0'
31
-
32
- if [[ "${INSTALL_BOSH_FROM_SOURCE}X" != "X" ]]; then
33
- mkdir -p /var/vcap/store/repos
34
- cd /var/vcap/store/repos
35
- if [[ -d bosh ]]; then
36
- cd bosh
37
- git pull origin master
38
- else
39
- git clone https://github.com/cloudfoundry/bosh.git
40
- fi
41
-
42
- cd /var/vcap/store/repos/bosh
43
- bundle --deployment
44
- bundle --binstubs=/usr/local/sbin
45
-
46
- else
47
- install_gem bosh_deployer
48
- fi
49
-
50
- if [[ ! -d /var/tmp/bosh ]]; then
51
- echo "Symlinking the expected stemcell creation folder into mounted volume..."
52
- mkdir -p /var/vcap/store/tmp/bosh
53
- ln -s /var/vcap/store/tmp/bosh /var/tmp/bosh
54
- fi