On Tue, 20 Nov 2018 at 10:42, Axel Lebourhis <axel.lebourhis@linaro.org> wrote:
>
> Hi everyone,
>
> Is it possible to handle git authentication in a test job ?
> I need LAVA to clone a repo that can't be set to public,
> and obviously it won't work because of the authentication step.
> So is it possible to specify a password or a token ?
You can use 'secrets' section in the job definition. Docs here:
https://master.lavasoftware.org/static/docs/v2/publishing-artifacts.html?highlight=secrets
It might be also a good idea to limit access to the job to user or
group so the password doesn't leak. It has to be plain text
unfortunately.
milosz