Files
Jonathan Miller bd5f676e0a
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
Merge remote-tracking branch 'origin/dev'
# Conflicts:
#	cli/manifest_licensing.php
2026-06-06 11:49:30 -05:00

52 lines
1.6 KiB
JSON

{
"name": "default",
"description": "Default profile with basic SSH operations",
"commandAliases": {
"check-memory": "free -h",
"check-disk": "df -h",
"check-processes": "ps aux | head -20",
"check-ports": "netstat -tlnp 2>/dev/null || ss -tlnp",
"system-info": "uname -a && lsb_release -a 2>/dev/null || cat /etc/os-release",
"tail-logs": "tail -f -n 100",
"disk-usage": "du -sh * | sort -rh | head -20",
"find-large-files": "find . -type f -size +100M -exec ls -lh {} \\;",
"backup-folder": "tar -czf backup-$(date +%Y%m%d-%H%M%S).tar.gz"
},
"hooks": {
"pre-deploy": {
"enabled": false,
"description": "Run before any deployment",
"actions": [
{
"type": "validation",
"name": "check-disk-space",
"remoteCommand": "df -h | grep -E \"/$\" | awk '{print $5}' | sed 's/%//' | awk '{if($1 > 90) exit 1}'",
"server": "{server}",
"errorMessage": "Insufficient disk space (>90% used)"
}
]
},
"post-deploy": {
"enabled": false,
"description": "Run after successful deployment",
"actions": [
{
"type": "notification",
"name": "log-deployment",
"command": "echo \"[$(date)] Deployment completed to {server}\" >> deployments.log"
}
]
},
"on-error": {
"enabled": true,
"description": "Run when an error occurs",
"actions": [
{
"type": "notification",
"name": "log-error",
"command": "echo \"[$(date)] Error on {server}: {error}\" >> errors.log"
}
]
}
}
}