docs: relocate felhom build root to /mnt/5_hdd/felhom.eu (moved off DooPlex SSD 2026-07-18)
This commit is contained in:
@@ -30,16 +30,17 @@ acts immediately; save it LAST). Rules: `publish-train-rules.md`.
|
||||
```bash
|
||||
SSH=/c/Windows/System32/OpenSSH/ssh.exe # Git Bash's own ssh fails silently against the Windows agent
|
||||
export MSYS_NO_PATHCONV=1 # before any felhom-pve command with absolute paths (pct etc.)
|
||||
FELHOM_ROOT=/mnt/5_hdd/felhom.eu # build-server working root: ALL felhom repos/build/drill/iso moved HERE 2026-07-18
|
||||
```
|
||||
|
||||
| Host | Access | Role |
|
||||
|---|---|---|
|
||||
| Build server | `$SSH kisfenyo@192.168.0.180` | builds (`~/git/felhom-agent`, `~/build/felhom-controller`, `~/build/felhom-hub`), kubectl |
|
||||
| Build server | `$SSH kisfenyo@192.168.0.180` | builds (`$FELHOM_ROOT/git/felhom-agent`, `$FELHOM_ROOT/build/felhom-controller`, `$FELHOM_ROOT/build/felhom-hub`), kubectl |
|
||||
| Demo PVE host | `$SSH felhom-pve` (root@192.168.0.162) | agent install, `pct exec 9201` |
|
||||
| Hub UI | hub.felhom.eu → Configuration | manifest vouch, MinAgent, floor (operator password) |
|
||||
|
||||
Housekeeping note: `~/build/felhom-agent` on 180 is a stale pre-June-23 leftover — agent builds live
|
||||
in `~/git/felhom-agent` now. Safe to remove the old dir.
|
||||
Housekeeping note: `$FELHOM_ROOT/build/felhom-agent` on 180 is a stale pre-June-23 leftover — agent
|
||||
builds live in `$FELHOM_ROOT/git/felhom-agent` now. Safe to remove the old dir.
|
||||
|
||||
## 2. Agent (felhom-agent binary → felhom-pve, then optionally publish)
|
||||
|
||||
@@ -47,7 +48,7 @@ Always commit+push to `main` first (an unpushed change does not exist).
|
||||
|
||||
```bash
|
||||
# BUILD on 180 (the explicit git pull is load-bearing)
|
||||
$SSH kisfenyo@192.168.0.180 "cd ~/git/felhom-agent && git pull && go build -ldflags '-X main.version=<VER>' -o /tmp/felhom-agent-<VER> ./cmd/felhom-agent"
|
||||
$SSH kisfenyo@192.168.0.180 "cd $FELHOM_ROOT/git/felhom-agent && git pull && go build -ldflags '-X main.version=<VER>' -o /tmp/felhom-agent-<VER> ./cmd/felhom-agent"
|
||||
|
||||
# FETCH locally, PUSH to the PVE host (Windows scp needs cygpath for the local side)
|
||||
scp kisfenyo@192.168.0.180:/tmp/felhom-agent-<VER> "$(cygpath -w /tmp/felhom-agent-<VER>)"
|
||||
@@ -82,7 +83,7 @@ artifact manifest**. (This save does NOT move the floor — that's a separate ca
|
||||
|
||||
```bash
|
||||
# BUILD+PUSH the image (build.sh does NOT pull — the explicit pull is load-bearing)
|
||||
$SSH kisfenyo@192.168.0.180 "cd ~/build/felhom-controller && git -C ~/git/felhom-controller pull && ./build.sh <VER> --push"
|
||||
$SSH kisfenyo@192.168.0.180 "cd $FELHOM_ROOT/build/felhom-controller && git -C $FELHOM_ROOT/git/felhom-controller pull && ./build.sh <VER> --push"
|
||||
|
||||
# DEPLOY on the demo guest
|
||||
$SSH felhom-pve "pct exec 9201 -- bash -c 'docker pull gitea.dooplex.hu/admin/felhom-controller:<VER> && echo gitea.dooplex.hu/admin/felhom-controller:<VER> > /etc/felhom-controller-image && systemctl restart felhom-controller-bootstrap.service'"
|
||||
@@ -119,7 +120,7 @@ tag changes in git and the ArgoCD app is deliberately synced (auto-sync is OFF;
|
||||
`kubectl set image`, never `:latest`).
|
||||
|
||||
```bash
|
||||
$SSH kisfenyo@192.168.0.180 "cd ~/build/felhom-hub && ./build.sh <VER> --push"
|
||||
$SSH kisfenyo@192.168.0.180 "cd $FELHOM_ROOT/build/felhom-hub && ./build.sh <VER> --push"
|
||||
# edit manifests/hub.yaml image tag → <VER>; commit; push
|
||||
$SSH kisfenyo@192.168.0.180 "sudo kubectl -n argocd annotate application felhom argocd.argoproj.io/refresh=hard --overwrite; sleep 8; sudo kubectl -n argocd get application felhom -o jsonpath='{.status.sync.status} {.status.sync.revision}{\"\n\"}'"
|
||||
$SSH kisfenyo@192.168.0.180 "sudo kubectl -n argocd patch application felhom --type merge -p '{\"operation\":{\"initiatedBy\":{\"username\":\"op\"},\"sync\":{\"syncStrategy\":{\"apply\":{}}}}}'"
|
||||
|
||||
Reference in New Issue
Block a user