Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Merge 2c3941b into 1b87d75
Browse files Browse the repository at this point in the history
  • Loading branch information
chambridge committed Jun 29, 2017
2 parents 1b87d75 + 2c3941b commit 56d89e2
Show file tree
Hide file tree
Showing 32 changed files with 222 additions and 469 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -16,6 +16,8 @@ dist
build
.build
test/coverage
data
roles

.vagrant
*.retry
8 changes: 8 additions & 0 deletions README.rst
Expand Up @@ -209,6 +209,14 @@ To run the unit tests with the interpreter available as ``python``, use::
Continuous testing runs on travis:
`https://travis-ci.org/quipucords/rho <https://travis-ci.org/quipucords/rho>`_


Functional Testing
"""""""""""""""""""

To run end-to-end functional tests against local virtual machines follow the
information in `functional test document <doc/functional_test.rst>`_.


-------------
Known Issues
-------------
Expand Down
64 changes: 42 additions & 22 deletions Vagrantfile
Expand Up @@ -3,27 +3,9 @@ VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos/7"

# Create the rho-dev box
config.vm.define "rho-dev" do |dev|
dev.vm.synced_folder ".", "/vagrant/rho", type: "nfs", nfs_version: 4, nfs_udp: false
dev.vm.host_name = "rho-dev.example.com"

dev.ssh.forward_x11 = true

dev.vm.provider :libvirt do |domain|
domain.cpus = 1
domain.graphics_type = "spice"
domain.memory = 2048
domain.video_type = "qxl"
end

dev.vm.provision "ansible" do |ansible|
ansible.playbook = "vagrant/rho-dev.yml"
end
end

# Define a different box to be scanned during tests
# Define a test box to be scanned during tests
config.vm.define "test_1" do |test_1|
test_1.vm.network "private_network", ip: "192.168.50.10"
test_1.vm.host_name = "test1.example.com"

test_1.ssh.forward_x11 = true
Expand All @@ -36,7 +18,45 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
end

test_1.vm.provision "ansible" do |ansible|
ansible.playbook = "vagrant/test_1.yml"
ansible.playbook = "vagrant/test_rhel.yml"
end
end
end

# Define a test box to be scanned during tests
config.vm.define "test_2" do |test_2|
test_2.vm.network "private_network", ip: "192.168.50.11"
test_2.vm.host_name = "test2.example.com"

test_2.ssh.forward_x11 = true

test_2.vm.provider :libvirt do |domain|
domain.cpus = 1
domain.graphics_type = "spice"
domain.memory = 2048
domain.video_type = "qxl"
end

test_2.vm.provision "ansible" do |ansible|
ansible.playbook = "vagrant/test_rhel.yml"
end
end

# Define a test box to be scanned during tests
config.vm.define "test_3" do |test_3|
test_3.vm.network "private_network", ip: "192.168.50.12"
test_3.vm.host_name = "test3.example.com"

test_3.ssh.forward_x11 = true

test_3.vm.provider :libvirt do |domain|
domain.cpus = 1
domain.graphics_type = "spice"
domain.memory = 2048
domain.video_type = "qxl"
end

test_3.vm.provision "ansible" do |ansible|
ansible.playbook = "vagrant/test_rhel.yml"
end
end
end
26 changes: 0 additions & 26 deletions data/big_test_hosts

This file was deleted.

11 changes: 0 additions & 11 deletions data/credentials

This file was deleted.

7 changes: 0 additions & 7 deletions data/facts_eg

This file was deleted.

5 changes: 0 additions & 5 deletions data/hosts_eg

This file was deleted.

141 changes: 0 additions & 141 deletions data/key_test_1_host_auth_mapping

This file was deleted.

6 changes: 0 additions & 6 deletions data/key_test_1_hosts

This file was deleted.

8 changes: 0 additions & 8 deletions data/ping-inventory

This file was deleted.

9 changes: 0 additions & 9 deletions data/ping_log

This file was deleted.

2 changes: 0 additions & 2 deletions data/profiles

This file was deleted.

0 comments on commit 56d89e2

Please sign in to comment.