Re: FW: [Lava-users] Git authentication


Daniel Sangorrin <daniel.sangorrin@...>
 

Good to know, thank you Chris.

-----Original Message-----
From: cip-dev-bounces@...
<cip-dev-bounces@...> On Behalf Of Chris Paterson
Sent: Tuesday, November 20, 2018 8:54 PM
To: cip-dev@...
Subject: [cip-dev] FW: [Lava-users] Git authentication

Hello all,

It was asked last week about if it is possible to keep jobs secret in the CIP LAVA test
setup.

Test results/definitions can indeed be kept private, either on an individual or group
bases.
https://lava.ciplatform.org/static/docs/v2/glossary.html#term-visibility

If a test job is kept private it is also possible to share 'secret' information with the
board. For example, a private git repository.
https://lava.ciplatform.org/static/docs/v2/publishing-artifacts.html?highlight=sec
rets

Please see the mail below for more information.

Kind regards, Chris

-----Original Message-----
From: Lava-users <lava-users-bounces@...> On Behalf Of
Milosz Wasilewski
Sent: 20 November 2018 10:46
To: axel.lebourhis@...
Cc: lava-users@...
Subject: Re: [Lava-users] Git authentication

On Tue, 20 Nov 2018 at 10:42, Axel Lebourhis <axel.lebourhis@...> 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?highligh
t=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

_______________________________________________
Lava-users mailing list
Lava-users@...
https://lists.lavasoftware.org/mailman/listinfo/lava-users
_______________________________________________
cip-dev mailing list
cip-dev@...
https://lists.cip-project.org/mailman/listinfo/cip-dev

Join cip-dev@lists.cip-project.org to automatically receive all group messages.