chore: update submodule references and documentation
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- Marked submodules ai-mcp-pmm-controller, explorer-monorepo, and smom-dbis-138 as dirty to reflect recent changes. - Updated documentation to clarify operator script usage, including dotenv loading and task execution instructions. - Enhanced the README and various index files to provide clearer navigation and task completion guidance. Made-with: Cursor
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
# Comprehensive verification of all deployed systems
|
||||
# Tests: Explorer, APIs, Services, MetaMask integration
|
||||
# Runs all tests even if some fail; exits 1 only if any failed
|
||||
# Note: 301/404/000 in other checks often expected (HTTPS redirect, wrong port, NPMplus). See docs/04-configuration/DETAILED_GAPS_AND_ISSUES_LIST.md §11a.
|
||||
|
||||
set -uo pipefail
|
||||
|
||||
@@ -25,10 +26,15 @@ test_endpoint() {
|
||||
local url="$2"
|
||||
local expected="$3"
|
||||
local timeout="${4:-10}"
|
||||
local follow_redirects="${5:-false}"
|
||||
|
||||
echo -n "Testing $name... "
|
||||
local body
|
||||
body=$(curl -s --max-time "$timeout" "$url" 2>/dev/null) || true
|
||||
if [[ "$follow_redirects" == "true" ]]; then
|
||||
body=$(curl -sL --max-time "$timeout" "$url" 2>/dev/null) || true
|
||||
else
|
||||
body=$(curl -s --max-time "$timeout" "$url" 2>/dev/null) || true
|
||||
fi
|
||||
if echo "$body" | grep -qE "$expected"; then
|
||||
echo -e "${GREEN}PASS${NC}"
|
||||
((PASSED++)) || true
|
||||
@@ -44,7 +50,7 @@ echo "========================================="
|
||||
echo ""
|
||||
|
||||
echo "1. Explorer (Blockscout) - Public"
|
||||
test_endpoint "Explorer homepage" "https://explorer.d-bis.org/" "SolaceScanScout|Blockscout|blockscout|<!DOCTYPE" 25
|
||||
test_endpoint "Explorer homepage" "https://explorer.d-bis.org/" "SolaceScanScout|Blockscout|blockscout|<!DOCTYPE html>|<html " 25 "true"
|
||||
test_endpoint "Explorer stats API" "https://explorer.d-bis.org/api/v2/stats" "total_blocks"
|
||||
test_endpoint "Explorer blocks API" "https://explorer.d-bis.org/api/v2/blocks" "height|items"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user