DevOps Guide - Overview
DevOps team ගෙ responsibilities සහ automation summary.
DevOps Responsibilities
| Task | Who | Time |
|---|---|---|
| New staging site create | DevOps | ~10 min |
| GitHub repo + secrets + wp-admin access (one script) | DevOps | ~5 min |
| Give / remove a developer's wp-admin access | DevOps (hub.enfection.com → Admin → WP sites) | 1 min |
| Server maintenance | DevOps | As needed |
| Production deploy approve | DevOps | On request |
| SSL renewal | Automated | Auto |
| SonarQube maintenance | DevOps | Monthly |
Infrastructure Summary
| Server | IP | Type | Purpose |
|---|---|---|---|
| SonarQube | 43.205.140.176 | EC2 t3.micro | Code quality |
| Staging | 13.202.105.210 (Elastic IP) | EC2 t3.small | All staging sites (CloudPanel) |
| Enfection Hub | hub.enfection.com | Cloudflare Worker | Staff sign-in, staging wp-admin access |
New Project - Quick Steps
1. CloudPanel → Add WordPress site (site user enfection-<slug>-dev) + SSL Let's Encrypt
2. scripts/new-project.sh <slug> "<Name>" <github-user> <developer-email>
→ repo + workflows + secrets + branches + GitHub invite + wp-admin access via Enfection Hub
3. Developer ට handover (repo link; wp-admin = hub.enfection.com → WordPress sites, no password)
Detailed guide: New Site Setup