PHP App CI/CD Pipeline Diagram

GitHub → Jenkins → SonarQube → Docker → Amazon ECR → Amazon EKS with Helm

🐙

GitHub

PHP source code lives in php-app/.

Webhook triggers Jenkins on every push
Jenkins CI/CD Pipeline
1. Checkout Code
2. Install Dependencies
Composer
3. Run Tests
PHPUnit
4. SonarQube Analysis
5. Quality Gate Check
6. Build Docker Image
7. Push Image to ECR
8. Deploy to EKS with Helm
9. PHP App Running
Quality Gate Passed ✅
AWS
Amazon ECR
Private container registry
Stores the Docker image built by Jenkins
SonarQube
Static code analysis and code quality checks
Jenkins waits for webhook result before continuing

Amazon EKS

Helm deploys the Kubernetes deployment and service for the PHP application.

LoadBalancer
External traffic routed to PHP app pods
🐘PHP App
🐘PHP App
🐘PHP App