mbox series

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

Message ID cover.1729649255.git.victorm.lira@amd.com (mailing list archive)
Headers show
Series artifacts: Initial commit | expand

Message

Lira, Victor M Oct. 23, 2024, 2:53 a.m. UTC
From: Victor Lira <victorm.lira@amd.com>

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