Initial commit: LLM Automation Docs & Remediation Engine v2.0
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
This commit is contained in:
20
scripts/build-docs.sh
Normal file
20
scripts/build-docs.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
# Build documentation locally
|
||||
|
||||
set -e
|
||||
|
||||
echo "Building datacenter documentation..."
|
||||
|
||||
# Copia templates in docs
|
||||
echo "Copying templates..."
|
||||
mkdir -p docs/sections
|
||||
cp templates/*.md docs/sections/
|
||||
|
||||
# Build con MkDocs
|
||||
echo "Building with MkDocs..."
|
||||
mkdocs build --clean --strict
|
||||
|
||||
echo "✓ Documentation built successfully!"
|
||||
echo "Output: site/"
|
||||
echo ""
|
||||
echo "To serve locally: mkdocs serve"
|
||||
37
scripts/deploy.sh
Normal file
37
scripts/deploy.sh
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/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!"
|
||||
Reference in New Issue
Block a user