George,
Do I understand correctly you would like to use LAVA as a building tool?
milosz
On Thu, 8 Aug 2019 at 10:47, George Nistor george.n@l4b-software.com wrote:
Hi Lava users,
Is it possible to run commands inside a lava job test-section, locally, from a Lava Job?
Ex:
cd /media/sh_shared_folders
docker build -t tradefed .
We have the following setup:
A machine with Linux Ubuntu; an Oracle Virtual Box VM on the machine with a Xubuntu distro image inside the VM we have created 3 Docker containers:
one with the Jenkins second one with Lava third is created for the purpose of running Google TradeFederation against the Android device
(The AOSP source tree is available to the VM via shared_folders and the docker container has also access to it. (via docker run -v dir_host:dir_container) )
What we what to achieve is to have 2 jobs in Lava :
one for building the Docker image for the purpose of building TradeFederation inside
Ex. Running these commande locally: source ./build/make/envsetup.sh lunch <device-target> make tradefed-all -j8
second using the above image, instantiate, create a container which should run TradeFederation against the android device connected to the machine
What I need is to be able to run commands locally inside the VM (on Xubuntu distro) from a Lava job. For these we have to somehow not send the command to qemu but run them locally.
Is this possible? If yes, how can we achieve this?
George Nistor
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users