amsd-pipeline 1.11.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.sh +20 -0
- package/package.json +1 -1
package/install.sh
CHANGED
|
@@ -102,6 +102,13 @@ if [ "$UNINSTALL" = "1" ]; then
|
|
|
102
102
|
if stop_runner_host "$_UN_ROOT/launch-dashboard" && [ -n "$_UN_RH_WAS_RUNNING" ]; then
|
|
103
103
|
_ok "stopped runner-host (pid $_UN_RH_WAS_RUNNING)"
|
|
104
104
|
fi
|
|
105
|
+
_UN_SW_PIDFILE="$_UN_ROOT/orchestrations/dashboards/.snapshot-watch.pid"
|
|
106
|
+
_UN_SW_WAS_RUNNING=""
|
|
107
|
+
[ -f "$_UN_SW_PIDFILE" ] && _UN_SW_WAS_RUNNING="$(cat "$_UN_SW_PIDFILE" 2>/dev/null)"
|
|
108
|
+
. "$INSTALLER_DIR/lib/snapshot-watch-control.sh"
|
|
109
|
+
if stop_snapshot_watch "$_UN_ROOT" && [ -n "$_UN_SW_WAS_RUNNING" ]; then
|
|
110
|
+
_ok "stopped snapshot-watch (pid $_UN_SW_WAS_RUNNING)"
|
|
111
|
+
fi
|
|
105
112
|
|
|
106
113
|
. "$INSTALLER_DIR/lib/isolated-compose-identity.sh"
|
|
107
114
|
if [ -f "$INSTALLER_DIR/lib/container-runtime.sh" ]; then
|
|
@@ -650,6 +657,19 @@ case "$USE_DOCKER" in
|
|
|
650
657
|
else _warn "no container runtime is running — dashboards unavailable, THE PIPELINE STILL RUNS"; fi ;;
|
|
651
658
|
esac
|
|
652
659
|
|
|
660
|
+
# ── Snapshot watch: keeps agent-monitor's build-info.json fresh ─────────────
|
|
661
|
+
# A HOST process, same class as runner-host.js: it writes orchestrations/dashboards/live/
|
|
662
|
+
# build-info.json on the host filesystem, which agent-monitor's nginx container only reads via a
|
|
663
|
+
# bind mount. Without it, a run's own pre-flight fails 3 checks every time — found live
|
|
664
|
+
# 2026-09-04 against a genuinely fresh install ("snapshot-watch.js is NOT running").
|
|
665
|
+
_head "Snapshot watch (keeps the dashboard's build-info.json fresh)"
|
|
666
|
+
if [ "$CHECK_ONLY" != "1" ] && [ -f "$ROOT/orchestrations/scripts/snapshot-watch.js" ]; then
|
|
667
|
+
. "$INSTALLER_DIR/lib/snapshot-watch-control.sh"
|
|
668
|
+
start_snapshot_watch "$ROOT" || FAILED=1
|
|
669
|
+
else
|
|
670
|
+
_ok "skipped"
|
|
671
|
+
fi
|
|
672
|
+
|
|
653
673
|
# ── Launch dashboard: OPTIONAL, and must be genuinely UP when it claims to be ─
|
|
654
674
|
# THIS CANNOT DEPEND ON A HUMAN OR AN LLM DOING IT BY HAND. A rebuild-and-restart done manually
|
|
655
675
|
# once is a rebuild-and-restart that must be done manually every time — this makes it the same
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amsd-pipeline",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"description": "Installer for the amsd-pipeline orchestration stack. Clones, packages and provisions the full stack with one command — no separate git clone step.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"amsd-pipeline": "bin/amsd-pipeline.js"
|