2026-08-21 10:58:03 +02:00
|
|
|
.PHONY: install test runtime-run conformance container-build ecosystem-regression
|
2026-07-11 01:26:47 +02:00
|
|
|
|
|
|
|
|
UV ?= uv
|
|
|
|
|
ECOSYSTEM_REGRESSION ?= /home/worsch/the-custodian/scripts/hub-ecosystem-regression.sh
|
2026-08-21 10:58:03 +02:00
|
|
|
IMAGE_REPOSITORY ?= forgejo.coulomb.social/coulomb/hub-core
|
|
|
|
|
IMAGE_TAG ?= dev
|
2026-07-11 01:26:47 +02:00
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
$(UV) sync
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
$(UV) run python -m pytest -q
|
|
|
|
|
|
2026-08-21 10:58:03 +02:00
|
|
|
runtime-run:
|
|
|
|
|
$(UV) run --extra runtime hub-core api
|
|
|
|
|
|
|
|
|
|
conformance:
|
|
|
|
|
$(UV) run hub-core conformance --base-url $${HUB_CORE_API_BASE:-http://127.0.0.1:8010}
|
|
|
|
|
|
|
|
|
|
container-build:
|
|
|
|
|
docker build -f Containerfile -t $(IMAGE_REPOSITORY):$(IMAGE_TAG) .
|
|
|
|
|
|
2026-07-11 01:26:47 +02:00
|
|
|
ecosystem-regression:
|
2026-08-21 10:58:03 +02:00
|
|
|
bash $(ECOSYSTEM_REGRESSION)
|