Independent docker image to create a task in ECS
Problem to solve
Our AWS image embed the scripts related to deployment to ECS. This should be two separate images: we should have one bare (base) image with only awscli in it, and another one that builds on the bare image and adds up ecs scripts.
Also, since images in cloud-deploy
should be provider specific, these images should tagged aws-cloud-deploy
instead of cloud-deploy
, at build time.
Intended users
Proposal
We need to rename the existing image and splitting it into two images. Here's a proposal, based on the project structure, including the name of the images after they're pushed to the GitLab repository:
aws
|
|-base
| |-Dockerfile -> registry.gitlab.com/gitlab-org/aws-base:latest
|
|-ecs
| |-Dockerfile -> registry.gitlab.com/gitlab-org/aws-ecs:latest
|
cc @ogolowinski
Documentation
The "AWS" section of the "Cloud deployment" page will need to be updated.
Availability & Testing
What does success look like, and how can we measure that?
What is the type of buyer?
Links / references
Edited by Orit Golowinski