Re: [Fuego] How run Fuego tools on a Jenkins slave node

Michael Nazzareno Trimarchi <[email protected]> Fri, 3 Sep 2021 19:33:55 +0200
Newsgroups dev.linux.lists.fuego
Message-ID <CAOf5uwngUucCiNOaEtWk1Z05Vo2awAHON=fVBV7hk0CF4=mkqA@mail.gmail.com>
Hi Tim

On Mon, Aug 30, 2021 at 9:14 PM Michael Nazzareno Trimarchi
<[email protected]> wrote:
>
> Hi
>
> On Mon, Aug 30, 2021 at 7:54 PM <[email protected]> wrote:
> >
> >
> >
> > > -----Original Message-----
> > > From: Michael Nazzareno Trimarchi <[email protected]>
> > >
> > > Hi
> > >
> > > On Mon, Aug 30, 2021 at 6:35 PM <[email protected]> wrote:
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Michael Nazzareno Trimarchi <[email protected]>
> > > > >
> > > > > Hi
> > > > >
> > > > > On Fri, Aug 27, 2021 at 11:10 PM <[email protected]> wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Michael Nazzareno Trimarchi <[email protected]>
> > > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > >
> > > > > > > On Fri, Aug 27, 2021, 6:17 PM <[email protected] <mailto:[email protected]> > wrote:
> > [...snipping a lot...]
> > > >
> > > > >
> > > > > jenkins_master\->slave1 -> hw1,hw2
> > > > >                         \->slave2 -> hw3
> > > >
> > > > Yes, but I would add a bit more detail here, for clarity:
> > > >
> > > > jenkins_master\->slave1\-> ftc -> docker ftc -> FUEGO_TRANSPORT -> hw1
> > > >                                          \-> ftc -> docker ftc -> FUEGO_TRANSPORT -> hw2
> > > >                           \-> slave2-> ftc -> docker ftc -> FUEGO_TRANSPORT -> hw3
> > > >
> > > > 90% of the time, FUEGO_TRANSPORT is ssh, but it could be some other protocol
> > > > for executing commands on the board and transferring files (like 'serial', or 'ebf')
> > > >
> > >
> > > Ok
> > >
> > > > Note that the call to 'docker ftc' is transparent.  On a system where Fuego is installed,
> > > > you can just run 'ftc', and it figures our whether to run natively (if installed natively)
> > > > or by doing a second invocation inside the container (if installed with a container).
> > >
> > > Ok, so I can clone it on my local node and use it
> > >
> >
> > Yes.   And if hw4 happens to be the machine where all this is running, then you
> > can use 'local' instead of 'ssh' as the Fuego transport for that 'board'.
>
> I think that this is most of the use cases. In this cases the pipeline
> result should be shown
> import the html report and visualize in master. I think that this
> should have a section on documentation.
>
> I will ask someone in the company to play a bit. I'm always short in time
>

I have started by myself. I have few questions:
sudo is required only if your are not in docker users and in general
is not needed.
I have done a patch to pass as optional when I create the container.

I have used ./instal.sh --nojenkins but the volume are not mounted
when the container
start. Do you have the same problem?

Michael

> Michael
>
> >  -- Tim
> >
>
>
> --
> Michael Nazzareno Trimarchi
> Co-Founder & Chief Executive Officer
> M. +39 347 913 2170
> [email protected]
> __________________________________
>
> Amarula Solutions BV
> Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
> T. +31 (0)85 111 9172
> [email protected]
> www.amarulasolutions.com



-- 
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
[email protected]
__________________________________

Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
[email protected]
www.amarulasolutions.com