Remove beaker
Change-Id: I6b6a2c66522fbc9455d3953cca9d1ec22c4d5ae6
This commit is contained in:
parent
03784ddd87
commit
9243448ba1
37
README.md
37
README.md
@ -17,10 +17,9 @@ ceph
|
||||
5. [Limitations - OS compatibility, etc.](#limitations)
|
||||
6. [Use Cases - Examples of how to use this module](#limitations)
|
||||
7. [Development - Guide for contributing to the module](#development)
|
||||
8. [Beaker Integration Tests - Apply the module and test results](#beaker-integration-tests)
|
||||
9. [Contributors - Those with commits](#contributors)
|
||||
10. [Release Notes - Notes on the most recent updates to the module](#release-notes)
|
||||
11. [Repository - Repository for the module](#repository)
|
||||
8. [Contributors - Those with commits](#contributors)
|
||||
9. [Release Notes - Notes on the most recent updates to the module](#release-notes)
|
||||
10. [Repository - Repository for the module](#repository)
|
||||
|
||||
Overview
|
||||
--------
|
||||
@ -81,36 +80,6 @@ IRC channels:
|
||||
* irc.freenode.net#puppet-openstack
|
||||
* irc.oftc.net#ceph-devel
|
||||
|
||||
Beaker Integration Tests
|
||||
------------------------
|
||||
|
||||
Relies on
|
||||
[rspec-beaker](https://github.com/puppetlabs/beaker-rspec)
|
||||
and tests are in spec/acceptance.
|
||||
It also requires [Vagrant and Virtualbox](http://docs-v1.vagrantup.com/v1/docs/getting-started/)
|
||||
.
|
||||
|
||||
```
|
||||
bundle install
|
||||
bundle exec rspec spec/acceptance
|
||||
```
|
||||
|
||||
The BEAKER_set environment variable contains the resource set of linux
|
||||
distribution configurations for which integration tests are going
|
||||
to be run. Available values are
|
||||
|
||||
* two-centos-70-x64
|
||||
* centos-70-x64
|
||||
* two-ubuntu-server-1404-x64
|
||||
* ubuntu-server-1404-x64
|
||||
|
||||
The default is
|
||||
|
||||
```
|
||||
BEAKER_set=two-ubuntu-server-1404-x64 \
|
||||
bundle exec rspec spec/acceptance
|
||||
```
|
||||
|
||||
Development
|
||||
-----------
|
||||
|
||||
|
@ -54,17 +54,20 @@ describe 'ceph mon osd' do
|
||||
apply_manifest(pp, :catch_changes => true)
|
||||
|
||||
if os[:family].casecmp('RedHat') == 0
|
||||
shell 'sleep 10' # we need to wait a bit until the OSD is up
|
||||
|
||||
shell 'ceph -s', { :acceptable_exit_codes => [0] } do |r|
|
||||
expect(r.stdout).to match(/mon: 1 daemons/)
|
||||
expect(r.stderr).to be_empty
|
||||
describe command('sleep 10') do
|
||||
its(:exit_status) { should eq 0 }
|
||||
end
|
||||
|
||||
shell 'ceph osd tree | grep osd.0', { :acceptable_exit_codes => [0] } do |r|
|
||||
expect(r.stdout).to match(/up/)
|
||||
expect(r.stderr).to be_empty
|
||||
describe command('ceph -s') do
|
||||
its(:exit_status) { should eq 0 }
|
||||
its(:stdout) { should match /mon: 1 daemons/) }
|
||||
its(:stderr) { should be_empty }
|
||||
end
|
||||
|
||||
describe command('ceph osd tree | grep osd.0') do
|
||||
its(:exit_status) { should eq 0 }
|
||||
its(:stdout) { should match /up/ }
|
||||
its(:stderr) { should be_empty }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -1,15 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
- osd
|
||||
- client
|
||||
platform: el-7-x86_64
|
||||
box: puppetlabs/centos-7.0-64-nocm
|
||||
box_url: https://atlas.hashicorp.com/puppetlabs/boxes/centos-7.0-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.2
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,22 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
platform: ubuntu-1404-amd64
|
||||
box: puppetlabs/ubuntu-14.04-64-nocm
|
||||
box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.2
|
||||
second:
|
||||
roles:
|
||||
- osd
|
||||
- client
|
||||
platform: ubuntu-1404-amd64
|
||||
box: puppetlabs/ubuntu-14.04-64-nocm
|
||||
box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.3
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,13 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
- osd
|
||||
- client
|
||||
platform: el-7-x86_64
|
||||
hypervisor: none
|
||||
ip: 127.0.0.1
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,10 +0,0 @@
|
||||
HOSTS:
|
||||
centos-80-x64:
|
||||
roles:
|
||||
- master
|
||||
platform: el-8-x86_64
|
||||
hypervisor: none
|
||||
ip: 127.0.0.1
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,13 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
- osd
|
||||
- client
|
||||
platform: ubuntu-14.04-amd64
|
||||
hypervisor: none
|
||||
ip: 127.0.0.1
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,13 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
- osd
|
||||
- client
|
||||
platform: ubuntu-16.04-amd64
|
||||
hypervisor: none
|
||||
ip: 127.0.0.1
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,22 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
platform: el-7-x86_64
|
||||
box: puppetlabs/centos-7.0-64-nocm
|
||||
box_url: https://atlas.hashicorp.com/puppetlabs/boxes/centos-7.0-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.2
|
||||
second:
|
||||
roles:
|
||||
- osd
|
||||
- client
|
||||
platform: el-7-x86_64
|
||||
box: puppetlabs/centos-7.0-64-nocm
|
||||
box_url: https://atlas.hashicorp.com/puppetlabs/boxes/centos-7.0-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.3
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,22 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
platform: ubuntu-1404-amd64
|
||||
box: puppetlabs/ubuntu-14.04-64-nocm
|
||||
box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.2
|
||||
second:
|
||||
roles:
|
||||
- osd
|
||||
- client
|
||||
platform: ubuntu-1404-amd64
|
||||
box: puppetlabs/ubuntu-14.04-64-nocm
|
||||
box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.3
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1,15 +0,0 @@
|
||||
HOSTS:
|
||||
first:
|
||||
roles:
|
||||
- master
|
||||
- mon
|
||||
- osd
|
||||
- client
|
||||
platform: ubuntu-1404-amd64
|
||||
box: puppetlabs/ubuntu-14.04-64-nocm
|
||||
box_url: https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-nocm
|
||||
hypervisor: vagrant
|
||||
ip: 10.11.12.2
|
||||
CONFIG:
|
||||
type: foss
|
||||
set_env: false
|
@ -1 +1 @@
|
||||
require 'puppet-openstack_spec_helper/beaker_spec_helper'
|
||||
require 'puppet-openstack_spec_helper/litmus_spec_helper'
|
||||
|
Loading…
Reference in New Issue
Block a user