Files
cluster-knaster/Makefile
Robert RappandClaude Opus 5.5 4a1bda3409
ci / test (push) Failing after 22s
Merge main in plan/aufbau-2026-10-12: KNOW-Analyse, Ontologie, cpu_roles
main (bis 13.10.) enthielt eine parallele Fassung von Task 0.4 (c81e372) sowie
KNOW-Befunde und die Ontologie. Konflikte zugunsten des Plan-Branches gelöst
(ausgerollter Stand); übernommen aus main: Ontologie (core/src/knaster/ontology,
ontology/, Tests, Router-Image), KNOW-Doku, cpu_roles im Placement samt
Kennzeichnung von pve61 und gode-pc-05/06 im Inventar und Test.
infra-stack kopiert jetzt auch ontology/ nach infra (Router-Build braucht es).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 19:23:22 +02:00

31 lines
997 B
Makefile

VENV := .venv
PY := $(VENV)/bin/python
.PHONY: dev test lint validate compose-check all
dev:
python3 -m venv $(VENV)
$(VENV)/bin/pip install -q --upgrade pip
$(VENV)/bin/pip install -q -e "core[dev]"
test:
$(VENV)/bin/pytest core
lint:
$(VENV)/bin/ruff check core
$(VENV)/bin/yamllint -s -c .yamllint.yml config catalog sites deploy/prometheus deploy/alertmanager deploy/litellm deploy/compose platform ontology
validate:
$(VENV)/bin/knaster validate --root .
$(VENV)/bin/knaster placement --inventory sites/knaster/inventory.yaml --catalog catalog > /dev/null
compose-check:
@for d in infra gpu-vllm gpu-llamacpp nex-speech; do \
(cd deploy/compose/$$d && cp .env.example .env.ci && \
POSTGRES_PASSWORD=ci VLLM_MODEL=ci SLOT_ALIAS=ci docker compose --env-file .env.ci \
--profile embed --profile chat --profile dashboards --profile proxmox config -q; \
rc=$$?; rm -f .env.ci; exit $$rc) || exit 1; \
done; echo "compose ok"
all: lint test validate compose-check