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

<[email protected]> Mon, 30 Aug 2021 17:54:24 +0000
Newsgroups dev.linux.lists.fuego
Message-ID <BYAPR13MB250369ADCD74655EC5592959FDCB9@BYAPR13MB2503.namprd13.prod.outlook.com>

> -----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'.
 -- Tim