gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitc3391204c3391204Answer fresh reviews under open threadsKunibertc3391204/deploy/deploy.sh

1.3 KB

  1. #!/usr/bin/env bash
  2. # Deploy Kunibert to byrodin (Apollo 2026-11-02): git checkout in /CONTAINERS/projects/kunibert, systemd unit kunibert.service,
  3. # HL_ENV=production, listens on 127.0.0.1:45011 only. Data in /CONTAINERS/projects/kunibert-data, secrets/config in /root/.config/kunibert (600).
  4. # Usage (from loreana): deploy/deploy.sh [<hybriel native/zig-out dir to vendor as bin/>] — pushes nothing; byrodin pulls main from gitoria.
  5. set -euo pipefail
  6. S=/media/STORAGE/projects/WorldAPI/worldapi-conductor/byrodin-ssh.sh; [email protected]; D=/CONTAINERS/projects/kunibert
  7. ZO=${1:-} # optional: a hybriel native/zig-out dir to vendor as bin/ (hybriel, hlc.o, libhlrt.a, hlrt/), like gitoria's re-vendors
  8. $S $H "set -e; cd $D && git fetch -q origin && git reset -q --hard origin/main && git log --oneline -1"
  9. if [ -n "$ZO" ]; then
  10. rsync -a --delete -e "$S" "$ZO/bin/hybriel" "$ZO/lib/hlc.o" "$ZO/lib/libhlrt.a" "$ZO/lib/hlrt" $H:$D/bin/
  11. fi
  12. $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"
  13. for i in $(seq 1 20); do
  14. if $S $H "curl -sf -m 3 http://127.0.0.1:45011/health"; then echo; echo "deploy OK"; exit 0; fi; sleep 2
  15. done
  16. echo "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

  • c3391204Answer fresh reviews under open threadsKunibert
  • a0f3d147Records: #16 livemre
  • 04322148Run reviews in parallel across repositoriesKunibert
  • a6577aaeRecords: #14 live, #16 startedmre
  • 0382238bStart fresh on Review again and name vendored pathsKunibert
  • 5608c6f1Records: kunibert#13 vendored paths livemre
  • 8840771dExclude vendored findings from app verdictsKunibert
  • 6aa65353Records: jukebox connected, first reviewmre
  • ad8011cfRecords: neutral ticket rule, jukeboxmre
  • ca5f31dfPrompt: neutral reviewer identitymre
  • b241d9c8Records: Anton tryParse noteKunibert
  • 42cc1bc0Records: K12 doneKunibert
  • 9e6039eeRecords: gates K11, K12Kunibert
  • 59b8fe83Use Hybriel day39 helpersKunibert
  • c2e393a2Records: K12 startedKunibert
  • 00696678Records: Anton day39 notemre
  • 070e01a4Records: parkmre
  • bf8af0dcRecords: v1.4 checkedmre
  • 44af321bRecords: contract v1.4mre
  • 310f3fd0Records: outdated semanticsmre