ci / test (push) Successful in 29s
- deploy/compose/nex-speech: whisper-server v1.9.4 (sm_52/sm_61, Port 8178, -l de -bs 5 --convert, tmpfs, Aufwärmen mit 1 s Stille) und OpenAI-kompatibler Piper-Wrapper (Port 8179, mp3/opus/aac/flac/pcm gestreamt, wav, PCM 24 kHz mit Rate-Header) - Host-Netz, damit ufw greift; keine Texte in Logs, kein Access-Log - Rolle nex-speech + Playbook (nur gpu-pve52): ufw, Modelle mit sha256, Compose bauen/starten - compose-check um nex-speech erweitert, community.docker in requirements.yml Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
988 B
Makefile
31 lines
988 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
|
|
|
|
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
|