Continuous deployment: from a push to production

Continuous deployment: from a push to production A workflow diagram generated by Archify. 01 / GitHub 02 / Server (own runner) EX / If anything fails Integration Deployment Push or PR · any branch · GitHub › Integration Push or PR any branch Tests · types · lint · tests · build · GitHub › Integration Tests types · lint · tests · build Is it main? · branches stop here · GitHub › Integration Is it main? branches stop here Fetch and start · tested commit · Compose · Server (own runner) › Deployment Fetch and start tested commit · Compose Healthcheck · 3 minutes to be healthy · Server (own runner) › Deployment Healthcheck 3 minutes to be healthy In production · prunes old images · Server (own runner) › Deployment In production prunes old images Rollback · starts the previous image · If anything fails › Deployment Rollback starts the previous image Telegram alert · what failed and link · If anything fails › Deployment Telegram alert what failed and link green yes healthy unhealthy tests fail Legend Result Automated step Check Alert Source