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

Commit 8ee638a

Browse files
committed
operator: eliminate redundant operator-validate-bundle
This caused a make[1]: *** No rule to make target 'deploy/olm-bundle/100.0.0', needed by 'operator-validate-bundle'. Stop. probably because the recursive make was invoked with an unclean repository, which causes MAJOR_MINOR_PATCH_VERSION to become 100.0.0 instead of the actual tagged version.
1 parent 58ca504 commit 8ee638a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

operator/operator.make

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ endif
7979
sed -i -e "s;$(BUNDLE_DIR)/;;g" -e "/scorecard/d" -e '/FROM scratch/a LABEL com.redhat.openshift.versions="$(OPENSHIFT_VERSIONS)"' bundle.Dockerfile
8080
sed -i -e "/scorecard/d" $(BUNDLE_DIR)/metadata/annotations.yaml
8181
mv bundle.Dockerfile $(BUNDLE_DIR)
82-
@make operator-validate-bundle
83-
84-
operator-validate-bundle: _work/bin/operator-sdk-$(OPERATOR_SDK_VERSION) $(BUNDLE_DIR)
8582
@if ! OUT="$$($< bundle validate --select-optional name=operatorhub $(BUNDLE_DIR) 2>&1 && \
8683
$< bundle validate --select-optional name=good-practices $(BUNDLE_DIR) 2>&1 )"; then \
8784
echo >&2 "ERROR: Operator bundle in $(BUNDLE_DIR) did not pass validation:"; \

0 commit comments

Comments
 (0)