scripts/deploy-138.sh tests with Go 1.26.9, swaps the live binary, and rolls back if port 8000 stops answering. Port 0 in the embedded NATS listener now picks an ephemeral port so the test can run while 4222 is already taken.
5 lines
203 B
Shell
Executable file
5 lines
203 B
Shell
Executable file
#!/usr/bin/env bash
|
|
# Unit-test the Go MCP server with Go 1.26. Does not restart a service.
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
exec bash "$ROOT/scripts/deploy-138.sh" --test-only
|