Files
aitbc/scripts/weekly_maintenance.sh
aitbc1 808da6f25d
All checks were successful
Python Tests / test-python (push) Successful in 44s
feat: create all scripts referenced in workflow documentation
 Workflow Scripts - All Created and Deployed:
• 01_preflight_setup.sh - System preparation and configuration
• 02_genesis_authority_setup.sh - Genesis node setup
• 03_follower_node_setup.sh - Follower node setup
• 04_create_wallet.sh - Wallet creation using CLI
• 05_send_transaction.sh - Transaction sending
• 06_final_verification.sh - System verification
• 07_enterprise_automation.sh - Enterprise features demo
• setup_multinode_blockchain.sh - Master orchestrator

 Next Steps Scripts - All Created:
• health_check.sh - Comprehensive health monitoring
• log_monitor.sh - Real-time log monitoring
• provision_node.sh - New node provisioning
• weekly_maintenance.sh - Automated maintenance
• performance_tune.sh - Performance optimization

 Testing Scripts - All Created:
• tests/integration_test.sh - Integration testing suite
• tests/load_test.py - Load testing with Locust

 Cross-Node Deployment:
• aitbc1: All 14 scripts deployed and executable 
• aitbc: All 14 scripts deployed and executable 
• Permissions: All scripts have proper execute permissions 

 Workflow References Verified:
• All script references in workflow documentation now exist
• All Next Steps example scripts are now functional
• Cross-node script execution verified
• Complete automation and testing coverage

Status: All scripts referenced in @aitbc/.windsurf/workflows/multi-node-blockchain-setup.md
are now created and available in @aitbc/scripts/workflow and related directories.
2026-03-29 16:21:38 +02:00

20 lines
443 B
Bash
Executable File

#!/bin/bash
# Weekly maintenance tasks
echo "=== Weekly Maintenance ==="
# Clean old logs
find /var/log/aitbc -name "*.log" -mtime +7 -delete
# Update software
cd /opt/aitbc && git pull origin main
/opt/aitbc/venv/bin/pip install -r requirements.txt
# Restart services if needed
systemctl restart aitbc-blockchain-node aitbc-blockchain-rpc
# Run health check
/opt/aitbc/scripts/health_check.sh
echo "=== Weekly Maintenance Complete ==="