NOTE: Do not merge yet!!! Wait until infra PR to setup ECS is merged
Problem
We need to set up a ci for deployment to ecs. this is done in deploy_staging.yml, which uses task-definition to deploy to ecr (and subsequently, ecs)
Solution
setup github workflow for deployment to ecr + ecs
setup task definition - this draws parameters from SSM directliy and injects them into the container; this is also the equivalent of the docker-compose for ec(r/s), where we mount + add in env vars.
Breaking Changes
[x] Yes - this PR contains breaking changes
Changes staging environment to be deployed via ecs
[ ] No - this PR is backwards compatible with ALL of the following feature flags in this doc
NOTE: Do not merge yet!!! Wait until infra PR to setup ECS is merged
Problem
We need to set up a ci for deployment to ecs. this is done in
deploy_staging.yml
, which usestask-definition
to deploy to ecr (and subsequently, ecs)Solution
docker-compose
for ec(r/s), where we mount + add in env vars.Breaking Changes