generated from coulomb/repo-seed
chore: add make sync-schedules target for Temporal schedule reconcile
Wraps python -m activity_core.sync_schedules for operator discoverability.
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,13 +1,16 @@
|
|||||||
-include .env
|
-include .env
|
||||||
export
|
export
|
||||||
|
|
||||||
.PHONY: sync-event-types sync-activity-definitions test migrate sync-all \
|
.PHONY: sync-event-types sync-activity-definitions sync-schedules test migrate sync-all \
|
||||||
dev-up dev-down railiance-up railiance-down \
|
dev-up dev-down railiance-up railiance-down \
|
||||||
start-worker start-api start-event-router help
|
start-worker start-api start-event-router help
|
||||||
|
|
||||||
sync-activity-definitions: ## Sync ActivityDefinition files into DB
|
sync-activity-definitions: ## Sync ActivityDefinition files into DB
|
||||||
uv run python -m activity_core.sync_activity_definitions
|
uv run python -m activity_core.sync_activity_definitions
|
||||||
|
|
||||||
|
sync-schedules: ## Reconcile Temporal schedules from activity_definitions DB
|
||||||
|
uv run python -m activity_core.sync_schedules
|
||||||
|
|
||||||
sync-event-types: ## Sync event type YAML files into DB
|
sync-event-types: ## Sync event type YAML files into DB
|
||||||
uv run python scripts/sync_event_types.py
|
uv run python scripts/sync_event_types.py
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user