Skip to content
quarry View Ticket
Login

View Ticket

2026-09-24
00:56 • Ticket [8eb0ca531a] VPS deploy: build from the store, health check, free-space floor, rollback status still Closed with 1 other change artifact: 9050a465e6 user: zeitgeist
2026-09-04
13:26 • Closed ticket [8eb0ca531a]. artifact: 34bf6cb88b user: zeitgeist
09:15 • New ticket [8eb0ca531a]. artifact: 71b19fec2a user: ai-local

VPS deploy: build from the store, health check, free-space floor, rollback

Closed8eb0ca531ac70ded71d6a5718e96ebf80905a99cCreated 87.6 days agoUpdated 67.9 days ago
Description2026-09-04 09:15:28
Port qdeploy.sh to the host: open trunk from the store into a scratch tree, build with the version stamp, refuse below a free-space floor (JetStream refuses to start on a nearly full disk and took the demo down twice on 2026-09-03), swap the binary, health-check the new process, and put the previous binary back if it does not bind within a deadline. Runs as the deploy user over the tailnet. Depends on the Linux build recipe and the systemd units.
2026-09-04 13:26:31

Done: /srv/quarry/deploy.sh on the host opens trunk from the store into a scratch tree, builds with the version stamp inside a golang container, refuses below a 3 GB free-space floor, installs beside the previous binary, restarts the unit, health-checks, and puts the previous binary back if the new one does not answer in 60 s. Since the origin flip it builds from its own store; QUARRY_UPSTREAM pulls from another forge only when set.