Hi Milosz,
As suggested I have gone through the docker process in lava but I am a bit confused here. Our pytest suite required many packages to install and custom steps needed to perform in a linux machine before test runs using pytest.
I am assuming this way please correct me if I am wrong,
1. Install custom docker image in worker and run the custom steps & requirements.txt. Now I am assuming the docker container is ready to perform the pytest suite operations.
2. Once the above setup is ready in the worker, Can i use this docker running in the worker host as DUT (as per your above suggestion) and our real board(which can execute & give response back via uart for pytest suite commands). Is my understanding correct?
becz according to this definition:
actions:
- deploy:
role:
- host
repeat: 3
image: chaseqi/standalone-fuego:1.4.0
os: debian
timeout:
minutes: 10
to: docker
- boot:
role:
- host
command: bash
method: docker
prompts: ['root@lava']
timeout:
minutes: 2
docker image will clone, install and boot in a lava job for each run which makes confusing for me.
Thank you very much.
Regards,
Nagendra S