torpedo 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +5 -0
- data/README.md +1 -5
- data/Rakefile +0 -1
- data/VERSION +1 -1
- data/lib/torpedo.rb +0 -4
- data/lib/torpedo/compute/helper.rb +8 -3
- data/torpedo.gemspec +2 -5
- metadata +4 -20
data/CHANGELOG
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
* Wed Nov 2 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.7
|
2
|
+
-Add support for NOVA_REGION_NAME and NOVA_PROJECT_ID.
|
3
|
+
-Remove dependency on test-unit-ext.
|
4
|
+
-Add support for OS_AUTH_? style variables.
|
5
|
+
|
1
6
|
* Tue Nov 1 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.6
|
2
7
|
-Minor metadata test updates.
|
3
8
|
-Don't require test-unit (breaks Ruby 1.8.7)
|
data/README.md
CHANGED
@@ -46,7 +46,7 @@ Installation
|
|
46
46
|
#keyname: test
|
47
47
|
EOF_CAT
|
48
48
|
|
49
|
-
source novarc
|
49
|
+
source $PATH_TO_YOUR/novarc
|
50
50
|
```
|
51
51
|
|
52
52
|
Examples
|
@@ -71,10 +71,6 @@ Run all tests with debug HTTP request response output:
|
|
71
71
|
|
72
72
|
DEBUG=true torpedo fire
|
73
73
|
|
74
|
-
Run all tests and output an XML report (Ruby 1.8.x only):
|
75
|
-
|
76
|
-
torpedo fire --xml-report=FILE
|
77
|
-
|
78
74
|
Payload
|
79
75
|
--------
|
80
76
|
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.7
|
data/lib/torpedo.rb
CHANGED
@@ -25,10 +25,6 @@ FLAVOR_NAME_RESIZE=configs['flavor_name_resize']
|
|
25
25
|
|
26
26
|
OPENSTACK_COMPUTE_VERSION=configs['openstack_compute_version'] || '1.1.4'
|
27
27
|
|
28
|
-
USERNAME=ENV['NOVA_USERNAME']
|
29
|
-
API_KEY=ENV['NOVA_API_KEY']
|
30
|
-
API_URL=ENV['NOVA_URL']
|
31
|
-
|
32
28
|
module Torpedo
|
33
29
|
class Tasks < Thor
|
34
30
|
|
@@ -1,7 +1,5 @@
|
|
1
1
|
if RUBY_VERSION =~ /^1.9.*/ then
|
2
2
|
gem 'test-unit'
|
3
|
-
else
|
4
|
-
require 'test-unit-ext'
|
5
3
|
end
|
6
4
|
require 'test/unit'
|
7
5
|
gem 'openstack-compute', OPENSTACK_COMPUTE_VERSION
|
@@ -16,7 +14,14 @@ module Helper
|
|
16
14
|
if ENV['DEBUG'] and ENV['DEBUG'] == 'true' then
|
17
15
|
debug = true
|
18
16
|
end
|
19
|
-
|
17
|
+
|
18
|
+
auth_url = ENV['NOVA_URL'] || ENV['OS_AUTH_URL']
|
19
|
+
api_key = ENV['NOVA_API_KEY'] || ENV['OS_AUTH_KEY']
|
20
|
+
username = ENV['NOVA_USERNAME'] || ENV['OS_AUTH_USER']
|
21
|
+
authtenant = ENV['NOVA_PROJECT_ID'] || ENV['OS_AUTH_TENANT']
|
22
|
+
region = ENV['NOVA_REGION_NAME'] || ENV['OS_AUTH_REGION']
|
23
|
+
|
24
|
+
OpenStack::Compute::Connection.new(:username => username, :api_key => api_key, :auth_url => auth_url, :region => region, :authtenant => authtenant, :is_debug => debug)
|
20
25
|
end
|
21
26
|
|
22
27
|
def self.get_image_ref(conn)
|
data/torpedo.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{torpedo}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.7"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan Prince"]
|
12
|
-
s.date = %q{2011-11-
|
12
|
+
s.date = %q{2011-11-02}
|
13
13
|
s.default_executable = %q{torpedo}
|
14
14
|
s.description = %q{CLI to run functional smoke tests for OpenStack.}
|
15
15
|
s.email = %q{dan.prince@rackspace.com}
|
@@ -54,20 +54,17 @@ Gem::Specification.new do |s|
|
|
54
54
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
55
55
|
s.add_runtime_dependency(%q<thor>, [">= 0"])
|
56
56
|
s.add_runtime_dependency(%q<openstack-compute>, [">= 1.1.4"])
|
57
|
-
s.add_runtime_dependency(%q<test-unit-ext>, [">= 0.5.0"])
|
58
57
|
else
|
59
58
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
60
59
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
61
60
|
s.add_dependency(%q<thor>, [">= 0"])
|
62
61
|
s.add_dependency(%q<openstack-compute>, [">= 1.1.4"])
|
63
|
-
s.add_dependency(%q<test-unit-ext>, [">= 0.5.0"])
|
64
62
|
end
|
65
63
|
else
|
66
64
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
67
65
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
68
66
|
s.add_dependency(%q<thor>, [">= 0"])
|
69
67
|
s.add_dependency(%q<openstack-compute>, [">= 1.1.4"])
|
70
|
-
s.add_dependency(%q<test-unit-ext>, [">= 0.5.0"])
|
71
68
|
end
|
72
69
|
end
|
73
70
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torpedo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 7
|
10
|
+
version: 1.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Dan Prince
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-02 00:00:00 -04:00
|
19
19
|
default_executable: torpedo
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -80,22 +80,6 @@ dependencies:
|
|
80
80
|
version: 1.1.4
|
81
81
|
requirement: *id004
|
82
82
|
type: :runtime
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
prerelease: false
|
85
|
-
name: test-unit-ext
|
86
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
|
-
requirements:
|
89
|
-
- - ">="
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
hash: 11
|
92
|
-
segments:
|
93
|
-
- 0
|
94
|
-
- 5
|
95
|
-
- 0
|
96
|
-
version: 0.5.0
|
97
|
-
requirement: *id005
|
98
|
-
type: :runtime
|
99
83
|
description: CLI to run functional smoke tests for OpenStack.
|
100
84
|
email: dan.prince@rackspace.com
|
101
85
|
executables:
|