We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vfarcic/dot-ai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
teardown-cluster.shโข1.91 kB
#!/bin/bash
# Integration Test Cluster Teardown
# Destroys the dedicated Kind test cluster and cleans up resources
set -e
CLUSTER_NAME="dot-test"
KUBECONFIG_PATH="$(pwd)/kubeconfig-test.yaml"
echo "๐งน Tearing down integration test cluster..."
# Check if Kind is installed
if ! command -v kind &> /dev/null; then
echo "โ Kind is not installed"
exit 1
fi
# Delete Kind cluster if it exists
if kind get clusters | grep -q "^${CLUSTER_NAME}$"; then
echo "๐๏ธ Deleting Kind cluster: ${CLUSTER_NAME}"
# Use --kubeconfig to avoid touching the user's main kubeconfig (which may be malformed)
if kind delete cluster --name="${CLUSTER_NAME}" --kubeconfig="${KUBECONFIG_PATH}" 2>/dev/null || \
kind delete cluster --name="${CLUSTER_NAME}" 2>/dev/null; then
echo "โ Cluster deleted successfully"
else
echo "โ ๏ธ Could not delete cluster (may already be gone)"
fi
else
echo "โน๏ธ Cluster ${CLUSTER_NAME} does not exist"
fi
# Remove test kubeconfig if it exists
if [[ -f "${KUBECONFIG_PATH}" ]]; then
echo "๐๏ธ Removing test kubeconfig: ${KUBECONFIG_PATH}"
rm "${KUBECONFIG_PATH}"
echo "โ Kubeconfig removed successfully"
else
echo "โน๏ธ Test kubeconfig does not exist"
fi
# Clean up Qdrant Docker container
if docker ps -a --format "table {{.Names}}" | grep -q "^qdrant-test$"; then
echo "๐๏ธ Removing Qdrant test container..."
docker rm -f qdrant-test
echo "โ Qdrant container removed successfully"
else
echo "โน๏ธ Qdrant test container does not exist"
fi
# Clean up any remaining test namespaces (in case of cleanup failures)
echo "๐งน Cleaning up any remaining test resources..."
# List any Kind clusters that might be test-related
echo "Remaining Kind clusters:"
kind get clusters || echo "No Kind clusters found"
echo ""
echo "โ Integration test cluster teardown complete!"
echo ""