kunibert
All repositories: gitoria
1.3 KB
#!/usr/bin/env bash# Deploy Kunibert to byrodin (Apollo 2026-11-02): git checkout in /CONTAINERS/projects/kunibert, systemd unit kunibert.service,# HL_ENV=production, listens on 127.0.0.1:45011 only. Data in /CONTAINERS/projects/kunibert-data, secrets/config in /root/.config/kunibert (600).# Usage (from loreana): deploy/deploy.sh [<hybriel native/zig-out dir to vendor as bin/>] — pushes nothing; byrodin pulls main from gitoria.set -euo pipefailS=/media/STORAGE/projects/WorldAPI/worldapi-conductor/byrodin-ssh.sh; [email protected]; D=/CONTAINERS/projects/kunibertZO=${1:-} # optional: a hybriel native/zig-out dir to vendor as bin/ (hybriel, hlc.o, libhlrt.a, hlrt/), like gitoria's re-vendors$S $H "set -e; cd $D && git fetch -q origin && git reset -q --hard origin/main && git log --oneline -1"if [ -n "$ZO" ]; thenrsync -a --delete -e "$S" "$ZO/bin/hybriel" "$ZO/lib/hlc.o" "$ZO/lib/libhlrt.a" "$ZO/lib/hlrt" $H:$D/bin/fi$S $H "set -e; install -m 644 $D/deploy/kunibert.service /etc/systemd/system/kunibert.service && systemctl daemon-reload && systemctl enable -q kunibert.service && systemctl restart kunibert.service"for i in $(seq 1 20); doif $S $H "curl -sf -m 3 http://127.0.0.1:45011/health"; then echo; echo "deploy OK"; exit 0; fi; sleep 2doneecho "deploy FAILED: no /health on 127.0.0.1:45011"; $S $H "journalctl -u kunibert.service -n 30 --no-pager"; exit 1
Branches
Latest commits
- 7480a98dkunibert.service: SIGTERM stop is a clean exitKunibert
- 3a8d93f9gitoria client: parse only JSON answers, accept a plain-text errorKunibert
- c9b48bfeVendor Hybriel plugins; deploy ships bin/ from zig-outKunibert
- a41ba15fKunibert: event intake, git cache, review runner, posting, linked tickets, deploy filesKunibert