torpedo 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/README.md +4 -0
- data/VERSION +1 -1
- data/lib/torpedo/compute/servers.rb +2 -2
- data/lib/torpedo.rb +2 -0
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
* Wed Nov 16 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.9
|
2
|
+
-Add options to disable ssh and ping tests.
|
3
|
+
|
1
4
|
* Fri Nov 11 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.8
|
2
5
|
-Use the latest version of the openstack-compute unless a specific
|
3
6
|
version is specified in the config file.
|
data/README.md
CHANGED
@@ -37,6 +37,10 @@ Installation
|
|
37
37
|
#flavor_name:
|
38
38
|
flavor_ref: 4
|
39
39
|
|
40
|
+
# SSH/PING test options
|
41
|
+
#test_ssh: true
|
42
|
+
#test_ping: true
|
43
|
+
|
40
44
|
# SSH KEYS (used to verify installations which support personalities)
|
41
45
|
#ssh_private_key: <your home dir>/.ssh/id_rsa
|
42
46
|
#ssh_public_key: <your home dir>/.ssh/id_rsa.pub
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.9
|
@@ -95,8 +95,8 @@ class Servers < Test::Unit::TestCase
|
|
95
95
|
|
96
96
|
# lookup the first IPv4 address and use that for verification
|
97
97
|
v4_addresses = server.addresses[:public].reject {|addr| addr.version != 4}
|
98
|
-
ping_test(v4_addresses[0].address)
|
99
|
-
ssh_test(v4_addresses[0].address)
|
98
|
+
ping_test(v4_addresses[0].address) if TEST_PING
|
99
|
+
ssh_test(v4_addresses[0].address) if TEST_SSH
|
100
100
|
|
101
101
|
server
|
102
102
|
|
data/lib/torpedo.rb
CHANGED
@@ -4,7 +4,9 @@ require 'torpedo/config'
|
|
4
4
|
configs = Torpedo::Config.load_configs
|
5
5
|
|
6
6
|
SSH_TIMEOUT=(configs['ssh_timeout'] || 30).to_i
|
7
|
+
TEST_SSH=configs['test_ssh'] || true
|
7
8
|
PING_TIMEOUT=(configs['ping_timeout'] || 60).to_i
|
9
|
+
TEST_PING=configs['test_ping'] || true
|
8
10
|
SERVER_BUILD_TIMEOUT=(configs['server_build_timeout'] || 60).to_i
|
9
11
|
SSH_PRIVATE_KEY=configs['ssh_private_key'] || ENV['HOME'] + "/.ssh/id_rsa"
|
10
12
|
SSH_PUBLIC_KEY=configs['ssh_public_key'] || ENV['HOME'] + "/.ssh/id_rsa.pub"
|
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: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 9
|
10
|
+
version: 1.0.9
|
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-16 00:00:00 -05:00
|
19
19
|
default_executable: torpedo
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|