From 9de3021b5b40ebf733262aa3fb715a91741f51d6 Mon Sep 17 00:00:00 2001 From: Martin Kluson Date: Thu, 25 Jan 2024 13:37:11 +0100 Subject: [PATCH] Add RHEL 8.8 and 8.9 to RHUI testing --- .packit.yaml | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index d87f33c074..491b145005 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -650,3 +650,61 @@ jobs: LEAPPDATA_BRANCH: "upstream" LEAPP_NO_RHSM: "1" USE_CUSTOM_REPOS: rhui + +- &sanity-88to92-aws + <<: *sanity-86to90-aws + targets: + epel-8-x86_64: + distros: [RHEL-8.8-rhui] + identifier: sanity-8.8to9.2-aws + # NOTE(mkluson) Unfortunately to use yaml templates we need to rewrite the whole tf_extra_params dict + tf_extra_params: + test: + tmt: + plan_filter: 'tag:upgrade_happy_path & enabled:true' + environments: + - tmt: + context: + distro: "rhel-8.8" + settings: + provisioning: + post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys" + tags: + BusinessUnit: sst_upgrades@leapp_upstream_test + env: + SOURCE_RELEASE: "8.8" + TARGET_RELEASE: "9.2" + RHSM_REPOS: "rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms" + RHUI: "aws" + LEAPPDATA_BRANCH: "upstream" + LEAPP_NO_RHSM: "1" + USE_CUSTOM_REPOS: rhui + +- &sanity-89to93-aws + <<: *sanity-86to90-aws + targets: + epel-8-x86_64: + distros: [RHEL-8.9-rhui] + identifier: sanity-8.9to9.3-aws + # NOTE(mkluson) Unfortunately to use yaml templates we need to rewrite the whole tf_extra_params dict + tf_extra_params: + test: + tmt: + plan_filter: 'tag:upgrade_happy_path & enabled:true' + environments: + - tmt: + context: + distro: "rhel-8.9" + settings: + provisioning: + post_install_script: "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys" + tags: + BusinessUnit: sst_upgrades@leapp_upstream_test + env: + SOURCE_RELEASE: "8.9" + TARGET_RELEASE: "9.3" + RHSM_REPOS: "rhel-8-for-x86_64-appstream-rpms,rhel-8-for-x86_64-baseos-rpms" + RHUI: "aws" + LEAPPDATA_BRANCH: "upstream" + LEAPP_NO_RHSM: "1" + USE_CUSTOM_REPOS: rhui