Skip to content

Commit 9fc63ec

Browse files
authored
Stop and fail the installation of the test target on hazelcast failure (#400)
If the installation of the hazelcast operator fails the script should return an error code so that the CI reports this step as failed.
1 parent bdf6407 commit 9fc63ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/deploy-community-operator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fi
2222
# shellcheck disable=SC2143 # Use ! grep -q.
2323
if [[ -z "$(oc get packagemanifests | grep hazelcast 2>/dev/null)" ]]; then
2424
echo "hazelcast package was not found in the catalog, skipping installation"
25-
exit 0
25+
exit 1
2626
fi
2727
echo "hazelcast package found, starting installation"
2828

0 commit comments

Comments
 (0)