File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -607,7 +607,7 @@ APIDIFF_OLD_COMMIT ?= $(shell git rev-parse origin/main)
607
607
apidiff : $(GO_APIDIFF ) # # Check for API differences
608
608
$(GO_APIDIFF ) $(APIDIFF_OLD_COMMIT ) --print-compatible
609
609
610
- ALL_VERIFY_CHECKS = licenses boilerplate shellcheck tiltfile modules gen conversions doctoc capi-book-summary
610
+ ALL_VERIFY_CHECKS = licenses boilerplate shellcheck tiltfile modules gen conversions doctoc capi-book-summary diagrams
611
611
612
612
.PHONY : verify
613
613
verify : $(addprefix verify-,$(ALL_VERIFY_CHECKS ) ) lint-dockerfiles # # Run all verify-* targets
@@ -674,6 +674,13 @@ verify-govulncheck: $(GOVULNCHECK) ## Verify code for vulnerabilities
674
674
exit 1; \
675
675
fi
676
676
677
+ .PHONY : verify-diagrams
678
+ verify-diagrams : generate-diagrams # # Verify generated diagrams are up to date
679
+ @if ! (git diff --quiet HEAD); then \
680
+ git diff; \
681
+ echo " generated diagrams are out of date, run make generate-diagrams" ; exit 1; \
682
+ fi
683
+
677
684
.PHONY : verify-security
678
685
verify-security : # # Verify code and images for vulnerabilities
679
686
$(MAKE ) verify-container-images && R1=$$? || R1=$$? ; \
You can’t perform that action at this time.
0 commit comments