runbook-tutorials/Makefile

10 lines
394 B
Makefile
Raw Normal View History

.PHONY: help test validate fix-consistency
help: ## List targets
@grep -E '^[a-z-]+:.*##' Makefile | sed 's/:.*##/ -/'
test: ## Run the test suite
python3 -m pytest tests
validate: ## Validate runbook packs under runbooks/
python3 -m rtut validate runbooks
fix-consistency: ## Sync workplans to State Hub: make fix-consistency REPO=runbook-tutorials
statehub fix-consistency --repo $(REPO)