Skip to content

ci: implement PR-gated CI/CD pipeline - #1

Merged
sanket-rajput merged 5 commits into
mainfrom
ci-cd-production
Aug 21, 2026
Merged

sanket-rajput merged 5 commits into
mainfrom
ci-cd-production

Conversation

@sanket-rajput

Copy link
Copy Markdown
Owner

Changes

  • Separate CI and production deployment workflows
  • Run CI only on pull requests targeting main
  • Deploy only after merge to main
  • Deploy the exact merged commit SHA to EC2
  • Add Docker image build validation
  • Bootstrap the EC2 repository on first deployment
  • Add post-deployment Actuator health verification

CI validation

  • Java 21
  • Maven clean verify
  • Unit tests
  • Testcontainers integration tests
  • JaCoCo coverage artifact
  • Backend Docker build
  • Frontend Docker build

Deployment

Production deployment runs only after merge into main. The deployment workflow checks out the exact merged commit SHA, rebuilds the Docker Compose stack on EC2, and verifies /actuator/health.

@sanket-rajput
sanket-rajput merged commit 2b08e41 into main Aug 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant