feat: deploy:verify — deploy with auto health check and rollback (#147) #293

Merged
jmiller merged 4 commits from feature/147-deploy-verify into main 2026-06-21 04:46:21 +00:00
Owner

Summary\n\nOrchestrates backup → deploy → health-check → rollback-if-failed with audit trail.\n\n- Pre-deploy snapshot via backup-before-deploy.php\n- Deploy via deploy-sftp.php subprocess\n- Inline health check with configurable retries and delay\n- Auto-rollback via rollback-joomla.php if health check fails\n- Post-rollback verification\n- Full audit trail via AuditLogger\n\nCloses #147

## Summary\n\nOrchestrates backup → deploy → health-check → rollback-if-failed with audit trail.\n\n- Pre-deploy snapshot via backup-before-deploy.php\n- Deploy via deploy-sftp.php subprocess\n- Inline health check with configurable retries and delay\n- Auto-rollback via rollback-joomla.php if health check fails\n- Post-rollback verification\n- Full audit trail via AuditLogger\n\nCloses #147
jmiller added 2 commits 2026-06-21 04:33:36 +00:00
feat: deploy:verify — deploy with auto health check and rollback (#147)
Universal: Auto Version Bump / Version Bump (push) Successful in 8s
46e33a9383
Orchestrates backup → deploy → health-check → rollback-if-failed:
- Pre-deploy snapshot via backup-before-deploy.php
- Deploy via deploy-sftp.php subprocess
- Inline health check with configurable retries and delay
- Auto-rollback via rollback-joomla.php if health check fails
- Post-rollback verification
- Full audit trail via AuditLogger
jmiller added 1 commit 2026-06-21 04:41:12 +00:00
fix: address review findings in deploy-and-verify.php
Platform: mokoplatform CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 4: Governance (pull_request) Blocked by required conditions
Platform: mokoplatform CI / Gate 5: Template Integrity (pull_request) Blocked by required conditions
Platform: mokoplatform CI / CI Summary (pull_request) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Failing after 2s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: PR Check / Validate PR (pull_request) Failing after 9s
Universal: PR Check / Secret Scan (pull_request) Successful in 10s
Universal: Auto Version Bump / Version Bump (push) Successful in 11s
Platform: mokoplatform CI / Gate 1: Code Quality (pull_request) Failing after 56s
4fc3d0a4a9
- Fix #1: replace rm -rf with cross-platform PHP removeDirectory()
- Fix #2: sanitize URL in audit log (log hostname only)
- Fix #3: remove unused buildHealthArgs() and $healthArgs
- Fix #4: add random suffix to snapshot dir name for uniqueness
- Fix #5: fix constructor to match CliFramework pattern (no args)
- Fix #6: trigger rollback on deploy failure (partial deploy risk)
jmiller added 1 commit 2026-06-21 04:42:03 +00:00
chore(version): auto-bump patch 09.35.02-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 20s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 1m28s
8900b12f81
jmiller merged commit e4d836067f into main 2026-06-21 04:46:21 +00:00
jmiller deleted branch feature/147-deploy-verify 2026-06-21 04:46:22 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/mokocli#293