core-hub/Makefile
tegwick e3f01a46e7
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s
Build and Publish Container Image / build-and-push (push) Successful in 18s
Schedule Core Hub stabilization checks for T02 sign-off
Add daily and closeout ActivityDefinitions, a manual stabilization script,
runbook, and workplan notes for the 2026-07-03 to 2026-07-10 window.
2026-07-08 00:27:13 +02:00

47 lines
1.5 KiB
Makefile

.PHONY: install test lint run openapi migrate-validate deployed-smoke stabilization-check operator-cli staging-profile-check container-build playwright-install visual-check
UV ?= /home/worsch/.local/bin/uv
PYTHONPATH ?= src
IMAGE_REPOSITORY ?= gitea.coulomb.social/coulomb/core-hub
IMAGE_TAG ?= dev
CLI_ARGS ?=
install:
$(UV) sync --extra dev
test:
PYTHONPATH=$(PYTHONPATH) $(UV) run --extra dev pytest
lint:
PYTHONPATH=$(PYTHONPATH) $(UV) run --extra dev ruff check .
run:
PYTHONPATH=$(PYTHONPATH) $(UV) run uvicorn core_hub.app:app --reload --host 127.0.0.1 --port 8010
openapi:
PYTHONPATH=$(PYTHONPATH) $(UV) run python scripts/export_openapi.py contracts/openapi/core-hub.openapi.json
migrate-validate:
PYTHONPATH=$(PYTHONPATH) $(UV) run --extra dev python scripts/core_hub_migrate.py validate contracts/fixtures/migration/interhub-minimal.bundle.json
deployed-smoke:
PYTHONPATH=$(PYTHONPATH) $(UV) run --extra dev python scripts/core_hub_deployed_smoke.py
stabilization-check:
bash scripts/core_hub_stabilization_check.sh
operator-cli:
PYTHONPATH=$(PYTHONPATH) $(UV) run --extra dev python scripts/core_hub_cli.py $(CLI_ARGS)
staging-profile-check:
PYTHONPATH=$(PYTHONPATH) $(UV) run --extra dev python scripts/check_staging_profile.py
container-build:
docker build -t $(IMAGE_REPOSITORY):$(IMAGE_TAG) .
playwright-install:
$(UV) run --extra dev playwright install chromium
visual-check:
PYTHONPATH=$(PYTHONPATH) $(UV) run --extra dev python scripts/check_console_visual.py