Skip to content

Commit

Permalink
feat: re-generate plantuml images in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
typeid committed Sep 4, 2023
1 parent aca59cf commit feabc24
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ APIDIFF_OLD_COMMIT ?= $(shell git rev-parse origin/main)
apidiff: $(GO_APIDIFF) ## Check for API differences
$(GO_APIDIFF) $(APIDIFF_OLD_COMMIT) --print-compatible

ALL_VERIFY_CHECKS = licenses boilerplate shellcheck tiltfile modules gen conversions doctoc capi-book-summary
ALL_VERIFY_CHECKS = licenses boilerplate shellcheck tiltfile modules gen conversions doctoc capi-book-summary diagrams

.PHONY: verify
verify: $(addprefix verify-,$(ALL_VERIFY_CHECKS)) lint-dockerfiles ## Run all verify-* targets
Expand Down Expand Up @@ -674,6 +674,13 @@ verify-govulncheck: $(GOVULNCHECK) ## Verify code for vulnerabilities
exit 1; \
fi

.PHONY: verify-diagrams
verify-diagrams: generate-diagrams ## Verify generated diagrams are up to date
@if !(git diff --quiet HEAD); then \
git diff; \
echo "generated diagrams are out of date, run make generate-diagrams"; exit 1; \
fi

.PHONY: verify-security
verify-security: ## Verify code and images for vulnerabilities
$(MAKE) verify-container-images && R1=$$? || R1=$$?; \
Expand Down

0 comments on commit feabc24

Please sign in to comment.