Skip to content

Commit 462c1b3

Browse files
committed
ci/airgap: Fleet should be present
If the list of Rancher's dependencies doesn't contains Fleet we should stop the test. Signed-off-by: Loic Devulder <ldevulder@suse.com>
1 parent 8125ef4 commit 462c1b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/scripts/build-airgap

+5
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,11 @@ if $(grep -iq 'not found' ${RANCHER_IMAGES_FILE}) || [[ ! -s ${RANCHER_IMAGES_FI
156156
error "ERROR: file ${RANCHER_IMAGES_FILE} is empty or not found!"
157157
fi
158158

159+
# Fleet should be present in the file, otherwise no need to go further!
160+
if ! $(grep -iq 'fleet' ${RANCHER_IMAGES_FILE}); then
161+
error "ERROR: fleet is not found in file ${RANCHER_IMAGES_FILE}!"
162+
fi
163+
159164
# CertManager image list
160165
CERT_IMAGES_FILE=cert-manager-images.txt
161166
RunHelmCmdWithRetry template ${OPT_RANCHER}/helm/cert-manager-${CERT_MANAGER_VERSION}.tgz \

0 commit comments

Comments
 (0)