abiquo-installer-tests 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +36 -9
- data/Rakefile +1 -1
- data/bin/abiquo-installer-tests +2 -0
- metadata +5 -5
data/README.md
CHANGED
@@ -1,16 +1,43 @@
|
|
1
|
-
|
2
|
-
--------------
|
1
|
+
# Abiquo Installer Tests #
|
3
2
|
|
4
|
-
|
3
|
+
Comprehensive test suite to QA and troubleshoot an Abiquo Installation.
|
5
4
|
|
6
|
-
|
7
|
-
iniparse
|
8
|
-
mixlib-cli
|
5
|
+
The test runner tool automatically detects the Abiquo installation (distributed,mono,cloud node, etc) and runs the required tests.
|
9
6
|
|
7
|
+
Only Abiquo 1.7.6 and 1.8.0 installations are supported ATM.
|
10
8
|
|
11
|
-
|
12
|
-
-----------------
|
9
|
+
This tool has only been tested in Linux. Other platforms may work though.
|
13
10
|
|
14
|
-
|
11
|
+
# PRE-REQUISITES #
|
12
|
+
|
13
|
+
* rubygems
|
14
|
+
|
15
|
+
# INSTALLATION #
|
16
|
+
|
17
|
+
sudo gem install abiquo-installer-tests
|
18
|
+
|
19
|
+
# RUNNING THE TESTS #
|
20
|
+
|
21
|
+
abiquo-installer-tests --host abiquo-host-ip --user root --password secret
|
15
22
|
|
16
23
|
The tests connects to the target host using SSH, uploads the tests and run them in the target host.
|
24
|
+
|
25
|
+
Sample output:
|
26
|
+
|
27
|
+
Abiquo Installer Test Suite
|
28
|
+
---------------------------
|
29
|
+
|
30
|
+
Testing ABIQUO NFS REPOSITORY
|
31
|
+
Testing ABIQUO REMOTE SERVICES
|
32
|
+
Testing ABIQUO SERVER
|
33
|
+
Testing ABIQUO V2V
|
34
|
+
|
35
|
+
|
36
|
+
Loaded suite abiquo_postinst_test
|
37
|
+
Started
|
38
|
+
........................................
|
39
|
+
Finished in 0.396289 seconds.
|
40
|
+
|
41
|
+
40 tests, 70 assertions, 0 failures, 0 errors
|
42
|
+
|
43
|
+
>>>>>> TEST OK <<<<<<
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ require 'rake'
|
|
5
5
|
require 'jeweler'
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
8
|
-
gem.version = '0.2.
|
8
|
+
gem.version = '0.2.4'
|
9
9
|
gem.name = "abiquo-installer-tests"
|
10
10
|
gem.homepage = "http://github.com/abiquo/abiquo-installer-tests"
|
11
11
|
gem.license = "MIT"
|
data/bin/abiquo-installer-tests
CHANGED
@@ -60,6 +60,8 @@ TESTS_DIR = File.dirname(__FILE__) + '/../tests/'
|
|
60
60
|
begin
|
61
61
|
Net::SSH.start(cli.config[:host], 'root', :paranoid => false, :password => cli.config[:password]) do |ssh|
|
62
62
|
ssh.exec!("rm -rf /tmp/tests")
|
63
|
+
ssh.exec!("yum install -y rubygems --exclude ruby-ee")
|
64
|
+
ssh.exec!("gem install --no-ri --no-rdoc term-ansicolor iniparse")
|
63
65
|
end
|
64
66
|
rescue Exception => e
|
65
67
|
$stderr.puts "Error cleaning previous tests in host #{cli.config[:host]}: #{e.message}"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abiquo-installer-tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sergio Rubio
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-09-15 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: term-ansicolor
|
@@ -171,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
171
|
requirements: []
|
172
172
|
|
173
173
|
rubyforge_project:
|
174
|
-
rubygems_version: 1.
|
174
|
+
rubygems_version: 1.7.2
|
175
175
|
signing_key:
|
176
176
|
specification_version: 3
|
177
177
|
summary: Abiquo Installer Unit Tests
|