feat: Add comprehensive testing suite and fix CI/CD pipeline
🧪 Testing Infrastructure: - Unit tests for authentication system with JWT validation - Integration tests for API endpoints and cluster management - End-to-end tests for complete workflows and performance - Test runner script with pytest configuration - pytest.ini with proper markers and settings 📚 Documentation: - mkdocs.yml configuration for GitHub Pages deployment - Professional documentation structure with Material theme - Navigation for installation, architecture, and examples �� CI/CD Pipeline Improvements: - Fixed .drone.yml with proper test execution stages - Added unit, integration, and e2e test steps - Security scanning with Bandit and Safety - Docker multi-stage builds for controller/agent - Documentation deployment to GitHub Pages - Performance testing and coverage reporting ✅ Test Coverage: - Authentication system: JWT tokens, HMAC signatures, encryption - Database operations: agent credentials, token management - API integration: endpoints, middleware, WebSocket - E2E workflows: registration, security incidents, monitoring - Performance benchmarks: concurrent auth, API throughput 🛡️ Quality Assurance: - Code linting with flake8, black, isort - Security vulnerability scanning - Container image security checks with Trivy - Dependency safety verification - Test coverage reporting with pytest-cov
This commit is contained in:
74
mkdocs.yml
Normal file
74
mkdocs.yml
Normal file
@@ -0,0 +1,74 @@
|
||||
site_name: PyGuardian Documentation
|
||||
site_description: AI-Powered Security & Cluster Management System
|
||||
site_author: SmartSolTech
|
||||
site_url: https://smartsoltech.github.io/PyGuardian
|
||||
|
||||
repo_name: SmartSolTech/PyGuardian
|
||||
repo_url: https://github.com/SmartSolTech/PyGuardian
|
||||
|
||||
theme:
|
||||
name: material
|
||||
palette:
|
||||
- scheme: default
|
||||
primary: blue
|
||||
accent: blue
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: Switch to dark mode
|
||||
- scheme: slate
|
||||
primary: blue
|
||||
accent: blue
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Switch to light mode
|
||||
features:
|
||||
- navigation.tabs
|
||||
- navigation.sections
|
||||
- navigation.expand
|
||||
- navigation.top
|
||||
- search.highlight
|
||||
- search.share
|
||||
- content.code.annotate
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- git-revision-date-localized:
|
||||
enable_creation_date: true
|
||||
|
||||
markdown_extensions:
|
||||
- admonition
|
||||
- pymdownx.details
|
||||
- pymdownx.superfences
|
||||
- pymdownx.highlight:
|
||||
anchor_linenums: true
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.snippets
|
||||
- pymdownx.tabbed:
|
||||
alternate_style: true
|
||||
- pymdownx.tasklist:
|
||||
custom_checkbox: true
|
||||
- attr_list
|
||||
- md_in_html
|
||||
- toc:
|
||||
permalink: true
|
||||
|
||||
nav:
|
||||
- Home: 'README.md'
|
||||
- Quick Start: 'documentation/guides/QUICKSTART.md'
|
||||
- Installation: 'documentation/examples/INSTALLATION.md'
|
||||
- Architecture: 'documentation/guides/ARCHITECTURE.md'
|
||||
- Cluster Setup: 'documentation/guides/CLUSTER_SETUP.md'
|
||||
- Configuration:
|
||||
- 'Example Configs': 'documentation/examples/configurations.md'
|
||||
- 'Telegram Commands': 'documentation/examples/telegram-commands.md'
|
||||
- 'Cluster Management': 'documentation/examples/cluster-management.md'
|
||||
- Development: 'DEVELOPMENT_SUMMARY.md'
|
||||
|
||||
extra:
|
||||
social:
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/SmartSolTech/PyGuardian
|
||||
- icon: fontawesome/brands/telegram
|
||||
link: https://t.me/PyGuardianSupport
|
||||
|
||||
copyright: Copyright © 2024 SmartSolTech
|
||||
Reference in New Issue
Block a user