Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions hack/tests/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ load_image_if_kind "$OSDK_INTEGRATION_IMAGE"

popd

# todo: upgrade to use the 0.17.0 when the issue https://github.com/operator-framework/operator-sdk/issues/4284 be solved
# Install OLM on the cluster if not installed.
olm_latest_exists=0
if ! operator-sdk olm status > /dev/null 2>&1; then
operator-sdk olm install --version=0.17.0
operator-sdk olm install --version=0.15.1
olm_latest_exists=1
fi

Expand All @@ -38,7 +39,8 @@ go test -v ./test/integration

header_text "Integration tests succeeded"

# todo: upgrade to use the 0.17.0 when the issue https://github.com/operator-framework/operator-sdk/issues/4284 be solved
# Uninstall OLM if it was installed for test purposes.
if eval "(( $olm_latest_exists ))"; then
operator-sdk olm uninstall --version=0.17.0
operator-sdk olm uninstall --version=0.15.1
fi