Hello Alex,
if you are admin of the dispatcher, then you can use git-credentials-store (see https://git-scm.com/docs/git-credential-store) as root. In fact, lava-run (the process actually booting the board, deploying the overlay, ...) is ran as root. So if root does have access to your git credentials then lava-run would also have access.
Keep in mind that if you use git-credentials-store on the dispatcher, any jobs running on this dispatcher will have access to your credentials! So this solution is only acceptable for private dispatchers.
Rgds
Le mar. 20 nov. 2018 à 17:17, Axel Lebourhis axel.lebourhis@linaro.org a écrit :
Thanks everyone for your answers. I will try to find a work around.
Regards, Axel
On Tue, 20 Nov 2018 at 15:37, Steve McIntyre steve.mcintyre@linaro.org wrote:
On Tue, Nov 20, 2018 at 02:30:53PM +0000, Steve McIntyre wrote:
On Tue, Nov 20, 2018 at 01:39:55PM +0000, Neil Williams wrote:
Or if you can't control that (e.g. remote public git server like github), embed ssh keys into your test images, or have the image grab those keys from a restricted location on your network.
There are quite a few possibilities - it depends on how complicated your needs are, and how ingenious you can be. :-)
Actually, as Neil just pointed out - I've misundestood what you were asking. Ignore me... :-)
Cheers,
Steve McIntyre steve.mcintyre@linaro.org http://www.linaro.org/ Linaro.org | Open source software for ARM SoCs
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users