Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve lava server and worker configuration using ninja2 templates #1

Open
germaino opened this issue Jan 25, 2019 · 2 comments
Open

Comments

@germaino
Copy link

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

  • docker compose file
  • boards attached to worker
  • master and database configuration
  • Workers boards attached to worker

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
Copy link
Owner

danrue commented Jan 25, 2019

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants