-
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.
Migration from mu released to mu unreleased
Add upragde autoyast profile and yaml schedule files for migration from mu released to mu unreleased testsuites.
- Loading branch information
openQA web UI
committed
Apr 22, 2024
1 parent
df27f66
commit 048ec9f
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
schedule/yast/maintenance/migration_to_maintenance_updates_unreleased.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: migration_to_mu_unreleased | ||
description: > | ||
Performs a migration from system with released maintenance updates to a product with maintenance updates unreleased | ||
schedule: | ||
- migration/version_switch_origin_system | ||
- boot/boot_to_desktop | ||
- console/register_original_system | ||
- migration/record_disk_info | ||
- migration/reboot_to_upgrade | ||
- migration/version_switch_upgrade_target | ||
- installation/bootloader | ||
- installation/welcome | ||
- installation/upgrade_select | ||
- installation/scc_registration | ||
- installation/add_update_test_repo | ||
- installation/addon_products_sle | ||
- installation/resolve_dependency_issues | ||
- installation/installation_overview | ||
- installation/disable_grub_timeout | ||
- installation/start_install | ||
- installation/await_install | ||
- installation/logs_from_installation_system | ||
- installation/reboot_after_installation | ||
- installation/grub_test | ||
- installation/first_boot | ||
- migration/post_upgrade | ||
- console/consoletest_setup | ||
- console/zypper_lr | ||
- console/zypper_ref |
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,34 @@ | ||
# Copyright 2018 SUSE LLC | ||
# SPDX-License-Identifier: FSFAP | ||
|
||
# Package: SUSEConnect | ||
# Summary: Rrgister system and modules of the original system by SUSEConnect | ||
# - Register product using SCC_REGCODE code | ||
# - Register modules and extension | ||
# - Check registering status | ||
# Maintainer: QE YaST and Migration (QE Yam) <qe-yam at suse de> | ||
|
||
use base "consoletest"; | ||
use strict; | ||
use warnings; | ||
use testapi; | ||
use utils 'zypper_call'; | ||
use migration; | ||
use registration; | ||
|
||
sub run { | ||
select_console 'root-console'; | ||
|
||
my $scc_addons = get_var 'SCC_ADDONS_ORIGIN', ''; | ||
my $retries = 3; # number of retries to run SUSEConnect commands | ||
register_product(); | ||
register_addons_cmd($scc_addons, $retries) if $scc_addons; | ||
# Check registration status and repos | ||
assert_script_run("zypper --gpg-auto-import-keys ref", timeout => 180, exitcode => [0, 106]); | ||
assert_script_run("zypper lr | tee /dev/$serialdev"); | ||
assert_script_run("SUSEConnect --status-text | tee /dev/$serialdev", timeout => 60); | ||
fully_patch_system; | ||
disable_installation_repos; | ||
} | ||
|
||
1; |