Praxis CI
|
93d33ecb0c
|
feat(P01): SLICE-08+09+10 — secret wiring, bats tests (121), e2e verification
SLICE-08 (devops-engineer): .env.example updated with Proxmox deployment
vars (documented, sourced from ~/coreci/.env.secrets per D-026),
PRAXIS_CLIENT_DIST for StaticFiles, PRAXIS_SCENARIO. config.json
secrets.scopes already extended in SPECIFY (proxmox + voice scopes).
SLICE-09 (devops-engineer): 10 bats test files (G-106 fix: 10 not 9)
covering all proxmox scripts — 121 tests, 114 pass + 7 skipped (e2e).
Mocked curl/pct/ssh; no live cluster needed for unit tests.
SLICE-10 (devops-engineer): e2e-deploy.sh — sources secrets from both
coreci + praxis .env.secrets, runs full deploy, verifies /health +
client HTML serving. REQ-DEPLOY-15 covered.
All 6 grill binding decisions addressed:
G-101 MUST: GITEA_TOKEN baked into snippet (stage-snippet.sh)
G-102 MUST: PRAXIS_DB_PATH env read (db/store.py + db/migrate.py)
G-103 FIX: all 16 env vars in injection list (install-service.sh)
G-104 FIX: health-check timeout 600s (health-check.sh)
G-105 FIX: Dockerfile copy ordering (pyproject before source)
G-106 FIX: bats test count = 10
REQ-DEPLOY-12, 14, 15 covered. All 20 REQ-IDs now implemented.
---ci---
project: praxis
phase: 1
milestone: v0.2
status: execute
slice: 08-10
wave: 4
---/ci---
|
2026-08-03 18:17:40 +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 |
|
Praxis CI
|
bb17615f41
|
feat(P01): SLICE-03+04 — PVE API layer (8 scripts) + health-check
SLICE-03 (devops-engineer): ported from coreci/scripts/proxmox/:
api.sh (verbatim), ct-exists.sh, lxc-clone.sh (4GB/16GB, hostname=praxis),
lxc-config.sh (praxis env vars, praxis-firstboot.sh snippet), lxc-start.sh,
stage-snippet.sh (G-101 FIX: bakes GITEA_TOKEN into snippet via sed),
timing.sh (verbatim), rollback.sh (proxy code removed)
SLICE-04 (devops-engineer): health-check.sh adapted for /health:8789
(G-104 FIX: timeout bumped 300s→600s for Docker build margin)
REQ-DEPLOY-03, 04, 05, 07, 08 covered.
---ci---
project: praxis
phase: 1
milestone: v0.2
status: execute
slice: 03-04
wave: 2
---/ci---
|
2026-08-01 14:18:23 +00:00 |
|