Skip to content

Commit

Permalink
ci/airgap: Fleet should be present
Browse files Browse the repository at this point in the history
If the list of Rancher's dependencies doesn't contains Fleet we should
stop the test.

Signed-off-by: Loic Devulder <[email protected]>
  • Loading branch information
ldevulder committed Dec 10, 2024
1 parent 8125ef4 commit 462c1b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/scripts/build-airgap
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ if $(grep -iq 'not found' ${RANCHER_IMAGES_FILE}) || [[ ! -s ${RANCHER_IMAGES_FI
error "ERROR: file ${RANCHER_IMAGES_FILE} is empty or not found!"
fi

# Fleet should be present in the file, otherwise no need to go further!
if ! $(grep -iq 'fleet' ${RANCHER_IMAGES_FILE}); then
error "ERROR: fleet is not found in file ${RANCHER_IMAGES_FILE}!"
fi

# CertManager image list
CERT_IMAGES_FILE=cert-manager-images.txt
RunHelmCmdWithRetry template ${OPT_RANCHER}/helm/cert-manager-${CERT_MANAGER_VERSION}.tgz \
Expand Down

0 comments on commit 462c1b3

Please sign in to comment.