homelab-codex-ws/scripts/onboard/steps/50-verify.sh

17 lines
719 B
Bash
Raw Normal View History

#!/usr/bin/env bash
# scripts/onboard/steps/50-verify.sh — end-to-end verification of onboarded node
#
# TODO: rcheck SSH reachability
# TODO: rrun docker ps — confirm node-agent container is running
# TODO: check /opt/homelab/state/heartbeat timestamp is recent (< 5 min)
# TODO: verify node appears in Observer world state (/opt/homelab/world/nodes.json on control node)
# TODO: run services/<service>/healthcheck.sh for each enabled service
# TODO: print pass/fail summary table; exit 1 if any check failed
set -euo pipefail
: "${REPO_ROOT:?REPO_ROOT is not set — run via onboard.sh}"
source "${REPO_ROOT}/scripts/onboard/lib/remote.sh"
STEP_NAME="50-verify"
step "[$STEP_NAME] TODO — not yet implemented"