From ac13966f30a8f2bb9aa454b89ff29ffa4097888b Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Sat, 18 Jul 2026 09:55:16 +0200 Subject: [PATCH] build: repoint build.sh to /mnt/5_hdd/felhom.eu (DooPlex build root moved off SSD 2026-07-18) --- CHANGELOG.md | 6 ++++++ CLAUDE.md | 4 ++-- controller/build.sh | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 026e274..6d35a56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Changelog +### Build infra — build root relocated (2026-07-18) + +- `controller/build.sh`: `REPO_DIR` + `WEBSITE_ASSETS_DIR` repointed `/home/kisfenyo/…` → + `/mnt/5_hdd/felhom.eu/…`. All felhom working dirs on the DooPlex build server (180) were hard-moved + off the (filling) SSD to `/mnt/5_hdd/felhom.eu/`. No controller code/behavior change; no version bump. + ### v0.143.0 — guest RAM resize UI (R-24) — MinAgent: 0.90.0 (2026-07-17) The customer sees the guest's current memory + the allowed range on the **Rendszer** settings page and diff --git a/CLAUDE.md b/CLAUDE.md index a0571c2..87c4b81 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -119,7 +119,7 @@ Claude Code runs on Windows 11; repos in `E:\git\` (`/e/git/` in Git Bash). All | Host | Access | Role | |------|--------|------| -| Build server (k3s) | `$SSH kisfenyo@192.168.0.180` | build + push images (`~/build/felhom-controller`) | +| Build server (k3s) | `$SSH kisfenyo@192.168.0.180` | build + push images (`/mnt/5_hdd/felhom.eu/build/felhom-controller` — all felhom dirs moved off the SSD to `/mnt/5_hdd/felhom.eu/` 2026-07-18) | | Demo Proxmox host `demo-felhom` | `$SSH felhom-pve` (root@192.168.0.162) | `pct` into guests; live validation | | Demo guest 9201 | `pct exec 9201 -- ...` on felhom-pve | the live demo controller (golden/bootstrap-managed) | | felhotest (legacy) | `$SSH -p 33022 kisfenyo@router.abonet.hu` | OLD /opt/docker compose mechanism | @@ -134,7 +134,7 @@ External access via Cloudflare Tunnel → Traefik; Pi-hole forwards `*.demo-felh | Step | Command | |------|---------| | 1. Commit + push | `git add -A && git commit -m "..." && git push` | -| 2. Build + push image | `$SSH kisfenyo@192.168.0.180 "cd ~/build/felhom-controller && git -C ~/git/felhom-controller pull && ./build.sh --push"` (build.sh does NOT pull — the explicit pull is load-bearing) | +| 2. Build + push image | `$SSH kisfenyo@192.168.0.180 "cd /mnt/5_hdd/felhom.eu/build/felhom-controller && git -C /mnt/5_hdd/felhom.eu/git/felhom-controller pull && ./build.sh --push"` (build.sh does NOT pull — the explicit pull is load-bearing) | | 3. Deploy (9201) | `$SSH felhom-pve "pct exec 9201 -- bash -c 'docker pull gitea.dooplex.hu/admin/felhom-controller: && echo gitea.dooplex.hu/admin/felhom-controller: > /etc/felhom-controller-image && systemctl restart felhom-controller-bootstrap.service'"` | | 4. Verify | `$SSH felhom-pve "pct exec 9201 -- docker ps --filter name=felhom-controller --format '{{.Image}} {{.Status}}'"` + container logs | diff --git a/controller/build.sh b/controller/build.sh index 0b19911..a6f9f10 100755 --- a/controller/build.sh +++ b/controller/build.sh @@ -2,7 +2,7 @@ # ============================================================================= # felhom-controller — Docker image build script # ============================================================================= -# Location: /home/kisfenyo/build/felhom-controller/build.sh +# Location: /mnt/5_hdd/felhom.eu/build/felhom-controller/build.sh (moved off the DooPlex SSD 2026-07-18) # # Copies source from the git repo, syncs app assets, and builds the image. # Build artifacts stay here — the git repo stays clean. @@ -16,9 +16,9 @@ set -euo pipefail # --- Configuration (edit these if your paths differ) --- -REPO_DIR="/home/kisfenyo/git/felhom-controller" +REPO_DIR="/mnt/5_hdd/felhom.eu/git/felhom-controller" CONTROLLER_SRC="${REPO_DIR}/controller" -WEBSITE_ASSETS_DIR="/home/kisfenyo/git/felhom.eu/website/assets" +WEBSITE_ASSETS_DIR="/mnt/5_hdd/felhom.eu/git/felhom.eu/website/assets" REGISTRY="gitea.dooplex.hu/admin" IMAGE="${REGISTRY}/felhom-controller"