generated from coulomb/repo-seed
Add automation inventory surface
This commit is contained in:
12
Makefile
12
Makefile
@@ -2,7 +2,7 @@
|
||||
export
|
||||
|
||||
.PHONY: sync-event-types sync-activity-definitions sync-schedules test migrate sync-all \
|
||||
automation-status automation-status-json \
|
||||
automation-status automation-status-json automation-list automation-list-json \
|
||||
dev-up dev-down railiance-up railiance-down \
|
||||
start-worker start-api start-event-router help
|
||||
|
||||
@@ -29,6 +29,10 @@ sync-all: sync-event-types sync-activity-definitions ## Sync event types and ac
|
||||
|
||||
SINCE ?= today
|
||||
FORMAT ?= human
|
||||
ENABLED ?= all
|
||||
TRIGGER ?=
|
||||
ACTIVITY_ID ?=
|
||||
ACTIVITY_NAME ?=
|
||||
|
||||
automation-status: ## Report recent automation status from repo-owned evidence
|
||||
uv run python scripts/automation_status.py --since "$(SINCE)" $(if $(UNTIL),--until "$(UNTIL)",) --format "$(FORMAT)"
|
||||
@@ -36,6 +40,12 @@ automation-status: ## Report recent automation status from repo-owned evidence
|
||||
automation-status-json: ## Report recent automation status as JSON
|
||||
$(MAKE) automation-status FORMAT=json
|
||||
|
||||
automation-list: ## List configured scheduled automations from repo-owned definitions
|
||||
@uv run python scripts/automation_inventory.py --format "$(FORMAT)" --enabled "$(ENABLED)" $(if $(TRIGGER),--trigger-type "$(TRIGGER)",) $(if $(ACTIVITY_ID),--activity-id "$(ACTIVITY_ID)",) $(if $(ACTIVITY_NAME),--activity-name "$(ACTIVITY_NAME)",)
|
||||
|
||||
automation-list-json: ## List configured scheduled automations as JSON
|
||||
@$(MAKE) --no-print-directory automation-list FORMAT=json
|
||||
|
||||
# ── Infrastructure ─────────────────────────────────────────────────────────────
|
||||
|
||||
dev-up: ## Start full dev stack (Temporal + PG + ES + NATS)
|
||||
|
||||
Reference in New Issue
Block a user