Hello,
I am spinning up debian image using Qemu and want to copy a custom package from my lava server to debian vm for testing. I could see that support for tar is planned https://docs.lavasoftware.org/lava/actions-test.html#inline-test-definition-... . But is there any way I can include my custom package in tarbar created at Deploy Action to ship to my VM easily?
On Fri, Sep 13, 2024 at 10:47 AM sweta.ghosh@nagarro.com wrote:
Hello,
I am spinning up debian image using Qemu and want to copy a custom package from my lava server to debian vm for testing. I could see that support for tar is planned https://docs.lavasoftware.org/lava/actions-test.html#inline-test-definition-... . But is there any way I can include my custom package in tarbar created at Deploy Action to ship to my VM easily?
I guess you have 2 options: - copy the package to the image (for example during image build) - download it from image once it's running in a VM.
The 1st option seems the easiest to me. Is it possible or do you have some limitations on the image build?
Best Regards, Milosz
Hello Milosz,
Thanks for replying.
Yes, we have limitation. As this custom package is a bundle of our application which is uploaded after image is running .
Regarding point 2, how can I download it from any other repository like artifactory or ftp server? I couldnt find any example for Test action. Or do you mean by adding command like wget/curl in Test definition to download the package?
Thanks, Sweta ________________________________ From: Milosz Wasilewski milosz.wasilewski@foundries.io Sent: Friday, September 13, 2024 3:38 PM To: Sweta Ghosh sweta.ghosh@nagarro.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [lava-users] Copy local package for testing
[Email from a non-Nagarro source: please exercise caution with links and attachments]
On Fri, Sep 13, 2024 at 10:47 AM sweta.ghosh@nagarro.com wrote:
Hello,
I am spinning up debian image using Qemu and want to copy a custom package from my lava server to debian vm for testing. I could see that support for tar is planned https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.lavas...https://docs.lavasoftware.org/lava/actions-test.html#inline-test-definition-example . But is there any way I can include my custom package in tarbar created at Deploy Action to ship to my VM easily?
I guess you have 2 options: - copy the package to the image (for example during image build) - download it from image once it's running in a VM.
The 1st option seems the easiest to me. Is it possible or do you have some limitations on the image build?
Best Regards, Milosz
Hey you both.
wouldn't using an overlay be a third option? https://validation.linaro.org/static/docs/v2/actions-deploy.html#overlays
Stefan
Am 13. September 2024 12:08:56 MESZ schrieb Milosz Wasilewski milosz.wasilewski@foundries.io:
On Fri, Sep 13, 2024 at 10:47 AM sweta.ghosh@nagarro.com wrote:
Hello,
I am spinning up debian image using Qemu and want to copy a custom package from my lava server to debian vm for testing. I could see that support for tar is planned https://docs.lavasoftware.org/lava/actions-test.html#inline-test-definition-... . But is there any way I can include my custom package in tarbar created at Deploy Action to ship to my VM easily?
I guess you have 2 options:
- copy the package to the image (for example during image build)
- download it from image once it's running in a VM.
The 1st option seems the easiest to me. Is it possible or do you have some limitations on the image build?
Best Regards, Milosz _______________________________________________ lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
On Fri, Sep 13, 2024 at 11:30 AM Stefan lists.lavasoftware.org_23@green-sparklet.de wrote:
Hey you both.
wouldn't using an overlay be a third option? https://validation.linaro.org/static/docs/v2/actions-deploy.html#overlays
If LAVA can modify qemu image, than yes, for sure. I guess I'm overcomplicating things for no good reason:) Alternatively one can deploy to downloads, pull the package there and modify the image by hand in postprocessing.
As for downloading in the running VM, it can be done as a regular test, which is probably the easiest.
Best Regards, Milosz
lava-users@lists.lavasoftware.org