[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 0/4] Yocto Gitlab CI


  • To: Bertrand Marquis <bertrand.marquis@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Mon, 31 Oct 2022 15:39:51 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Kzh/2fMj11dCzNgbkaFsZ+6FEGFZsdHD3qiMMvY1mKg=; b=bMVgV8hCU+C6KVPer2StbuT3ieJVmRnpQ/HKaQNDeKMlWKoXXM7ynT31X/ps21BCgev106jGSnyLtzQ66TpsuRK+1nzD4Rmo7aJ0WCObzKKyUtOKdiSysFI0Egb9WKEcoZG2TwXc93/CyGrxQA4b3LBJczL4GvI/MSK+aOU7XtuQalaVFFklvLfIbMx/gBqI+f3KeMXbITyDajtw/p4hVq0iZ1++6IUkRZDBbDmcTiJvYsJk0dZLFwRA7T7DQk+pm2pMkOhZKncnPUtLoVNkseUwXKYRNGnpVt2zGVlNKjju8ykLT/laRgVtTqWJmEEuo6XdEFjvXLl4vUVpUP/WVQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QZII/Fn4ELcWS+Dph2b9XNqpFwKUX7wocV8z4scfgZUuyLvHIbLdbKk2cwGnJBRe2tQYkxaeCLSBsgKMc6hLdSInTNsb0ZVQBuPmrzq7PD7ciq74JUwSjrzjAMMNdt3XN9po+rAqT1NA/KNg7YcoAzxcoxvrgfgjeLOUvXasELf1OtQKbrpAlFbuLAE2HjSr/Eg6jt0sFBeZ6tWVhd8nWKGv4UX4VOvAKS5jMdwQM//OP8lmHmdB3mr1w3TDWVdNCh7UFJkr5k386koNCA06t/MYP4p7tlHRiWpGz7wNiH2AN/Vbl82BCGqfWUUZTySP3WjXKSuTjgTpecjZFjUYdg==
  • Cc: Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 31 Oct 2022 14:40:12 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi Bertrand,

On 31/10/2022 15:00, Bertrand Marquis wrote:
> 
> 
> This patch series is a first attempt to check if we could use Yocto in
> gitlab ci to build and run xen on qemu for arm, arm64 and x86.
> 
> The first patch is creating a container with all elements required to
> build Yocto, a checkout of the yocto layers required and an helper
> script to build and run xen on qemu with yocto.
> 
> The second patch is creating containers with a first build of yocto done
> so that susbsequent build with those containers would only rebuild what
> was changed and take the rest from the cache.
> 
> The third patch is adding a way to easily clean locally created
> containers.
> 
> This is is mainly for discussion and sharing as there are still some
> issues/problem to solve:
> - building the qemu* containers can take several hours depending on the
>   network bandwith and computing power of the machine where those are
>   created
This is not really an issue as the build of the containers occurs on the local
machines before pushing them to registry. Also, building the containers
will only be required for new Yocto releases.

> - produced containers containing the cache have a size between 8 and
>   12GB depending on the architecture. We might need to store the build
>   cache somewhere else to reduce the size. If we choose to have one
>   single image, the needed size is around 20GB and we need up to 40GB
>   during the build, which is why I splitted them.
> - during the build and run, we use a bit more then 20GB of disk which is
>   over the allowed size in gitlab
As we could see during v2 testing, we do not have any space restrictions
on the Xen GitLab and I think we already decided to have the Yocto
integrated into our CI.

I will do some testing and get back to you with results + review.

~Michal



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.