Deploy to TrueNAS via the middleware websocket API #96
Labels
No labels
auto-merge
bug
chore
dependency
duplicate
enhancement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
hobbypunk/rails-base_app#96
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ziel
Deployment der App auf das TrueNAS-Homelab (Goldeye 25.10, reine WebSocket-Middleware-API) über eine Composite Action:
app.query: Existiert eine App mit dem Repo-Namen? (Bootstrap bewusst manuell – die Action aktualisiert nur bestehende Apps)app.updatemit der modifizierten ConfigVorgehen (Probe-first)
Da die API reine WebSocket ist (JSON-RPC-Frames, Bearer-Auth im Handshake) und die Config-Struktur von Custom Apps gegen die echte API entwickelt werden muss:
truenas-deployAction im Probe-Modus (dry-run): verbindet, queried, dumped die centinel-Config ins Job-LogTRUENAS_API_URL+TRUENAS_API_KEYhinterlegen; Runner-Erreichbarkeit prüfendeploy.ymlWorkflow: erstworkflow_dispatch(Probe/Manuell), späterrelease-Trigger nach dem Image-PushAnschluss an die Pipeline
Release → CI grün → Image in der Registry → TrueNAS-Rollout. Danach Zentralisierung der Workflows ins neue shared-Ökosystem.