Skip to content

Commit

Permalink
Fix OLM test: add debug information (#334)
Browse files Browse the repository at this point in the history
Fix OLM install order in common setup



Delete debug information

Signed-off-by: frherrer <[email protected]>
Co-authored-by: frherrer <[email protected]>
  • Loading branch information
istio-testing and fjglira authored Sep 12, 2024
1 parent 2a29846 commit 5b1bb9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/e2e/common-operator-integ-suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,7 @@ if [ "${SKIP_BUILD}" == "false" ]; then
# If OLM is enabled, deploy the operator using OLM
# We are skipping the deploy via OLM test on OCP because the workaround to avoid the certificate issue is not working.
# Jira ticket related to the limitation: https://issues.redhat.com/browse/OSSM-7993
if [ "${OLM}" == "true" ] && [ "${SKIP_DEPLOY}" == "false" ]; then
# Install OLM in the cluster because it's not available by default in kind.
${OPERATOR_SDK} olm install

if [ "${OLM}" == "true" ] && [ "${SKIP_DEPLOY}" == "false" ]; then
# Set image-related variables
IMAGE_TAG_BASE="${HUB}/${IMAGE_BASE}"
BUNDLE_IMG="${IMAGE_TAG_BASE}-bundle:v${VERSION}"
Expand All @@ -233,6 +230,9 @@ if [ "${SKIP_BUILD}" == "false" ]; then
BUNDLE_IMG="${BUNDLE_IMG}" \
OPENSHIFT_PLATFORM=false \
make bundle bundle-build bundle-push

# Install OLM in the cluster because it's not available by default in kind.
${OPERATOR_SDK} olm install

# Create operator namespace
${COMMAND} create ns "${NAMESPACE}" || echo "Creation of namespace ${NAMESPACE} failed with the message: $?"
Expand Down

0 comments on commit 5b1bb9a

Please sign in to comment.