Skip to content

Commit

Permalink
Makefile deploy-with-olm: override the csv version
Browse files Browse the repository at this point in the history
When running the CI from a tagged version (i.e. when doing releases), we
need to override the csv version too as the tagged version is not main
and CI would fail.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
  • Loading branch information
fedepaol committed Apr 24, 2024
1 parent e3e63e4 commit 505066c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ deploy-olm: operator-sdk kind-cluster ## deploys OLM on the cluster
$(OPERATOR_SDK) olm status

deploy-with-olm: export VERSION=dev
deploy-with-olm: export CSV_VERSION=0.0.0
deploy-with-olm: deploy-olm load-on-kind build-and-push-bundle-images ## deploys the operator with OLM instead of manifests
sed -i 's|image:.*|image: $(BUNDLE_INDEX_IMG)|' config/olm-install/install-resources.yaml
sed -i 's#mymetallb#$(NAMESPACE)#g' config/olm-install/install-resources.yaml
Expand Down

0 comments on commit 505066c

Please sign in to comment.