Skip to content

Commit

Permalink
build: add changes to support csv generation
Browse files Browse the repository at this point in the history
this commits modifies the Makefile to support
csv generation in downstream repo. Later, from
upstream csv generation files will be removed.

Signed-off-by: subhamkrai <[email protected]>
  • Loading branch information
subhamkrai committed Mar 6, 2024
1 parent e709505 commit c5bcab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/ceph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ ifeq ($(INCLUDE_CSV_TEMPLATES),true)
@$(MAKE) csv
@cp -r ../../build/csv $(BUILD_CONTEXT_DIR)/ceph-csv-templates
@rm $(BUILD_CONTEXT_DIR)/ceph-csv-templates/csv-gen.sh
@$(MAKE) csv-clean

else
mkdir $(BUILD_CONTEXT_DIR)/ceph-csv-templates
Expand Down Expand Up @@ -123,6 +122,7 @@ csv: $(OPERATOR_SDK) $(YQv3)
@echo generate csv with latest operator-sdk
@mkdir -p ../../build/csv/ceph
@../../build/csv/csv-gen.sh
@git restore $(MANIFESTS_DIR)/crds.yaml ../../deploy/charts/rook-ceph/templates/resources.yaml
@# #adding 2>/dev/null since CI doesn't seems to be creating bundle.Dockerfile file
@rm bundle.Dockerfile 2> /dev/null || true

Expand Down

0 comments on commit c5bcab1

Please sign in to comment.