bosh-bootstrap 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3f92d38acfc5fd222748b3dbee68e2fa5054786
4
- data.tar.gz: cb14f1035616e3370eeb8b67ec419e2d7db45efa
3
+ metadata.gz: 1f129c85103167ccb50440635ccefbe5f634ddfa
4
+ data.tar.gz: 2aa8af1494084d8b3b7dbd5368ff6eb7344ee01f
5
5
  SHA512:
6
- metadata.gz: 2223e60bf12a9d64c35924eb336c397280b5fb0d124f3af8a57a668aa6e4f16cf1e68ef16b6cc40fada73d09046b7aca4317e1945fedcfe3f4243fd71480f386
7
- data.tar.gz: f138add545a0abba0a8352c83f9f95a6979a4da421738401a17a720646342524f2d5c7332e511d5c3475a70eb1aa784cf24d9fae0660e643d9be4886dc5c2a2f
6
+ metadata.gz: 0b227ca0fe620f38e53aab4c348cdffd165a8da1215f558c7f70dcb95dfb55d9e6a3d9d971cf2a9348da1481dafe3115519941719a2ccf2a07846b1014d5284f
7
+ data.tar.gz: fac9a391364bf0eddc4513f1176440eec5b6af4356b891c7ea8bc8e4e6f00973575a0e2f925c4f05d9d0c9b5ef6d8f600a6fbb8ca286b36b7b6c0f5f225d1121
data/ChangeLog.md CHANGED
@@ -12,6 +12,8 @@ v0.17
12
12
  -----
13
13
  - [aws-openstack] Added proxy support
14
14
  - Bump vm size to m3
15
+ - [aws] use light stemcell
16
+
15
17
 
16
18
  v0.16
17
19
  -----
@@ -93,14 +93,8 @@ module Bosh::Bootstrap::MicroboshProviders
93
93
  # If us-east-1 region, then return light stemcell
94
94
  def latest_stemcell
95
95
  @latest_stemcell ||= begin
96
- trusty_stemcells = if light_stemcell?
97
- recent_stemcells.select do |s|
96
+ trusty_stemcells = recent_stemcells.select do |s|
98
97
  s.name =~ /aws/ && s.name =~ /trusty/ && s.name =~ /^light/
99
- end
100
- else
101
- recent_stemcells.select do |s|
102
- s.name =~ /aws/ && s.name =~ /trusty/ && s.name =~ /^bosh/
103
- end
104
98
  end
105
99
  trusty_stemcells.sort {|s1, s2| s2.version <=> s1.version}.first
106
100
  end
@@ -1,5 +1,5 @@
1
1
  module Bosh
2
2
  module Bootstrap
3
- VERSION = "0.17.0"
3
+ VERSION = "0.17.1"
4
4
  end
5
5
  end
@@ -88,13 +88,6 @@ describe Bosh::Bootstrap::MicroboshProviders::AWS do
88
88
  <Size>557556059</Size>
89
89
  <StorageClass>STANDARD</StorageClass>
90
90
  </Contents>
91
- <Contents>
92
- <Key>bosh-stemcell/aws/bosh-stemcell-2719-aws-xen-ubuntu-trusty-go_agent.tgz</Key>
93
- <LastModified>2014-09-22T04:59:16.000Z</LastModified>
94
- <ETag>"18cb27adc889e71c97e39b1c57f85027"</ETag>
95
- <Size>467288141</Size>
96
- <StorageClass>STANDARD</StorageClass>
97
- </Contents>
98
91
  <Contents>
99
92
  <Key>bosh-stemcell/aws/light-bosh-stemcell-2719-aws-xen-ubuntu-trusty-go_agent.tgz</Key>
100
93
  <LastModified>2014-09-22T04:59:16.000Z</LastModified>
@@ -126,23 +119,6 @@ describe Bosh::Bootstrap::MicroboshProviders::AWS do
126
119
  expect(stemcell_path).to match /light-bosh-stemcell-2719-aws-xen-ubuntu-trusty-go_agent.tgz$/
127
120
  end
128
121
 
129
- it "downloads latest stemcell and returns path if running in target AWS region" do
130
- setting "provider.region", "us-west-2"
131
-
132
- subject = Bosh::Bootstrap::MicroboshProviders::AWS.new(microbosh_yml, settings, fog_compute)
133
-
134
- latest_stemcell_uri = "#{artifacts_base}/bosh-stemcell/aws/" +
135
- "bosh-stemcell-2719-aws-xen-ubuntu-trusty-go_agent.tgz"
136
- expect(subject).to receive(:sh).with("curl -O '#{latest_stemcell_uri}'")
137
- expect(subject).to receive(:find_ami_for_stemcell).
138
- with("bosh-aws-xen-ubuntu-trusty-go_agent", "2719").
139
- and_return(nil)
140
-
141
- stemcell_path = subject.stemcell_path
142
- expect(stemcell_path).to match /bosh-stemcell-2719-aws-xen-ubuntu-trusty-go_agent.tgz$/
143
- expect(stemcell_path).to_not match /light-bosh-stemcell-2719-aws-xen-ubuntu-trusty-go_agent.tgz$/
144
- end
145
-
146
122
  it "discovers pre-created AMI and uses it instead" do
147
123
  setting "provider.region", "us-west-2"
148
124
 
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.17.0
4
+ version: 0.17.1
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: 2015-04-29 00:00:00.000000000 Z
11
+ date: 2015-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bosh_cli_plugin_micro
@@ -278,7 +278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
278
278
  version: '0'
279
279
  requirements: []
280
280
  rubyforge_project:
281
- rubygems_version: 2.4.3
281
+ rubygems_version: 2.4.6
282
282
  signing_key:
283
283
  specification_version: 4
284
284
  summary: bosh-bootstrap configures and deploys a microbosh deployed on either AWS