ops(svos): v0.0.22 (UI 0.0.26) staged on nh3-svos; publish gated on the tag

This commit is contained in:
vh
2026-10-19 01:24:21 -07:00
parent 83ed354f4a
commit 9e8f439597
2 changed files with 52 additions and 0 deletions
@@ -0,0 +1,26 @@
# nh3-svos -> SVOS v0.0.22 (2f29d0d): UI-only publish. UI 0.0.26 (the task result view reads the manifest's files by path, so a
# task's PDF lists with Open/Save; two working-look hardening fixes). Kernel = a version bump; no app change, no card.
# svos-dev's request, thread 01M59M4T3ZWS0WKQJWZ9RE86B4. PRE-REQS: the stage playbook; origin's v0.0.22 == 2f29d0d667d6
# (git ls-remote on nh3-dev before this runs). current must move because svos-front-inventory generates from
# /opt/svos/current/static; NOTHING restarts: the kernel, knowledge, judge and voice keep running 15c2d04's code and the
# interface 6d4cb1c's (all identical in code), so keep both dirs until those processes restart.
steps:
- name: Pre-reqs present
sudo: true
shell: test -f /opt/svos/releases/2f29d0d/static/index.html && readlink /opt/svos/current
changed_when: "false"
- name: Switch current to 2f29d0d
sudo: true
shell: ln -sfn /opt/svos/releases/2f29d0d /opt/svos/current.new && chgrp -h svc-svos /opt/svos/current.new && mv -T /opt/svos/current.new /opt/svos/current && readlink /opt/svos/current
- name: Front door inventory (UI 0.0.26 live; 45d3a48 becomes previous)
sudo: true
shell: /usr/local/sbin/svos-front-inventory 2>&1 | grep -E 'GENERATED|updated|root \*|path /assets' | head -4
verify:
- name: Front door inventory current; health unchanged
sudo: true
shell: /usr/local/sbin/svos-front-inventory --check && curl -s http://127.0.0.1:8400/health && echo
changed_when: "false"
- name: Which release dir each running service maps (nothing restarted)
sudo: true
shell: for u in svos-kernel svos-interface svos-knowledge svos-judge svos-voice; do pid=$(systemctl show $u -p MainPID --value); printf '%s %s\n' $u "$(grep -oE '/opt/svos/releases/[0-9a-f]+' /proc/$pid/maps | sort -u | tr '\n' ' ')"; done
changed_when: "false"