feat(svos): v0.0.14 (3726d73) release playbooks — staged on nh3-svos and built on nh3-dev; cutover in three phases held for Prime's card window
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# nh3-svos PHASE C of the v0.0.14 rollout: start app-interface 0.0.6 (already installed in /opt/svos/current = 3726d73 by
|
||||
# phase A). Its first start migrates the briefs index v1->v2 (copy kept in backup/pre-3726d73) and raises ONE card (kind/
|
||||
# name on the brief verbs): the interface refuses wrong-revision until Prime approves it. Then regenerate the front door.
|
||||
steps:
|
||||
- name: current is 3726d73 and the kernel is schema 14
|
||||
shell: test "$(readlink /opt/svos/current)" = /opt/svos/releases/3726d73 && curl -s http://127.0.0.1:8400/health | grep -q '"schema_version":14'
|
||||
changed_when: "false"
|
||||
- name: Start the interface
|
||||
sudo: true
|
||||
shell: |
|
||||
systemctl start svos-interface; sleep 6; systemctl is-active svos-interface
|
||||
journalctl -u svos-interface --since "-60s" --no-pager -o cat | grep -i -E "brief|migrat|v2|manifest|card|held|error" | tail -8 | cut -c1-200
|
||||
- name: Regenerate the front door inventory (33a7077 becomes the previous release)
|
||||
sudo: true
|
||||
shell: /usr/local/sbin/svos-front-inventory 2>&1 | grep -E 'GENERATED|updated|root \*|path /assets' | head -6
|
||||
verify:
|
||||
- name: Inventory current
|
||||
sudo: true
|
||||
shell: /usr/local/sbin/svos-front-inventory --check
|
||||
changed_when: "false"
|
||||
- name: Kernel health (the interface reads down until its card is approved)
|
||||
shell: curl -s http://127.0.0.1:8400/health
|
||||
changed_when: "false"
|
||||
Reference in New Issue
Block a user