gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchjob-timeout402bfeb0|||PR runner: the model run uses the job's time limit (jobTimeoutSeconds), not a fixed 900 smrejob-timeout/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

  • 402bfeb0|||PR runner: the model run uses the job's time limit (jobTimeoutSeconds), not a fixed 900 smre
  • 8d34ca33records: repo rename (gitoria#53)mre
  • 1e05cb3fMerge branch 'repo-rename' into mainKunibert
  • 6ee0d2e9|||PR intake: match a delivery by repo.id and signature, not URLs (gitoria#53 rename)mre
  • 900ffcd4status: routgermre
  • 59b0b793log: routger merge waitmre
  • e52f094alog: routger intake check (hycon#122)mre
  • f979027frecords: design rule livemre
  • 71efaf84Merge branch 'design-guard' into mainKunibert
  • c0656581|||PR Flag removal of a documented design as major unless his recorded yes is linked; rules version 5mre
  • 901cdd75records: L10 update 2 livemre
  • 4a68016bMerge branch 'hl-standard-l10b' into mainKunibert
  • 246d0f30|||PR HL-STANDARD L10 update (hybriel ab293e5a), rules version 4mre
  • 1aa4d64crecords: HL-STANDARD L10 update livemre
  • 2b04c240Merge branch 'hl-standard-l10' into mainKunibert
  • 88c7b09d|||PR HL-STANDARD L10 update (hybriel 5885d688), rules version 3mre
  • 00869ecbrecords: gitoria#50 step 3 livemre
  • f97a0e5fMerge branch 'hl-standard' into mainKunibert
  • 9710e39fType STANDARD as String (L10, Kunibert review)mre
  • 4140b664|||PR Review against HL-STANDARD and cite rule ids (gitoria#50 step 3)mre