Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
test: only use --index-image for "run bundle"
Browse files Browse the repository at this point in the history
"run bundle-upgrade" does not support it, breaking the version skew tests after
merging the PR.
  • Loading branch information
pohly committed Aug 8, 2022
1 parent 9b69124 commit aec5657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/start-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function deploy_using_olm() {
# Deploy the operator
# Pinning the image is a workaround for https://github.com/operator-framework/operator-registry/issues/984.
${BINDIR}/operator-sdk run bundle${upgrade} ${NAMESPACE} --timeout 5m ${TEST_LOCAL_REGISTRY}/pmem-csi-bundle:v${BUNDLE_VERSION} \
--index-image=quay.io/operator-framework/opm:v1.23.0 \
$(if ! [ "${upgrade}" ]; then echo '--index-image=quay.io/operator-framework/opm:v1.23.0'; fi) \
$(if ${TEST_LOCAL_REGISTRY_SKIP_TLS}; then echo '--skip-tls'; fi)
}

Expand Down

0 comments on commit aec5657

Please sign in to comment.