Praxis CI
|
6cf63cb064
|
docs(P01): verify — APPROVE_WITH_NOTES, 4 P0 fixed, 18/20 REQ covered
Verification layers:
Structural: PASS (all scripts executable, syntax clean, Dockerfile valid)
Behavioral: PASS (121 bats, 77 pytest, docker build succeeds, compose valid)
Security: PASS (no secrets committed, .dockerignore excludes .env*, env_file pattern)
Quality: PASS (coreci patterns followed, no coreci refs, G-104/G-105/G-106 verified)
P0 issues found and auto-fixed:
1. docker-compose.yml: removed invalid restart_policy key, fixed env_file syntax
2. pyproject.toml: added fastapi + uvicorn deps (v0.1 gap exposed by Dockerfile)
3. timing.sh: renamed coreci_deploy_timing → praxis_deploy_timing (TASK-03-07)
4. firstboot-hook.sh: fixed idempotency check (/opt/praxis/.git not /usr/local/bin/praxis-deploy)
P1+ issues: 8 (1 fixed: lxc-config.sh default alignment, 7 noted for post-hoc review)
REQ coverage: 18/20 covered, 2 deferred (live first-boot timing + live E2E require cluster)
Must-haves: 25/28 pass, 2 partial (comment-only diffs, no Makefile), 1 deferred
---ci---
project: praxis
phase: 1
milestone: v0.2
status: verify
---/ci---
|
2026-08-03 18:37:45 +00:00 |
|
Praxis CI
|
d32e4d487e
|
feat(P01): SLICE-05+06+07 — firstboot hook, install-service, deploy orchestrator
SLICE-05 (devops-engineer): firstboot-hook.sh — installs Docker inside CT
(apt: docker.io, docker-compose-v2, git, curl), clones praxis repo from
Gitea (GITEA_TOKEN baked into snippet per G-101 fix), runs install-service.sh
SLICE-06 (devops-engineer): install-service.sh — creates praxis user, writes
/etc/praxis/server.env from lxc.environment vars (G-103: all 16 env vars),
installs praxis.service systemd unit (Type=simple, ExecStartPre=docker compose
build, ExecStart=docker compose up, TimeoutStartSec=600 per RESEARCH Q8)
SLICE-07 (devops-engineer): lxc-deploy.sh orchestrator — stage snippet →
clone → config → start → health-check, idempotent (--recreate/--reconfigure),
rollback on failure, auto VMID allocation (D-027)
REQ-DEPLOY-06, 09, 10, 11 covered.
---ci---
project: praxis
phase: 1
milestone: v0.2
status: execute
slice: 05-07
wave: 3
---/ci---
|
2026-08-01 14:19:05 +00:00 |
|