bosh_openstack_cpi 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # OpenStack BOSH Cloud Provider Interface
2
2
 
3
+ [![Build Status](https://secure.travis-ci.org/piston/openstack-bosh-cpi.png)](http://travis-ci.org/piston/openstack-bosh-cpi)
4
+
3
5
  ## Bringing the world’s most popular open source platform-as-a-service to the world’s most popular open source infrastructure-as-a-service platform
4
6
 
5
7
  This repo contains software designed to manage the deployment of Cloud Foundry on top of OpenStack, using Cloud Foundry BOSH. Say what?
data/Rakefile CHANGED
@@ -14,9 +14,6 @@ begin
14
14
  rescue LoadError
15
15
  end
16
16
 
17
- require "../bosh/rake/bundler_task"
18
- require "../bosh/rake/ci_task"
19
-
20
17
  gem_helper = Bundler::GemHelper.new(Dir.pwd)
21
18
 
22
19
  desc "Build CPI gem into the pkg directory"
@@ -30,8 +27,6 @@ task "install" do
30
27
  gem_helper.install_gem
31
28
  end
32
29
 
33
- BundlerTask.new
34
-
35
30
  if defined?(RSpec)
36
31
  namespace :spec do
37
32
  desc "Run Unit Tests"
@@ -39,12 +34,9 @@ if defined?(RSpec)
39
34
  t.pattern = "spec/unit/**/*_spec.rb"
40
35
  t.rspec_opts = %w(--format progress --colour)
41
36
  end
42
-
43
- CiTask.new do |task|
44
- task.rspec_task = rspec_task
45
- end
46
37
  end
47
38
 
48
39
  desc "Run tests"
49
40
  task :spec => %w(spec:unit)
41
+ task :default => :spec
50
42
  end
@@ -213,7 +213,7 @@ module Bosh::OpenStackCloud
213
213
  :image_ref => image.id,
214
214
  :flavor_ref => flavor.id,
215
215
  :key_name => resource_pool["key_name"] || @default_key_name,
216
- :security_groups => security_groups.map { |secgrp| {:name => secgrp} },
216
+ :security_groups => security_groups,
217
217
  :user_data => Yajl::Encoder.encode(metadata)
218
218
  }
219
219
 
@@ -540,7 +540,7 @@ module Bosh::OpenStackCloud
540
540
  client.connect_timeout = METADATA_TIMEOUT
541
541
  # Using 169.254.169.254 is an OpenStack convention for getting
542
542
  # server metadata
543
- uri = "http://169.254.169.254/1.0/user-data"
543
+ uri = "http://169.254.169.254/latest/user-data"
544
544
 
545
545
  headers = {"Accept" => "application/json"}
546
546
  response = client.get(uri, {}, headers)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bosh
4
4
  module OpenStackCloud
5
- VERSION = "0.0.3"
5
+ VERSION = "0.0.4"
6
6
  end
7
7
  end
@@ -30,7 +30,7 @@ describe Bosh::OpenStackCloud::Cloud, "create_vm" do
30
30
  :image_ref => "sc-id",
31
31
  :flavor_ref => "f-test",
32
32
  :key_name => "test_key",
33
- :security_groups => security_groups.map { |secgrp| {:name => secgrp} },
33
+ :security_groups => security_groups,
34
34
  :user_data => Yajl::Encoder.encode(user_data),
35
35
  :availability_zone => "foobar-1a"
36
36
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bosh_openstack_cpi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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: 2012-08-15 00:00:00.000000000 Z
12
+ date: 2012-11-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fog
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.5.0
21
+ version: 1.6.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.5.0
29
+ version: 1.6.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: bosh_common
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - ! '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 0.5.0
37
+ version: 0.5.1
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ! '>='
44
44
  - !ruby/object:Gem::Version
45
- version: 0.5.0
45
+ version: 0.5.1
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: bosh_cpi
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -154,21 +154,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
154
  - - ! '>='
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
- segments:
158
- - 0
159
- hash: 4125051121174364727
160
157
  required_rubygems_version: !ruby/object:Gem::Requirement
161
158
  none: false
162
159
  requirements:
163
160
  - - ! '>='
164
161
  - !ruby/object:Gem::Version
165
162
  version: '0'
166
- segments:
167
- - 0
168
- hash: 4125051121174364727
169
163
  requirements: []
170
164
  rubyforge_project:
171
- rubygems_version: 1.8.24
165
+ rubygems_version: 1.8.23
172
166
  signing_key:
173
167
  specification_version: 3
174
168
  summary: BOSH OpenStack CPI
@@ -188,3 +182,4 @@ test_files:
188
182
  - spec/unit/network_configurator_spec.rb
189
183
  - spec/unit/reboot_vm_spec.rb
190
184
  - spec/unit/validate_deployment_spec.rb
185
+ has_rdoc: