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

[RFC TEST_ARTIFACTS PATCH 0/2] artifacts: Initial commit


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: <victorm.lira@xxxxxxx>
  • Date: Tue, 22 Oct 2024 19:53:31 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org 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 (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=XeVq+a/a2D6KtSOF8g9EkO6PZ2zI7kCe7cjqoeQZhAw=; b=uxdP3BIoXer4jd+B18n7BFcIvyFw9+0E8W+A/m0w1MZyh+m9qKDxfQDTFi0mtQqSs9nyJW8ct7NhKCWp38KoBQmn3T3ezpotjshyvWRw4lt2f/c4RlrFdqniFPLgIkIdmiWM4MUA0bhGq3mXZWpm8DiorsA6euj/OUkZ/s9ReYUhLOJHOjA/5uJhrMkxCAkqjs/pwMUt20RUIEcLrXy33mjQy1AK+vxDbGYT1UJZSovdKfXCvakKpzsjl4ramnLSJwsmuZ2KepGGn75m1UaX/bfW4Odu8w3v4aRWnkBj27hB10WnWqBgdEgfOirQGgIQYr42DnJtIOSloyySJHaCtw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dJ/NCCHXeKE2+3sCKgW7BMYHnug7X7zRUYJ28xCio7FU5VKr+kMFQD6GUZcrgXANjd/it/oA+FZy35B5AG2LIDKBN+7PbzCk9J6Oa3qQPzOfQ4ldJxM8Wr1eHi8dgYgGKK/aP7Guz8Eb13+3jTIEEr3KNg/8ma24MzskWx67OhI9TkhV6NNFOkSXu+WqdboYfM2vOxmPPHzYmeZ5LCKP5sJO03b7Hd7ADpMk6GnUc5v9EtxXSdaE3oYBOpaQH8q7BNAvaQDua6wxPe1qj0XUQfKzLNKSSnMT9BeCF0fm+eU5ypd/V/xeCssg4ZUfTvrB75gqnQe2XOlwjyUIGXq7Yw==
  • Cc: Victor Lira <victorm.lira@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Wed, 23 Oct 2024 02:54:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

From: Victor Lira <victorm.lira@xxxxxxx>

This patch series is a proof of concept that a separate repository can be
used to generate kernel, rootfs, and other commonly used binary artifacts,
and have Xen test jobs load these instead of generating them every run.

The current configuration of Xen CI generates these using "dummy" jobs
in every pipeline. This unecessarily uses a large amount of storage and
network traffic because artifacts are duplicated overprojects/branches.

Instead, use GitLab CI built-in functionality to retrieve them from a
separate repository using the "needs" keyword. The "needs:project" feature
is currently limited to 5 artifacts archives from external pipelines per
job, but web requests can be used if more are needed. It's preferable to
use this as opposed to just web requests since this doesn't requre modying
the any test scripts as long as the archive has the same directory
structure.

The example of a test artifacts repository:
https://gitlab.com/xen-project/people/victormlira/test-artifacts/-/pipelines/1508031895

The example of the use:
https://gitlab.com/xen-project/people/sstabellini/xen/-/pipelines/1508069266

Stefano Stabellini (1):
  Initial commit

--
2.25.1




 


Rackspace

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