Added congress service
Change-Id: I6c7ef5decbc96e1d7c6d8997aca8819ab04a01dc
This commit is contained in:
parent
1869e0297a
commit
4262ca14d0
@ -148,6 +148,8 @@
|
|||||||
# Defaults to false
|
# Defaults to false
|
||||||
# [*ironic_available*]
|
# [*ironic_available*]
|
||||||
# Defaults to false
|
# Defaults to false
|
||||||
|
# [*congress_available*]
|
||||||
|
# Defaults to false
|
||||||
# [*keystone_v2*]
|
# [*keystone_v2*]
|
||||||
# Defaults to true
|
# Defaults to true
|
||||||
# [*keystone_v3*]
|
# [*keystone_v3*]
|
||||||
@ -295,6 +297,7 @@ class tempest(
|
|||||||
$ec2api_available = false,
|
$ec2api_available = false,
|
||||||
$mistral_available = false,
|
$mistral_available = false,
|
||||||
$vitrage_available = false,
|
$vitrage_available = false,
|
||||||
|
$congress_available = false,
|
||||||
$keystone_v2 = true,
|
$keystone_v2 = true,
|
||||||
$keystone_v3 = true,
|
$keystone_v3 = true,
|
||||||
$auth_version = 'v2',
|
$auth_version = 'v2',
|
||||||
@ -477,6 +480,7 @@ class tempest(
|
|||||||
'service_available/watcher': value => $watcher_available;
|
'service_available/watcher': value => $watcher_available;
|
||||||
'service_available/zaqar': value => $zaqar_available;
|
'service_available/zaqar': value => $zaqar_available;
|
||||||
'service_available/ec2api': value => $ec2api_available;
|
'service_available/ec2api': value => $ec2api_available;
|
||||||
|
'service_available/congress': value => $congress_available;
|
||||||
'whitebox/db_uri': value => $whitebox_db_uri;
|
'whitebox/db_uri': value => $whitebox_db_uri;
|
||||||
'cli/cli_dir': value => $cli_dir;
|
'cli/cli_dir': value => $cli_dir;
|
||||||
'scenario/img_dir': value => $img_dir;
|
'scenario/img_dir': value => $img_dir;
|
||||||
@ -630,6 +634,13 @@ class tempest(
|
|||||||
tag => ['openstack', 'tempest-package'],
|
tag => ['openstack', 'tempest-package'],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if $congress_available and $::tempest::params::congress_congress_tests {
|
||||||
|
package { 'python-congress-tests':
|
||||||
|
ensure => present,
|
||||||
|
name => $::tempest::params::python_congress_tests,
|
||||||
|
tag => ['openstack', 'tempest-package'],
|
||||||
|
}
|
||||||
|
}
|
||||||
if $mistral_available and $::tempest::params::python_mistral_tests {
|
if $mistral_available and $::tempest::params::python_mistral_tests {
|
||||||
package { 'python-mistral-tests':
|
package { 'python-mistral-tests':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
@ -35,6 +35,7 @@ class tempest::params {
|
|||||||
$python_trove_tests = 'python-trove-tests'
|
$python_trove_tests = 'python-trove-tests'
|
||||||
$python_watcher_tests = 'python-watcher-tests-tempest'
|
$python_watcher_tests = 'python-watcher-tests-tempest'
|
||||||
$python_zaqar_tests = 'python-zaqar-tests'
|
$python_zaqar_tests = 'python-zaqar-tests'
|
||||||
|
$python_congress_tests = 'python-congress-tests'
|
||||||
}
|
}
|
||||||
'Debian': {
|
'Debian': {
|
||||||
$dev_packages = [
|
$dev_packages = [
|
||||||
@ -67,6 +68,7 @@ class tempest::params {
|
|||||||
$python_trove_tests = false
|
$python_trove_tests = false
|
||||||
$python_watcher_tests = false
|
$python_watcher_tests = false
|
||||||
$python_zaqar_tests = false
|
$python_zaqar_tests = false
|
||||||
|
$python_congress_tests = false
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: ${::operatingsystem}, \
|
||||||
|
3
releasenotes/notes/add_congress-879513a345de563f.yaml
Normal file
3
releasenotes/notes/add_congress-879513a345de563f.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Add support for Congress tests.
|
@ -257,6 +257,7 @@ describe 'tempest' do
|
|||||||
is_expected.to contain_tempest_config('service_available/ironic').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/ironic').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('service_available/watcher').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/watcher').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('service_available/zaqar').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/zaqar').with(:value => false)
|
||||||
|
is_expected.to contain_tempest_config('service_available/congress').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('service_available/designate').with(:value => false)
|
is_expected.to contain_tempest_config('service_available/designate').with(:value => false)
|
||||||
is_expected.to contain_tempest_config('whitebox/db_uri').with(:value => nil)
|
is_expected.to contain_tempest_config('whitebox/db_uri').with(:value => nil)
|
||||||
is_expected.to contain_tempest_config('cli/cli_dir').with(:value => nil)
|
is_expected.to contain_tempest_config('cli/cli_dir').with(:value => nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user