[PATCH 2/2] gitlab: Add samus_tpl to the sjg lab

Tom Rini trini at konsulko.com
Wed Dec 18 16:42:42 CET 2024


On Wed, Dec 18, 2024 at 04:38:02PM +0100, Quentin Schulz wrote:
> 
> 
> On 12/18/24 4:30 PM, Tom Rini wrote:
> > On Wed, Dec 18, 2024 at 08:08:02AM -0700, Simon Glass wrote:
> > > This board has two variants, one of which boots with tpl. Labgrid gets
> > > upset when they both try to claim the same hardware, so we might need to
> > > see if we can handle that cleanly, e.g. by making the job wait.
> > > 
> > > Signed-off-by: Simon Glass <sjg at chromium.org>
> > > ---
> > > 
> > >   .gitlab-ci.yml | 6 ++++++
> > >   1 file changed, 6 insertions(+)
> > > 
> > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > > index c620cfd1e34..72959427951 100644
> > > --- a/.gitlab-ci.yml
> > > +++ b/.gitlab-ci.yml
> > > @@ -593,6 +593,12 @@ samus:
> > >       ROLE: samus
> > >     <<: *lab_dfn
> > > +# chromebook_samus_tpl
> > > +samus_tpl:
> > 
> > I think you can just add:
> > needs: [ "samus" ]
> > here and gitlab should get the ordering right, but I didn't pass it
> > through the validator.
> > 
> 
> You probably want to not fetch artifacts from samus job though, so disable
> artifact downloading (if there's any), c.f.
> https://docs.gitlab.com/ee/ci/yaml/#needsartifacts
> 
> or use a resource_group, c.f.
> https://docs.gitlab.com/ee/ci/yaml/#resource_group
> 
> you could have
> 
> resource_group: samus
> 
> in both jobs for example. I think this matches more the expectation?

Yup, that looks right, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241218/e05477e5/attachment.sig>


More information about the U-Boot mailing list