#!/usr/bin/env bash

# Run all VM deployment checks
# This script runs all validation and health checks

set -e

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/../lib/init.sh"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"


log_success "Running all VM deployment checks..."

# Run validation
log_warn "=== Running Validation ==="
"$SCRIPT_DIR/validate-vm-deployment.sh"

# Run health check
log_warn "=== Running Health Check ==="
"$SCRIPT_DIR/health-check-vm.sh"

# Get VM IPs
log_warn "=== VM IP Addresses ==="
"$SCRIPT_DIR/get-vm-ips.sh"

log_success "All checks complete!"

