1.4 KiB
1.4 KiB
CI/CD ECR Deployment Flow Record
Goal
Record the current production CI/CD state for the backend Docker deployment path and preserve the handoff point before EC2 manual service startup.
Scope
- Document that pushes to
maintrigger the Gitea workflow to build the backend Docker image. - Document that the workflow validates the image and pushes
${GITHUB_SHA}andlatesttags to AWS ECR. - Document that Cloudflare IPv4 CIDR ingress rules were added for
tcp/80andtcp/443on security groupsg-064bf6675c881fde3inus-east-2. - Document that the open
0.0.0.0/0ingress rules fortcp/80andtcp/443remain in place until the API is healthy. - Document that final EC2 service startup is intentionally manual: the operator will log in to the single EC2 host and run Docker Compose after confirming the image exists in ECR.
Out of Scope
- Automated SSH or SSM deployment to EC2.
- ECS task definition or service deployment.
- Removing the public
0.0.0.0/0security group rules before API health is confirmed.
Acceptance Criteria
- Trellis task records the completed CI/CD preparation work.
- The task is archived after recording completion.
- The temporary root-level
DEPLOYMENT_REPORT.mdis removed. - Current repository changes are committed on
dev, pushed, and proposed for merge tomain. - After merge or main push triggers CI, ECR is checked for the uploaded backend image.