RFC: Gitlab CI for barebox
Sascha Hauer
sha at pengutronix.de
Mon Jan 31 03:12:03 PST 2022
On Mon, Jan 31, 2022 at 11:39:45AM +0100, Ahmad Fatoum wrote:
> Hello Antony,
>
> On 30.01.22 13:00, Antony Pavlov wrote:
> > Hi!
> >
> > I have made simple Gitlab CI for barebox.
>
> Nice.
>
> > Gitlab CI runner setup instruction and
> > the source for Debian 11 docker image can be found at:
> >
> > https://gitlab.com/frantony/barebox-gitlab-ci-runner
>
> I had tried something similar, but with Github actions
>
> https://github.com/a3f/barebox/actions/runs/740206381
>
> I didn't have the time to pursue this further. I am fine
> with Gitlab as well.
>
> >
> > Sample gitlab-ci.yaml config file:
> >
> > https://gitlab.com/frantony/barebox/-/commit/b1ed597d8e67c8f76f4f98cd1c6605b936cf2471
>
> Here's how it looks for Github actions with emulate.pl:
>
> https://github.com/a3f/barebox/blob/emulate.pl/.github/workflows/build-configs.yaml
>
>
> > Corresponding gitlab pipeline results:
> >
> > https://gitlab.com/frantony/barebox/-/pipelines/459422690
> >
> >
> > Some notes:
> >
> > * there are several "images size > maximum size" errors during 'build ARM'
>
> Ye. IIRC Sascha disables these for his build tests..? Would be nice to get
> those resolved sometime.
Yes, I disable these checks for my build tests. Getting these issues
resolved only holds for a certain time. Overall bloat will break it
sooner or later anyway :(
It's fighting against windmills.
>
> > * fake firmware blobs for ARM are used
>
> Could we just fetch them from the correct location? That way we could
> just provide the prebuilt binaries for download. But for a first step,
> fakes are fine.
I'm not sure we even have all binaries. I guess some of the mvebu
startup binaries would have to be extracted from the hardware and I
don't know if we are allowed to share them for download if we extracted
them.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list