Skip to content

RFC artifacts: Initial commit

[email protected] xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2artifacts: Initial commit.gitlab-ci.yml README.md binaries/.gitignore +6 more+262 -01 reply
2/2automation: add xilinx test (linux argo)automation/gitlab-ci/build.yaml automation/gitlab-ci/test.yaml automation/scripts/xilinx-smoke-dom0-x86_64.sh+71 -251 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchAndrew Cooper
1/2Requested-by
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Victor Lira <[email protected]>

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