From: Tom Rini Date: Thu, 25 Jul 2019 16:35:34 -0400 Subject: [U-Boot] [PATCH] Dockerfile: Build a copy of QEMU and install it under /opt In-Reply-To: <2530e719-634d-705a-eb39-26305fdb5458@gmx.de> References: <1563997874-22010-1-git-send-email-trini@konsulko.com> <20190724195621.GF20116@bill-the-cat> <20190725191750.GL20116@bill-the-cat> <2530e719-634d-705a-eb39-26305fdb5458@gmx.de> Message-ID: <20190725203534.GO20116@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Jul 25, 2019 at 10:14:04PM +0200, Heinrich Schuchardt wrote: > 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 > >> > >>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. Can you please do a follow-up patch to do so, for all platforms we need a copy of GRUB for to test with? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: