danrue / lava-docker-compose

7 stars 13 forks source link

Improve lava server and worker configuration using ninja2 templates #1

Open germaino opened 5 years ago

germaino commented 5 years ago

The idea would to be to have a global YAML file that describe the LAVA setup in one location

It would need to move the existing docker-compose, device definition to ninja template and have a python script generate the final version.

I am working on it and shall be able to propose a solution in the coming days if you are interesting ?

danrue commented 5 years ago

Hi!

I think you're describing an interface similar to https://github.com/kernelci/lava-docker/.

I've intentionally avoided that so far because I don't want to introduce a new abstraction layer. Rather, I want to make the official containers easy to use so that additional layers of abstraction aren't necessary. My goal here is to get new users started with lava very quickly, without making them learn lava plus also 3rd party wrapper utilities.

Besides, lava-docker already exists. I would rather see your efforts in helping lava-docker use the official lava containers that now exist (but didn't when lava-docker got started).

germaino commented 5 years ago

Hi Dan

I understand your point. I add a look to what is done https://github.com/kernelci/lava-docker and started with that, then I add the chance to discuss with Loic that point me to you repository and found that it was much more easy to setup.... I will try to see if I can integrate my change to their repo