From bc7fce7288ed8f642be561947aa9d7c7f3047097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20He=C4=8Dko?= Date: Mon, 3 Mar 2025 12:32:42 +0100 Subject: [PATCH 1/7] CI:packit: update e2e tests to reflect current IPU paths The current source version used in e2e tests is 8.6 and the target version is 9.0, which are unsupported. This patch bumps the source/target versions used in the CI to source=8.10 and target=9.4. There is also a job with target=9.6, which is expected to be failing until 9.6 is released. Also rhel 7 & python2 is not supported anymore. Dropping these obsoleted tests. --- .github/workflows/tmt-tests.yml | 27 +- .packit.yaml | 649 ++++---------------------------- 2 files changed, 94 insertions(+), 582 deletions(-) diff --git a/.github/workflows/tmt-tests.yml b/.github/workflows/tmt-tests.yml index d994f31..d047cb3 100644 --- a/.github/workflows/tmt-tests.yml +++ b/.github/workflows/tmt-tests.yml @@ -69,62 +69,61 @@ jobs: && ! startsWith(github.event.comment.body, '/rerun-sst') && contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association) - call_workflow_tests_86to90_integration: + call_workflow_tests_810to94_integration: needs: call_workflow_copr_build uses: ./.github/workflows/reuse-tests-8to9.yml secrets: inherit with: copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }} tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*max_sst)" - variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream' - pull_request_status_name: "8.6to9.0" + variables: 'SOURCE_RELEASE=8.10;TARGET_RELEASE=9.4;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream' + pull_request_status_name: "8.10to9.4" if: | github.event.issue.pull_request && ! startsWith(github.event.comment.body, '/rerun-sst') && contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association) - call_workflow_tests_88to92_integration: + call_workflow_tests_810to96_integration: needs: call_workflow_copr_build uses: ./.github/workflows/reuse-tests-8to9.yml secrets: inherit with: copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }} tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(?!.*max_sst)" - variables: 'SOURCE_RELEASE=8.8;TARGET_RELEASE=9.2;LEAPP_DEVEL_TARGET_RELEASE=9.2;RHSM_REPOS=rhel-8-for-x86_64-appstream-beta-rpms,rhel-8-for-x86_64-baseos-beta-rpms;LEAPPDATA_BRANCH=upstream' - compose: "RHEL-8.8.0-Nightly" - pull_request_status_name: "8.8to9.2" - tmt_context: "distro=rhel-8.8" + variables: 'SOURCE_RELEASE=8.10;TARGET_RELEASE=9.6;LEAPP_DEVEL_TARGET_RELEASE=9.6;RHSM_REPOS=rhel-8-for-x86_64-appstream-beta-rpms,rhel-8-for-x86_64-baseos-beta-rpms;LEAPPDATA_BRANCH=upstream' + pull_request_status_name: "8.8to9.6" + tmt_context: "distro=rhel-8.10" if: | github.event.issue.pull_request && ! startsWith(github.event.comment.body, '/rerun-sst') && contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association) - call_workflow_tests_86to90_sst: + call_workflow_tests_810to94_sst: needs: call_workflow_copr_build uses: ./.github/workflows/reuse-tests-8to9.yml secrets: inherit with: copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }} tmt_plan_regex: "^(?!.*tier[2-3].*)(.*max_sst.*)" - variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream' - pull_request_status_name: "8.6to9.0-sst" + variables: 'SOURCE_RELEASE=8.10;TARGET_RELEASE=9.4;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;LEAPPDATA_BRANCH=upstream' + pull_request_status_name: "8.10to9.4-sst" update_pull_request_status: 'false' if: | github.event.issue.pull_request && startsWith(github.event.comment.body, '/rerun-sst') && contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association) - call_workflow_tests_86to90_aws: + call_workflow_tests_810to94_aws: needs: call_workflow_copr_build uses: ./.github/workflows/reuse-tests-8to9.yml secrets: inherit with: copr_artifacts: ${{ needs.call_workflow_copr_build.outputs.artifacts }} tmt_plan_regex: "^(?!.*upgrade_plugin)(?!.*tier[2-3].*)(?!.*rhsm)(?!.*c2r)(?!.*sap)(?!.*7to8)(.*e2e)" - compose: "RHEL-8.6-rhui" + compose: "RHEL-8.10-rhui" environment_settings: '{"provisioning": {"post_install_script": "#!/bin/sh\nsudo sed -i s/.*ssh-rsa/ssh-rsa/ /root/.ssh/authorized_keys"}}' pull_request_status_name: "8to9-aws-e2e" - variables: 'SOURCE_RELEASE=8.6;TARGET_RELEASE=9.0;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;RHUI=aws;LEAPPDATA_BRANCH=upstream' + variables: 'SOURCE_RELEASE=8.10;TARGET_RELEASE=9.4;RHSM_REPOS=rhel-8-for-x86_64-appstream-eus-rpms,rhel-8-for-x86_64-baseos-eus-rpms;RHUI=aws;LEAPPDATA_BRANCH=upstream' if: | github.event.issue.pull_request && ! startsWith(github.event.comment.body, '/rerun-sst') diff --git a/.packit.yaml b/.packit.yaml index 36a6e16..6f41db1 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -12,7 +12,6 @@ jobs: owner: "@oamg" project: leapp targets: - - epel-7-x86_64 - epel-8-x86_64 - epel-9-x86_64 - fedora-all-aarch64 @@ -31,7 +30,6 @@ jobs: owner: "@oamg" project: leapp targets: - - epel-7-x86_64 - epel-8-x86_64 - epel-9-x86_64 - fedora-all-aarch64 @@ -51,341 +49,64 @@ jobs: # >7tox path https://gitlab.cee.redhat.com/oamg/leapp-tests/-/blob/main/config.yaml # Available only to RH Employees. + # ###################################################################### # -# ############################### 7 TO 8 ############################### # +# ############################## 8 TO 9 ################################ # # ###################################################################### # # ###################################################################### # # ### Abstract job definitions to make individual tests/jobs smaller ### # # ###################################################################### # -- &sanity-abstract-7to8 + +#NOTE(pstodulk) putting default values in abstract jobs as from 8.10, as this +# is the last RHEL 8 release and all new future tests will start from this +# one release. + +# This job is never triggered - we define abstract anchor that are reused in jobs that 'inherit' +# and have actionable triggers +- &sanity-abstract-8to9 job: tests trigger: ignore fmf_url: "https://gitlab.cee.redhat.com/oamg/leapp-tests" - fmf_ref: "rhel7" + fmf_ref: "main" use_internal_tf: True labels: - sanity targets: - epel-7-x86_64: - distros: [RHEL-7.9-ZStream] - identifier: sanity-abstract-7to8 - tmt_plan: "" - -- &sanity-abstract-7to8-aws - <<: *sanity-abstract-7to8 - labels: - - sanity - - aws - targets: - epel-7-x86_64: - distros: [RHEL-7.9-rhui] - identifier: sanity-abstract-7to8-aws - -# On-demand minimal beaker tests -- &beaker-minimal-7to8-abstract-ondemand - <<: *sanity-abstract-7to8 - manual_trigger: True - labels: - - beaker-minimal - identifier: beaker-minimal-7to8-abstract-ondemand - -# On-demand kernel-rt tests -- &kernel-rt-abstract-7to8-ondemand - <<: *beaker-minimal-7to8-abstract-ondemand - labels: - - kernel-rt - identifier: sanity-7to8-kernel-rt-abstract-ondemand - -# ###################################################################### # -# ######################### Individual tests ########################### # -# ###################################################################### # - -# Tests: 7.9 -> 8.8 -- &sanity-79to88-aws - <<: *sanity-abstract-7to8-aws - trigger: pull_request - identifier: sanity-7.9to8.8-aws - tf_extra_params: - test: - tmt: - plan_filter: 'tag:7to8 & tag:upgrade_happy_path & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" - packages: - - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps - order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "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: "7.9" - TARGET_RELEASE: "8.8" - RHUI: "aws" - LEAPPDATA_BRANCH: "upstream" - LEAPP_NO_RHSM: "1" - USE_CUSTOM_REPOS: rhui - -- &sanity-79to88 - <<: *sanity-abstract-7to8 - trigger: pull_request - identifier: sanity-7.9to8.8 - tf_extra_params: - test: - tmt: - plan_filter: 'tag:7to8 & tag:sanity & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" - packages: - - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps - order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "rhel-8.8" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "7.9" - TARGET_RELEASE: "8.8" - -- &beaker-minimal-79to88 - <<: *beaker-minimal-7to8-abstract-ondemand - trigger: pull_request - labels: - - beaker-minimal - - beaker-minimal-7.9to8.8 - - 7.9to8.8 - identifier: sanity-7.9to8.8-beaker-minimal-ondemand - tf_extra_params: - test: - tmt: - plan_filter: 'tag:7to8 & tag:partitioning & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" - packages: - - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps - order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "rhel-8.8" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "7.9" - TARGET_RELEASE: "8.8" - -- &kernel-rt-79to88 - <<: *kernel-rt-abstract-7to8-ondemand - trigger: pull_request - labels: - - kernel-rt - - kernel-rt-7.9to8.8 - - 7.9to8.8 - identifier: sanity-7.9to8.8-kernel-rt-ondemand - tf_extra_params: - test: - tmt: - plan_filter: 'tag:7to8 & tag:kernel-rt & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" - packages: - - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps - order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "rhel-8.8" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "7.9" - TARGET_RELEASE: "8.8" - -# Tests: 7.9 -> 8.10 -- &sanity-79to810 - <<: *sanity-abstract-7to8 - trigger: pull_request - identifier: sanity-7.9to8.10 - tf_extra_params: - test: - tmt: - plan_filter: 'tag:7to8 & tag:sanity & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" - packages: - - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps - order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "rhel-8.10" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "7.9" - TARGET_RELEASE: "8.10" - -- &sanity-79to810-aws - <<: *sanity-abstract-7to8-aws - trigger: pull_request - identifier: sanity-7.9to8.10-aws - tf_extra_params: - test: - tmt: - plan_filter: 'tag:7to8 & tag:upgrade_happy_path & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" - packages: - - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps - order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "rhel-8.10" - 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: "7.9" - TARGET_RELEASE: "8.10" - RHUI: "aws" - LEAPPDATA_BRANCH: "upstream" - LEAPP_NO_RHSM: "1" - USE_CUSTOM_REPOS: rhui - -- &beaker-minimal-79to810 - <<: *beaker-minimal-7to8-abstract-ondemand - trigger: pull_request - labels: - - beaker-minimal - - beaker-minimal-7.9to8.10 - - 7.9to8.10 - identifier: sanity-7.9to8.10-beaker-minimal-ondemand + epel-8-x86_64: + distros: [RHEL-8.10.0-Nightly] + identifier: sanity-abstract-8to9 tf_extra_params: test: tmt: - plan_filter: 'tag:7to8 & tag:partitioning & enabled:true' + plan_filter: 'tag:8to9' environments: - - artifacts: + - artifacts: &artifacts-for-rhel8 - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" + id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" packages: - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps + - python3-leapp + - leapp-upgrade-el8toel9-deps order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "rhel-8.10" + - &tmt-env-settings-810to94 + tmt: + context: &tmt-context-810to94 + distro: "rhel-8.10" + distro_target: "rhel-9.4" settings: provisioning: tags: BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "7.9" - TARGET_RELEASE: "8.10" - -- &kernel-rt-79to810 - <<: *kernel-rt-abstract-7to8-ondemand - trigger: pull_request - labels: - - kernel-rt - - kernel-rt-7.9to8.10 - - 7.9to8.10 - identifier: sanity-7.9to8.10-kernel-rt-ondemand - tf_extra_params: - test: - tmt: - plan_filter: 'tag:7to8 & tag:kernel-rt & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-7-x86_64/" - packages: - - leapp-repository - - python2-leapp - - leapp-upgrade-el7toel8-deps - order: 40 - - tmt: - context: - distro: "rhel-7.9" - distro_target: "rhel-8.10" + - &tmt-env-settings-810to96 + tmt: + context: &tmt-context-810to96 + distro: "rhel-8.10" + distro_target: "rhel-9.6" settings: provisioning: tags: BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "7.9" - TARGET_RELEASE: "8.10" - - -# ###################################################################### # -# ############################## 8 TO 9 ################################ # -# ###################################################################### # - -# ###################################################################### # -# ### Abstract job definitions to make individual tests/jobs smaller ### # -# ###################################################################### # - -#NOTE(pstodulk) putting default values in abstract jobs as from 8.10, as this -# is the last RHEL 8 release and all new future tests will start from this -# one release. - -- &sanity-abstract-8to9 - job: tests - trigger: ignore - fmf_url: "https://gitlab.cee.redhat.com/oamg/leapp-tests" - fmf_ref: "main" - use_internal_tf: True - labels: - - sanity - targets: - epel-8-x86_64: - distros: [RHEL-8.10.0-Nightly] - identifier: sanity-abstract-8to9 - &sanity-abstract-8to9-aws <<: *sanity-abstract-8to9 @@ -414,154 +135,9 @@ jobs: identifier: sanity-8to9-kernel-rt-abstract-ondemand # ###################################################################### # -# ######################### Individual tests ########################### # +# ############################# 8.10 > 9.4 ############################# # # ###################################################################### # -# Tests: 8.8 -> 9.2 -- &sanity-88to92 - <<: *sanity-abstract-8to9 - trigger: pull_request - targets: - epel-8-x86_64: - distros: [RHEL-8.8.0-Nightly] - identifier: sanity-8.8to9.2 - tf_extra_params: - test: - tmt: - plan_filter: 'tag:8to9 & tag:tier0 & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - tmt: - context: - distro: "rhel-8.8" - distro_target: "rhel-9.2" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "8.8" - TARGET_RELEASE: "9.2" - RHSM_REPOS_EUS: "eus" - -- &sanity-88to92-aws - <<: *sanity-abstract-8to9-aws - trigger: pull_request - targets: - epel-8-x86_64: - distros: [RHEL-8.8-rhui] - identifier: sanity-8.8to9.2-aws - tf_extra_params: - test: - tmt: - plan_filter: 'tag:8to9 & tag:rhui-tier[0] & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - tmt: - context: - distro: "rhel-8.8" - distro_target: "rhel-9.2" - 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" - RHUI_HYPERSCALER: aws - -- &beaker-minimal-88to92 - <<: *beaker-minimal-8to9-abstract-ondemand - trigger: pull_request - labels: - - beaker-minimal - - beaker-minimal-8.8to9.2 - - 8.8to9.2 - targets: - epel-8-x86_64: - distros: [RHEL-8.8.0-Nightly] - identifier: sanity-8.8to9.2-beaker-minimal-ondemand - tf_extra_params: - test: - tmt: - plan_filter: 'tag:8to9 &tag:partitioning & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - tmt: - context: - distro: "rhel-8.8" - distro_target: "rhel-9.2" - 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_EUS: "eus" - -- &kernel-rt-88to92 - <<: *kernel-rt-abstract-8to9-ondemand - trigger: pull_request - labels: - - kernel-rt - - kernel-rt-8.8to9.2 - - 8.8to9.2 - identifier: sanity-8.8to9.2-kernel-rt-ondemand - targets: - epel-8-x86_64: - distros: [RHEL-8.8.0-Nightly] - tf_extra_params: - test: - tmt: - plan_filter: 'tag:8to9 & tag:kernel-rt & enabled:true' - environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - tmt: - context: - distro: "rhel-8.8" - distro_target: "rhel-9.2" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: - SOURCE_RELEASE: "8.8" - TARGET_RELEASE: "9.2" - RHSM_REPOS_EUS: "eus" - - -# Tests: 8.10 -> 9.4 - &sanity-810to94 <<: *sanity-abstract-8to9 trigger: pull_request @@ -571,27 +147,12 @@ jobs: tmt: plan_filter: 'tag:8to9 & tag:tier0 & enabled:true' environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - - tmt: - context: - distro: "rhel-8.10" - distro_target: "rhel-9.4" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: + - artifacts: *artifacts-for-rhel8 + - *tmt-env-settings-810to94 + env: &env-810to94 SOURCE_RELEASE: "8.10" TARGET_RELEASE: "9.4" -# On-demand minimal beaker tests - &beaker-minimal-810to94 <<: *beaker-minimal-8to9-abstract-ondemand trigger: pull_request @@ -605,27 +166,11 @@ jobs: tmt: plan_filter: 'tag:8to9 & tag:partitioning & enabled:true' environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - - tmt: - context: - distro: "rhel-8.10" - distro_target: "rhel-9.4" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test + - artifacts: *artifacts-for-rhel8 + - *tmt-env-settings-810to94 env: - SOURCE_RELEASE: "8.10" - TARGET_RELEASE: "9.4" + <<: *env-810to94 -# On-demand kernel-rt tests - &kernel-rt-810to94 <<: *kernel-rt-abstract-8to9-ondemand trigger: pull_request @@ -639,56 +184,54 @@ jobs: tmt: plan_filter: 'tag:8to9 & tag:kernel-rt & enabled:true' environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 + - artifacts: *artifacts-for-rhel8 + - *tmt-env-settings-810to94 + env: + <<: *env-810to94 + +- &sanity-810to94-aws + <<: *sanity-abstract-8to9-aws + trigger: pull_request + targets: + epel-8-x86_64: + distros: [RHEL-8.10-rhui] + identifier: sanity-8.10to9.4-aws + tf_extra_params: + test: + tmt: + plan_filter: 'tag:8to9 & tag:rhui-tier[0] & enabled:true' + environments: + - artifacts: *artifacts-for-rhel8 - tmt: - context: - distro: "rhel-8.10" - distro_target: "rhel-9.4" + context: *tmt-context-810to94 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.10" - TARGET_RELEASE: "9.4" + <<: *env-810to94 + RHUI_HYPERSCALER: aws -# Tests: 8.10 -> 9.5 -- &sanity-810to95 +# ###################################################################### # +# ############################# 8.10 > 9.6 ############################# # +# ###################################################################### # + +- &sanity-810to96 <<: *sanity-abstract-8to9 trigger: pull_request - identifier: sanity-8.10to9.5 + identifier: sanity-8.10to9.6 tf_extra_params: test: tmt: plan_filter: 'tag:8to9 & tag:tier0 & enabled:true' environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - - tmt: - context: - distro: "rhel-8.10" - distro_target: "rhel-9.5" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test - env: + - artifacts: *artifacts-for-rhel8 + - *tmt-env-settings-810to96 + env: &env-810to96 SOURCE_RELEASE: "8.10" - TARGET_RELEASE: "9.5" + TARGET_RELEASE: "9.6" # On-demand minimal beaker tests - &beaker-minimal-810to95 @@ -696,64 +239,34 @@ jobs: trigger: pull_request labels: - beaker-minimal - - beaker-minimal-8.10to9.5 - - 8.10to9.5 - identifier: sanity-8.10to9.5-beaker-minimal-ondemand + - beaker-minimal-8.10to9.6 + - 8.10to9.6 + identifier: sanity-8.10to9.6-beaker-minimal-ondemand tf_extra_params: test: tmt: plan_filter: 'tag:8to9 & tag:partitioning & enabled:true' environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - - tmt: - context: - distro: "rhel-8.10" - distro_target: "rhel-9.5" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test + - artifacts: *artifacts-for-rhel8 + - *tmt-env-settings-810to96 env: - SOURCE_RELEASE: "8.10" - TARGET_RELEASE: "9.5" + <<: *env-810to96 # On-demand kernel-rt tests -- &kernel-rt-810to95 +- &kernel-rt-810to96 <<: *kernel-rt-abstract-8to9-ondemand trigger: pull_request labels: - kernel-rt - - kernel-rt-8.10to9.5 - - 8.10to9.5 - identifier: sanity-8.10to9.5-kernel-rt-ondemand + - kernel-rt-8.10to9.6 + - 8.10to9.6 + identifier: sanity-8.10to9.6-kernel-rt-ondemand tf_extra_params: test: tmt: plan_filter: 'tag:8to9 & tag:kernel-rt & enabled:true' environments: - - artifacts: - - type: "repository" - id: "https://download.copr.fedorainfracloud.org/results/@oamg/leapp/epel-8-x86_64/" - packages: - - leapp-repository - - python3-leapp - - leapp-upgrade-el8toel9-deps - order: 40 - - tmt: - context: - distro: "rhel-8.10" - distro_target: "rhel-9.5" - settings: - provisioning: - tags: - BusinessUnit: sst_upgrades@leapp_upstream_test + - artifacts: *artifacts-for-rhel8 + - *tmt-env-settings-810to96 env: - SOURCE_RELEASE: "8.10" - TARGET_RELEASE: "9.5" + <<: *env-810to96 -- 2.49.0