bosh-stemcell 1.2539.0 → 1.2546.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bosh/stemcell/aws/ami.rb +9 -6
- data/lib/bosh/stemcell/version.rb +1 -1
- metadata +5 -5
@@ -18,7 +18,7 @@ module Bosh::Stemcell::Aws
|
|
18
18
|
cloud_config = OpenStruct.new(logger: Logger.new('ami.log'), task_checkpoint: nil)
|
19
19
|
Bosh::Clouds::Config.configure(cloud_config)
|
20
20
|
|
21
|
-
cloud = Bosh::Clouds::Provider.create('
|
21
|
+
cloud = Bosh::Clouds::Provider.create(options, 'fake-director-uuid')
|
22
22
|
|
23
23
|
stemcell.extract do |tmp_dir, stemcell_manifest|
|
24
24
|
ami_id = cloud.create_stemcell("#{tmp_dir}/image", stemcell_manifest['cloud_properties'])
|
@@ -34,11 +34,14 @@ module Bosh::Stemcell::Aws
|
|
34
34
|
def options
|
35
35
|
# just fake the registry struct, as we don't use it
|
36
36
|
{
|
37
|
-
'
|
38
|
-
'
|
39
|
-
'
|
40
|
-
'
|
41
|
-
|
37
|
+
'plugin' => 'aws',
|
38
|
+
'properties' => {
|
39
|
+
'aws' => aws,
|
40
|
+
'registry' => {
|
41
|
+
'endpoint' => 'http://fake.registry',
|
42
|
+
'user' => 'fake',
|
43
|
+
'password' => 'fake'
|
44
|
+
}
|
42
45
|
}
|
43
46
|
}
|
44
47
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-stemcell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2546.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-05-
|
12
|
+
date: 2014-05-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bosh_aws_cpi
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.2546.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.2546.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: fakefs
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
segments:
|
190
190
|
- 0
|
191
|
-
hash: -
|
191
|
+
hash: -4315790037646417710
|
192
192
|
requirements: []
|
193
193
|
rubyforge_project:
|
194
194
|
rubygems_version: 1.8.23
|