[meta] refactor kitchen tests (#765)
* [meta] refactor kitchen tests This commit update kitchen tests to match important feature to test: - default: test a deployment with all default values - license: test a deployment with a license and default values - trial: test a deployment with security enabled and trial license - oss: test a deployment with oss version and default values (6.x only) - upgrade: test an upgrade from a previous version - oss-upgrade: test an upgrade with oss version (6.x only) - oss-to-default-upgrade: test an upgrade from previous oss to latest default version - custom_config: test a deployment with custom config files - security: test a deployment with security enabled * [meta] fix license test
This commit is contained in:
parent
78e805e6cb
commit
d3e394b071
43 changed files with 272 additions and 406 deletions
2
test/integration/default/default.yml
Normal file
2
test/integration/default/default.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
- host: test-kitchen
|
||||
7
test/integration/default/serverspec/default_spec.rb
Normal file
7
test/integration/default/serverspec/default_spec.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
require 'shared_spec'
|
||||
require 'json'
|
||||
vars = JSON.parse(File.read('/tmp/vars.json'))
|
||||
|
||||
describe 'default tests' do
|
||||
include_examples 'shared::init', vars
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue