Features: - Automated datacenter documentation generation - MCP integration for device connectivity - Auto-remediation engine with safety checks - Multi-factor reliability scoring (0-100%) - Human feedback learning loop - Pattern recognition and continuous improvement - Agentic chat support with AI - API for ticket resolution - Frontend React with Material-UI - CI/CD pipelines (GitLab + Gitea) - Docker & Kubernetes deployment - Complete documentation and guides v2.0 Highlights: - Auto-remediation with write operations (disabled by default) - Reliability calculator with 4-factor scoring - Human feedback system for continuous learning - Pattern-based progressive automation - Approval workflow for critical actions - Full audit trail and rollback capability
38 lines
807 B
Bash
38 lines
807 B
Bash
#!/bin/bash
|
|
# Deploy documentation to production
|
|
|
|
set -e
|
|
|
|
DEPLOY_HOST=${DEPLOY_HOST:-docs.datacenter.local}
|
|
DEPLOY_USER=${DEPLOY_USER:-automation}
|
|
|
|
echo "Deploying to $DEPLOY_HOST..."
|
|
|
|
# Build documentation
|
|
./scripts/build-docs.sh
|
|
|
|
# Build Docker image
|
|
echo "Building Docker image..."
|
|
docker-compose build docs-server
|
|
|
|
# Push to registry (if configured)
|
|
if [ -n "$DOCKER_REGISTRY" ]; then
|
|
echo "Pushing to registry..."
|
|
docker-compose push docs-server
|
|
fi
|
|
|
|
# Deploy via SSH
|
|
echo "Deploying to server..."
|
|
ssh $DEPLOY_USER@$DEPLOY_HOST << 'ENDSSH'
|
|
cd /opt/datacenter-docs
|
|
git pull origin main
|
|
docker-compose pull docs-server
|
|
docker-compose up -d docs-server
|
|
|
|
# Health check
|
|
sleep 5
|
|
curl -f http://localhost:8000/health || exit 1
|
|
ENDSSH
|
|
|
|
echo "✓ Deployment successful!"
|