-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable interactive installation for HA with libyui
This pr is to enable interactive installation for HA with libyui rest api, and setup the cases to YaST job group.
- Loading branch information
openQA web UI
committed
Dec 12, 2022
1 parent
694655e
commit e5ac5c9
Showing
16 changed files
with
336 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
lib/Installation/ModuleRegistration/SeparateRegCodesPage.pm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# SUSE's openQA tests | ||
# | ||
# Copyright 2022 SUSE LLC | ||
# SPDX-License-Identifier: FSFAP | ||
|
||
# Summary: The module provides interface to act with page that ask for module extra registration code | ||
# | ||
# Maintainer: QE YaST <qa-sle-yast@suse.de> | ||
|
||
package Installation::ModuleRegistration::SeparateRegCodesPage; | ||
use parent 'Installation::Navigation::NavigationBase'; | ||
use strict; | ||
use warnings; | ||
|
||
sub init { | ||
my ($self) = @_; | ||
$self->SUPER::init(); | ||
$self->{lbl_separate_code} = $self->{app}->label({type => 'YLabel', label => qr/The extension you selected needs a separate registration code/}); | ||
$self->{txb_we_code} = $self->{app}->textbox({id => '"sle-we"'}); | ||
$self->{txb_ha_code} = $self->{app}->textbox({id => '"sle-ha"'}); | ||
return $self; | ||
} | ||
|
||
sub is_shown { | ||
my ($self) = @_; | ||
return $self->{lbl_separate_code}->exist(); | ||
} | ||
|
||
sub set_we_regcode { | ||
my ($self, $code) = @_; | ||
$self->{txb_we_code}->set($code); | ||
} | ||
|
||
sub set_ha_regcode { | ||
my ($self, $code) = @_; | ||
$self->{txb_ha_code}->set($code); | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: ha_textmode | ||
description: | | ||
Installation sles with ha in textmode which selects System Role 'Text Mode'. | ||
vars: | ||
YUI_REST_API: 1 | ||
schedule: | ||
- installation/bootloader_start | ||
- installation/setup_libyui | ||
- installation/access_beta_distribution | ||
- installation/product_selection/install_SLES | ||
- installation/licensing/accept_license | ||
- installation/registration/register_via_scc | ||
- installation/module_registration/view_development_versions | ||
- installation/module_registration/register_extensions_and_modules | ||
- installation/module_registration/add_ha_regcode | ||
- installation/add_on_product/skip_install_addons | ||
- installation/system_role/select_role_text_mode | ||
- installation/partitioning/accept_proposed_layout | ||
- installation/clock_and_timezone/accept_timezone_configuration | ||
- installation/authentication/use_same_password_for_root | ||
- installation/authentication/default_user_simple_pwd | ||
- installation/bootloader_settings/disable_boot_menu_timeout | ||
- installation/launch_installation | ||
- installation/confirm_installation | ||
- installation/performing_installation/perform_installation | ||
- installation/logs_from_installation_system | ||
- installation/performing_installation/confirm_reboot | ||
- installation/handle_reboot | ||
- installation/first_boot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: ha_textmode_minimal_base | ||
description: | | ||
Installation sles with ha in textmode which selects System Role 'Text Mode'. | ||
vars: | ||
YUI_REST_API: 1 | ||
schedule: | ||
- installation/bootloader_start | ||
- installation/setup_libyui | ||
- installation/access_beta_distribution | ||
- installation/product_selection/install_SLES | ||
- installation/licensing/accept_license | ||
- installation/registration/register_via_scc | ||
- installation/module_registration/view_development_versions | ||
- installation/module_registration/register_extensions_and_modules | ||
- installation/module_registration/add_ha_regcode | ||
- installation/add_on_product/skip_install_addons | ||
- installation/system_role/select_role_minimal | ||
- installation/partitioning/accept_proposed_layout | ||
- installation/clock_and_timezone/accept_timezone_configuration | ||
- installation/authentication/use_same_password_for_root | ||
- installation/authentication/default_user_simple_pwd | ||
- installation/installation_settings/validate_default_target | ||
- installation/bootloader_settings/disable_boot_menu_timeout | ||
- installation/launch_installation | ||
- installation/confirm_installation | ||
- installation/performing_installation/perform_installation | ||
- installation/logs_from_installation_system | ||
- installation/performing_installation/confirm_reboot | ||
- installation/handle_reboot | ||
- installation/first_boot |
30 changes: 30 additions & 0 deletions
30
schedule/yast/textmode/ha_textmode_minimal_base_s390x.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: ha_textmode_minimal_base | ||
description: | | ||
Installation sles with ha in textmode which selects System Role 'Minimal'. | ||
vars: | ||
YUI_REST_API: 1 | ||
schedule: | ||
- installation/bootloader_start | ||
- installation/setup_libyui | ||
- installation/access_beta_distribution | ||
- installation/product_selection/install_SLES | ||
- installation/licensing/accept_license | ||
- installation/registration/register_via_scc | ||
- installation/module_registration/view_development_versions | ||
- installation/module_registration/register_extensions_and_modules | ||
- installation/module_registration/add_ha_regcode | ||
- installation/add_on_product/skip_install_addons | ||
- installation/system_role/select_role_minimal | ||
- installation/partitioning/accept_proposed_layout | ||
- installation/clock_and_timezone/accept_timezone_configuration | ||
- installation/authentication/use_same_password_for_root | ||
- installation/authentication/default_user_simple_pwd | ||
- installation/bootloader_settings/disable_boot_menu_timeout | ||
- installation/launch_installation | ||
- installation/confirm_installation | ||
- installation/performing_installation/perform_installation | ||
- installation/logs_from_installation_system | ||
- installation/performing_installation/confirm_reboot | ||
- installation/performing_installation/reconnect_after_reboot | ||
- installation/handle_reboot | ||
- installation/first_boot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: ha_textmode | ||
description: | | ||
Installation sles with ha in textmode which selects System Role 'Text Mode'. | ||
vars: | ||
YUI_REST_API: 1 | ||
schedule: | ||
- installation/bootloader_start | ||
- installation/setup_libyui | ||
- installation/access_beta_distribution | ||
- installation/product_selection/install_SLES | ||
- installation/licensing/accept_license | ||
- installation/registration/register_via_scc | ||
- installation/module_registration/view_development_versions | ||
- installation/module_registration/register_extensions_and_modules | ||
- installation/module_registration/add_ha_regcode | ||
- installation/add_on_product/skip_install_addons | ||
- installation/system_role/select_role_text_mode | ||
- installation/partitioning/accept_proposed_layout | ||
- installation/clock_and_timezone/accept_timezone_configuration | ||
- installation/authentication/use_same_password_for_root | ||
- installation/authentication/default_user_simple_pwd | ||
- installation/bootloader_settings/disable_boot_menu_timeout | ||
- installation/launch_installation | ||
- installation/confirm_installation | ||
- installation/performing_installation/perform_installation | ||
- installation/logs_from_installation_system | ||
- installation/performing_installation/confirm_reboot | ||
- installation/performing_installation/reconnect_after_reboot | ||
- installation/handle_reboot | ||
- installation/first_boot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: ha_textmode_skip_registration | ||
description: > | ||
Installation SLES + HA in textmode which selects System Role 'Text Mode'. | ||
vars: | ||
YUI_REST_API: 1 | ||
schedule: | ||
- installation/bootloader_start | ||
- installation/setup_libyui | ||
- installation/access_beta_distribution | ||
- installation/product_selection/install_SLES | ||
- installation/licensing/accept_license | ||
- installation/registration/skip_registration | ||
- installation/module_selection/select_extension_ha | ||
- installation/add_on_product_installation/accept_add_on_installation | ||
- installation/system_role/select_role_text_mode | ||
- installation/partitioning/accept_proposed_layout | ||
- installation/clock_and_timezone/accept_timezone_configuration | ||
- installation/authentication/use_same_password_for_root | ||
- installation/authentication/default_user_simple_pwd | ||
- installation/installation_settings/validate_default_target | ||
- installation/bootloader_settings/disable_boot_menu_timeout | ||
- installation/launch_installation | ||
- installation/confirm_installation | ||
- installation/performing_installation/perform_installation | ||
- installation/logs_from_installation_system | ||
- installation/performing_installation/confirm_reboot | ||
- installation/grub_test | ||
- installation/first_boot |
28 changes: 28 additions & 0 deletions
28
schedule/yast/textmode/ha_textmode_skip_registration_minimal_base.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: ha_textmode_skip_registration_minimal_base | ||
description: > | ||
Installation SLES + HA in textmode which selects System Role 'Minimal'. | ||
vars: | ||
YUI_REST_API: 1 | ||
schedule: | ||
- installation/bootloader_start | ||
- installation/setup_libyui | ||
- installation/access_beta_distribution | ||
- installation/product_selection/install_SLES | ||
- installation/licensing/accept_license | ||
- installation/registration/skip_registration | ||
- installation/module_selection/select_extension_ha | ||
- installation/add_on_product_installation/accept_add_on_installation | ||
- installation/system_role/select_role_minimal | ||
- installation/partitioning/accept_proposed_layout | ||
- installation/clock_and_timezone/accept_timezone_configuration | ||
- installation/authentication/use_same_password_for_root | ||
- installation/authentication/default_user_simple_pwd | ||
- installation/installation_settings/validate_default_target | ||
- installation/bootloader_settings/disable_boot_menu_timeout | ||
- installation/launch_installation | ||
- installation/confirm_installation | ||
- installation/performing_installation/perform_installation | ||
- installation/logs_from_installation_system | ||
- installation/performing_installation/confirm_reboot | ||
- installation/grub_test | ||
- installation/first_boot |
29 changes: 29 additions & 0 deletions
29
schedule/yast/textmode/ha_textmode_skip_registration_minimal_base_s390x.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: ha_textmode_skip_registration_minimal_base | ||
description: > | ||
Installation SLES + HA in textmode which selects System Role 'Minimal'. | ||
vars: | ||
YUI_REST_API: 1 | ||
schedule: | ||
- installation/bootloader_start | ||
- installation/setup_libyui | ||
- installation/access_beta_distribution | ||
- installation/product_selection/install_SLES | ||
- installation/licensing/accept_license | ||
- installation/registration/skip_registration | ||
- installation/module_selection/select_extension_ha | ||
- installation/add_on_product_installation/accept_add_on_installation | ||
- installation/system_role/select_role_minimal | ||
- installation/partitioning/accept_proposed_layout | ||
- installation/clock_and_timezone/accept_timezone_configuration | ||
- installation/authentication/use_same_password_for_root | ||
- installation/authentication/default_user_simple_pwd | ||
- installation/installation_settings/validate_default_target | ||
- installation/bootloader_settings/disable_boot_menu_timeout | ||
- installation/launch_installation | ||
- installation/confirm_installation | ||
- installation/performing_installation/perform_installation | ||
- installation/logs_from_installation_system | ||
- installation/performing_installation/confirm_reboot | ||
- installation/performing_installation/reconnect_after_reboot | ||
- installation/handle_reboot | ||
- installation/first_boot |
Oops, something went wrong.