I'm curious about CI/CD for an AWS Fargate service. Suppose that you have a FastAPI (or insert framework) backend running on a container. Now suppose that you develop a new route (or insert code change) and commit. What's the 'golden path' approach to testing and deploying such code?
Broadly, I see two options:
Build the container locally, run unit tests, push the container to ECR and (force) deploy the service.
Commit changes, pipeline first builds the container, then runs unit and integration tests, then (assuming successful tests) advanced to production.
For modifications to the app code, assuming you're talking about the "best" way to deploy things on an EKS+Fargate or ECS+Fargate environment, i'd bet on codepipeline + codedeploy.
ArgoCD ought to work, assuming you're talking about infrastructure as code and the Gitops approach.