Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPU: support in place upgrade from RHEL9 to RHEL10 #4164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions qemu/tests/cfg/in_place_upgrade.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,28 @@
- compose_install:
com_install = "yes"
com_ins_leapp = "yum install leapp-upgrade -y"
- stream_install:
# Please modify the build in the internal cfg
# An example
# com_ins_leapp = "yum install leapp-upgrade"
- upstream_install:
com_install = "no"
com_ins_leapp_9 = "dnf install leapp-upgrade-el9toel10 -y"
variants:
- without_rhsm_rhel9_to_rhel10:
rhsm_type = "no_rhsm"
pre_release = "release 9"
post_release = "release 10"
pre_upgrade_no_rhsm = "leapp preupgrade --debug --no-rhsm"
process_upgrade_no_rhsm = "LEAPP_UNSUPPORTED=1 "
process_upgrade_no_rhsm += "LEAPP_DEVEL_SKIP_CHECK_OS_RELEASE=1 "
process_upgrade_no_rhsm += "leapp upgrade --debug --no-rhsm"
disable_content = 'yum-config-manager --disable "*"'
enable_content = "yum-config-manager"
enable_content += " --enable "
enable_content += "rhel-9-for-{}-appstream-rpms"
enable_content += " --enable "
enable_content += "rhel-9-for-{}-baseos-rpms"
- without_rhsm_rhel8_to_rhel9:
rhsm_type = "no_rhsm"
pre_upgrade_no_rhsm = "leapp preupgrade --debug --no-rhsm"
Expand Down
1 change: 0 additions & 1 deletion qemu/tests/in_place_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def run(test, params, env):
upgrade_test.create_ipuser(test)
# prepare ipu test env and execute leapp tool
if not params.get_boolean("com_install"):
upgrade_test.run_guest_cmd(params.get("repo_leapp"))
upgrade_test.run_guest_cmd(params.get("com_ins_leapp"))
upgrade_test.run_guest_cmd(params.get("prepare_env"))
upgrade_test.run_guest_cmd(params.get("get_answer_files_source"))
Expand Down
Loading