From d08cedf73ba47148e074dce4a9c995236ded18f2 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Fri, 14 Mar 2025 12:08:16 +0100 Subject: [PATCH] test/cases/api: add modules --- test/cases/api.sh | 16 ++++++++++++++++ test/cases/api/aws.sh | 3 ++- test/cases/api/azure.sh | 3 ++- test/cases/api/common/common.sh | 7 +++++++ test/cases/api/gcp.sh | 3 ++- test/cases/api/oci.sh | 3 ++- 6 files changed, 31 insertions(+), 4 deletions(-) diff --git a/test/cases/api.sh b/test/cases/api.sh index 072431a89..77f5dfb0b 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -529,6 +529,22 @@ fi export EXTRA_PAYLOAD_REPOS_BLOCK export EXTRA_PACKAGES_BLOCK +ENABLED_MODULES_BLOCK= +# Only test modularity on rhel 8 and 9 +if [[ ($ID == rhel || $ID == centos) && ${VERSION_ID%.*} -lt 10 ]]; then + ENABLED_MODULES_BLOCK=$(cat <