MetaCell / cloud-harness

Other
14 stars 5 forks source link

CH-100 Add preliminary docker-compose support #735

Open aranega opened 5 months ago

aranega commented 5 months ago

Closes CH-100

Adds a preliminary docker-compose support for cloud-harness.

Implemented solution: The implementation relies on helm templates dedicated for docker-compose. A new folder can be defined and used for all docker-compose related templates, while a mechanism allows one to define where some files can be generated. On a general note, all files that needs to be generated from templates and needs to be embedded in containers needs to be generated in a specific directory in the file system. The generated files are then mounted in the countainer.

How to test this PR: There is a new option --docker-compose that can be passed as argument of the command line for the harness-deployment command. This new option will generate in deployment/compose all the templates and specific files for the cloudharness deployment, a deployment/docker-compose.yaml will be produced, and the skaffold.yaml file is modified to target docker-compose for deployment (even if this feature is still not yet supported).

Sanity checks:

Breaking changes (select one):

Possible deployment updates issues (select one):

Test coverage (select one):

Documentation (select one):

Nice to have (if relevant):