ci / test (push) Failing after 22s
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>
31 lines
997 B
Makefile
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
|