From 0357bc6de0d8475a1e0875116fedae4a3eb0e188 Mon Sep 17 00:00:00 2001
From: Pierre Riteau <pierre@stackhpc.com>
Date: Mon, 16 Jan 2023 14:28:20 +0100
Subject: [PATCH] CI: Avoid running tgtd if BASE_DISTRO is rocky

Change-Id: Iac88aece372102835b03f7e0e5684d0285857e97
---
 tests/setup_gate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh
index d2e2f6cc0..c14a85dcb 100755
--- a/tests/setup_gate.sh
+++ b/tests/setup_gate.sh
@@ -61,7 +61,7 @@ function prepare_images {
 
     if [[ $SCENARIO == "zun" ]]; then
         GATE_IMAGES+=",^zun,^kuryr,^etcd,^cinder,^iscsid"
-        if [[ $BASE_DISTRO != "centos" ]]; then
+        if [[ $BASE_DISTRO != "centos" && $BASE_DISTRO != "rocky" ]]; then
             GATE_IMAGES+=",^tgtd"
         fi
     fi
-- 
GitLab