Change to Litmus

Depends-On: https://review.opendev.org/#/c/752300/
Change-Id: Iebbb82beefb1278fa43b1c6123c46931af8f9c2f
This commit is contained in:
Tobias Urdin 2020-08-31 21:38:45 +02:00
parent 9ee011d70c
commit 936e406f1d
11 changed files with 12 additions and 77 deletions

View File

@ -97,10 +97,6 @@ array with the key "paths" in your .gitignore section in .sync.yml.
Flat file that simply requires the module_spec_helper from the Flat file that simply requires the module_spec_helper from the
puppetlabs_spec_helper. puppetlabs_spec_helper.
**`moduleroot/spec/acceptance/nodesets/*`**
Flat files containing default nodesets to run beaker-rspec on.
## Special Options ## Special Options
### Unmanaged Files ### Unmanaged Files

1
Rakefile Normal file
View File

@ -0,0 +1 @@
require 'puppet-openstack_spec_helper/rake_tasks'

View File

@ -1,11 +0,0 @@
HOSTS:
centos-server-70-x64:
roles:
- master
platform: el-7-x86_64
box: puppetlabs/centos-7.0-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/centos-7.0-64-nocm
hypervisor: vagrant
CONFIG:
log_level: debug
type: foss

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-server-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
box: puppetlabs/ubuntu-14.04-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
hypervisor: vagrant
CONFIG:
type: foss

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-18.04-amd64:
roles:
- master
platform: ubuntu-18.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,10 +0,0 @@
HOSTS:
centos-70-x64:
roles:
- master
platform: el-7-x86_64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,10 +0,0 @@
HOSTS:
ubuntu-16.04-amd64:
roles:
- master
platform: ubuntu-16.04-amd64
hypervisor: none
ip: 127.0.0.1
CONFIG:
type: foss
set_env: false

View File

@ -1,11 +0,0 @@
HOSTS:
ubuntu-server-14.04-amd64:
roles:
- master
platform: ubuntu-14.04-amd64
box: puppetlabs/ubuntu-14.04-64-nocm
box_url: https://vagrantcloud.com/puppetlabs/ubuntu-14.04-64-nocm
hypervisor: vagrant
CONFIG:
log_level: debug
type: foss

View File

@ -1 +1 @@
require 'puppet-openstack_spec_helper/beaker_spec_helper' require 'puppet-openstack_spec_helper/litmus_spec_helper'

10
run_litmus_tests.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash -ex
export SCRIPT_DIR=$(cd `dirname $0` && pwd -P)
source $SCRIPT_DIR/functions
install_module
# run litmus tests
export RSPEC_DEBUG=true
$GEM_HOME/bin/bundle exec rake litmus:acceptance:localhost