[U-Boot] [PATCH] Dockerfile: Build a copy of QEMU and install it under /opt
Heinrich Schuchardt
xypron.glpk at gmx.de
Thu Jul 25 20:14:04 UTC 2019
On 7/25/19 9:17 PM, Tom Rini wrote:
> On Wed, Jul 24, 2019 at 03:56:21PM -0400, Tom Rini wrote:
>> On Wed, Jul 24, 2019 at 03:51:14PM -0400, Tom Rini wrote:
>>
>>> In order to run our test.py suite on a number of platforms in CI we use
>>> QEMU. Configure and build a copy here so that all our jobs can rely on
>>> it as our code is under test and not QEMU.
>>>
>>> Signed-off-by: Tom Rini <trini at konsulko.com>
>>
>> I looked into using the artifact method in GitLab. The problem there is
>> that artifacts are stored within the job and kept. So rather than a
>> stand-alone project that we can reference and pass we would build it
>> once per pipeline and pass it, but then store it until we purge things
>> later when we notice gitlab.denx.de is out of space. Going this route I
>> think makes the most sense for what we do. It does remove the ability
>> to roll back a single platform (or platforms) to an older QEMU but I'm
>> not sure that's a big deal and we COULD re-do that as needed. Over at
>> https://gitlab.denx.de/u-boot/u-boot/pipelines/324 all QEMU platforms
>> pass again so we can use the latest version which allows evb-ast2500 to
>> be used.
>
> Heinrich, what do you think about extending this for GRUB binaries for
> test.py?
>
Hello Tom,
it saves a lot of CPU time if GRUB and QEMU are not built for every
single push to the U-Boot git. It should be sufficient to build them
once per release cycle or on demand.
So GRUB should be built in the Dockerfile.
I would currently use GRUB 2.04 as reference release.
Best regards
Heinrich
More information about the U-Boot
mailing list