Merge "Add support for [validation] ssh_key_type"

This commit is contained in:
Zuul 2022-03-02 12:02:10 +00:00 committed by Gerrit Code Review
commit 78f4df3d5b
3 changed files with 9 additions and 0 deletions

View File

@ -98,6 +98,8 @@
# Defaults to undef
# [*run_ssh*]
# Defaults to false
# [*ssh_key_type*]
# Defaults to $::os_service_default
# [*flavor_name*]
# Defaults to undef
# [*flavor_name_alt*]
@ -320,6 +322,7 @@ class tempest(
$flavor_name_alt = undef,
$compute_build_interval = undef,
$run_ssh = false,
$ssh_key_type = $::os_service_default,
# whitebox
$whitebox_db_uri = undef,
# testing features that are supported
@ -539,6 +542,7 @@ class tempest(
'validation/image_ssh_user': value => $image_ssh_user;
'validation/image_alt_ssh_user': value => $image_alt_ssh_user;
'validation/run_validation': value => $run_ssh;
'validation/ssh_key_type': value => $ssh_key_type;
'identity/admin_role': value => $admin_role;
'identity/alt_password': value => $alt_password, secret => true;
'identity/alt_project_name': value => $alt_project_name;

View File

@ -0,0 +1,4 @@
---
features:
- |
Support for the ``[validation] ssh_key_type`` parameter has been added.

View File

@ -219,6 +219,7 @@ describe 'tempest' do
is_expected.to contain_tempest_config('validation/image_ssh_user').with(:value => nil)
is_expected.to contain_tempest_config('validation/image_alt_ssh_user').with(:value => nil)
is_expected.to contain_tempest_config('validation/run_validation').with(:value => false)
is_expected.to contain_tempest_config('validation/ssh_key_type').with(:value => '<SERVICE DEFAULT>')
is_expected.to contain_tempest_config('identity/admin_role').with(:value => nil)
is_expected.to contain_tempest_config('identity/auth_version').with(:value => 'v3')
is_expected.to contain_tempest_config('identity/alt_password').with(:value => nil)