From 6eeed591f75d2a1edcaaeaa811d3ad1016f60b5c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 11 Mar 2026 12:38:52 -0700 Subject: [PATCH] greenwave updates gating: gate on new server-boot-iso tests In https://forge.fedoraproject.org/quality/os-autoinst-distri-fedora/pulls/483 we added server-boot-iso tests to openQA that are similar to the everything-boot-iso tests, but they generate and install a Server netinst image, not an Everything one. That's been running for a while, so we can gate on it now. We add a new policy because these tests run on critical-path-server as well as all the ones we run the everything-boot-iso tests on. Signed-off-by: Adam Williamson --- .../greenwave/templates/fedora.yaml.j2 | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/greenwave/templates/fedora.yaml.j2 b/roles/openshift-apps/greenwave/templates/fedora.yaml.j2 index cf26a2ef58..5024dedebf 100644 --- a/roles/openshift-apps/greenwave/templates/fedora.yaml.j2 +++ b/roles/openshift-apps/greenwave/templates/fedora.yaml.j2 @@ -195,9 +195,9 @@ rules: - !PassingTestCaseRule {test_case_name: update.podman_client, scenario: "fedora.updates-container.aarch64.aarch64"} --- !Policy -id: "bodhiupdate_bodhipush_openqa_netinst" -# the "build a netinst and test an install from it" tests are gating -# for the core groups, plus the anaconda and compose groups +id: "bodhiupdate_bodhipush_openqa_everything_netinst" +# the "build an everything netinst and test an install from it" tests +# are gating for the core groups, plus the anaconda and compose groups {{ product_versions() }} decision_contexts: - bodhi_update_push_testing_critpath @@ -219,6 +219,34 @@ rules: - !PassingTestCaseRule {test_case_name: update.installer_build, scenario: "fedora.updates-everything-boot-iso.aarch64.aarch64"} - !PassingTestCaseRule {test_case_name: update.installer_build, scenario: "fedora.updates-everything-boot-iso.x86_64.64bit"} +--- !Policy +id: "bodhiupdate_bodhipush_openqa_server_netinst" +# the "build a server netinst and test an install from it" tests +# are gating for the core groups, plus the anaconda and compose groups, +# and the server group +{{ product_versions() }} +decision_contexts: + - bodhi_update_push_testing_critpath + - bodhi_update_push_testing_core_critpath + - bodhi_update_push_testing_critical-path-anaconda_critpath + - bodhi_update_push_testing_critical-path-base_critpath + - bodhi_update_push_testing_critical-path-compose_critpath + - bodhi_update_push_testing_critical-path-server_critpath + - bodhi_update_push_stable_critpath + - bodhi_update_push_stable_core_critpath + - bodhi_update_push_stable_critical-path-anaconda_critpath + - bodhi_update_push_stable_critical-path-base_critpath + - bodhi_update_push_stable_critical-path-compose_critpath + - bodhi_update_push_stable_critical-path-server_critpath +subject_type: bodhi_update +rules: +# This list needs to stay synced with openQA if tests are added or renamed. + - !PassingTestCaseRule {test_case_name: update.install_default_update_netinst, scenario: "fedora.updates-server-boot-iso.aarch64.aarch64"} + - !PassingTestCaseRule {test_case_name: update.install_default_update_netinst, scenario: "fedora.updates-server-boot-iso.x86_64.64bit"} + - !PassingTestCaseRule {test_case_name: update.install_default_update_netinst, scenario: "fedora.updates-server-boot-iso.x86_64.bios"} + - !PassingTestCaseRule {test_case_name: update.installer_build, scenario: "fedora.updates-server-boot-iso.aarch64.aarch64"} + - !PassingTestCaseRule {test_case_name: update.installer_build, scenario: "fedora.updates-server-boot-iso.x86_64.64bit"} + --- !Policy id: "bodhiupdate_bodhipush_openqa_apps" # these tests are gating for updates in the apps critpath group: as of