bosh-stemcell 1.2652.0 → 1.2657.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bosh/stemcell/agent.rb +0 -13
- data/lib/bosh/stemcell/builder_options.rb +1 -5
- data/lib/bosh/stemcell/stage_collection.rb +6 -15
- data/lib/bosh/stemcell/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bce7be33d9829adac4c178dfed555f9579d89a58
|
4
|
+
data.tar.gz: 62db9dc88705130b21d3b018333a3d911d9a11ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05b3209626e5c4b27e2f21e02152ec95e0df14fb3a56b12f1f3a377a211f26e047518c93029091873c65c862fb92378316c519b994deb5f8cd34be1a940d6a8d
|
7
|
+
data.tar.gz: 43837a461dbcf244560b69074b6f21aa839f301212183336c741d5ae59aee8d09d957040288fe8d620a54be4912c1cd5fbda66c5e6043a374620a852b87e5f35
|
data/lib/bosh/stemcell/agent.rb
CHANGED
@@ -4,14 +4,11 @@ module Bosh::Stemcell
|
|
4
4
|
case name
|
5
5
|
when 'go'
|
6
6
|
Go.new
|
7
|
-
when 'ruby'
|
8
|
-
Ruby.new
|
9
7
|
when 'null'
|
10
8
|
NullAgent.new
|
11
9
|
else
|
12
10
|
raise ArgumentError.new("invalid agent: #{name}")
|
13
11
|
end
|
14
|
-
|
15
12
|
end
|
16
13
|
|
17
14
|
class NullAgent
|
@@ -33,16 +30,6 @@ module Bosh::Stemcell
|
|
33
30
|
name == other.name
|
34
31
|
end
|
35
32
|
end
|
36
|
-
|
37
|
-
class Ruby
|
38
|
-
def name
|
39
|
-
'ruby'
|
40
|
-
end
|
41
|
-
|
42
|
-
def ==(other)
|
43
|
-
name == other.name
|
44
|
-
end
|
45
|
-
end
|
46
33
|
end
|
47
34
|
end
|
48
35
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
require 'rbconfig'
|
2
|
-
require 'bosh_agent/version'
|
3
|
-
require 'bosh/stemcell/archive_filename'
|
4
|
-
|
5
2
|
require 'forwardable'
|
3
|
+
require 'bosh/stemcell/archive_filename'
|
6
4
|
|
7
5
|
module Bosh::Stemcell
|
8
6
|
class BuilderOptions
|
@@ -28,10 +26,8 @@ module Bosh::Stemcell
|
|
28
26
|
'stemcell_infrastructure' => infrastructure.name,
|
29
27
|
'stemcell_operating_system' => operating_system.name,
|
30
28
|
'stemcell_operating_system_version' => operating_system.version,
|
31
|
-
'bosh_protocol_version' => Bosh::Agent::BOSH_PROTOCOL,
|
32
29
|
'ruby_bin' => ruby_bin,
|
33
30
|
'bosh_release_src_dir' => File.join(source_root, 'release/src/bosh'),
|
34
|
-
'bosh_agent_src_dir' => File.join(source_root, 'bosh_agent'),
|
35
31
|
'go_agent_src_dir' => File.join(source_root, 'go_agent'),
|
36
32
|
'image_create_disk_size' => image_create_disk_size,
|
37
33
|
'os_image_tgz' => os_image_tgz_path,
|
@@ -25,21 +25,12 @@ module Bosh::Stemcell
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def agent_stages
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
:aws_cli,
|
35
|
-
]
|
36
|
-
when Agent::Ruby
|
37
|
-
[
|
38
|
-
:bosh_ruby,
|
39
|
-
:bosh_agent,
|
40
|
-
:bosh_micro,
|
41
|
-
]
|
42
|
-
end
|
28
|
+
[
|
29
|
+
:bosh_ruby,
|
30
|
+
:bosh_go_agent,
|
31
|
+
:bosh_micro_go,
|
32
|
+
:aws_cli,
|
33
|
+
]
|
43
34
|
end
|
44
35
|
|
45
36
|
def infrastructure_stages
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-stemcell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2657.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_aws_cpi
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.2657.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.2657.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: fakefs
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|