[U-Boot] [RFC DO-NOT-APPLY 1/1] .travis.yml: use GRUB from Docker image

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Aug 5 20:11:58 UTC 2019


On 8/5/19 3:17 PM, Tom Rini wrote:
> On Sun, Aug 04, 2019 at 03:04:40PM +0200, Heinrich Schuchardt wrote:
>> For GitLab we create our own GRUB binaries. Use them for Travis CI too.
>>
>> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>> ---
>> Hello Tom,
>>
>> with this patch every single of the 78 sub-job will pull our Docker image
>> resulting in 78 times 2GB traffic and 78 times 3 min for pulling the image.
>>
>> This cannot be the right way to do it. I think it would be preferable to
>> copy our GRUB images only. Can't we have a repository on gitlab.denx.de
>> where we put all Travis CI binary dependencies:
>>
>> * GRUB images
>> * QEMU images
>> * cross compilers
>
> I was hoping that we could tell Travis to just fully use our Docker
> images.  Looking at
> https://docs.travis-ci.com/user/build-stages/share-docker-image/ maybe
> we can just restrict the Docker pull to the test.py stages that use GRUB
> for tests?  And then as part of a move to Xenial we could also copy out
> QEMU.
>

We would still be downloading gitabyes where we only need a few MBs of
files.

Best regards

Heinrich


More information about the U-Boot mailing list