bosh-bootstrap 0.17.0 → 0.17.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f129c85103167ccb50440635ccefbe5f634ddfa
|
|
4
|
+
data.tar.gz: 2aa8af1494084d8b3b7dbd5368ff6eb7344ee01f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b227ca0fe620f38e53aab4c348cdffd165a8da1215f558c7f70dcb95dfb55d9e6a3d9d971cf2a9348da1481dafe3115519941719a2ccf2a07846b1014d5284f
|
|
7
|
+
data.tar.gz: fac9a391364bf0eddc4513f1176440eec5b6af4356b891c7ea8bc8e4e6f00973575a0e2f925c4f05d9d0c9b5ef6d8f600a6fbb8ca286b36b7b6c0f5f225d1121
|
data/ChangeLog.md
CHANGED
|
@@ -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 =
|
|
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
|
|
@@ -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.
|
|
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-
|
|
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.
|
|
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
|