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.lavasoftware.org%2Flava%2Factions-test.html%23inline-test-definition-example&data=05%7C02%7Csweta.ghosh%40nagarro.com%7C5596b925ab9d4160971508dcd3dc1c10%7Ca45fe71af4804e42ad5eaff33165aa35%7C0%7C0%7C638618189533778163%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=owEovXuixd7bzkQo9CyhurC3XpFbJns%2Bahi06FSprrM%3D&reserved=0 . 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