Skip to content

gitlab: expose more info about CI runner environment as artifacts

Daniel P. Berrangé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 8 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6gitlab: remove unused .cross_test_artifacts template.gitlab-ci.d/crossbuild-template.yml+0 -122 replies
2/6gitlab: move .meson_job_template into base.yaml.gitlab-ci.d/base.yml .gitlab-ci.d/buildtest-template.yml+17 -171 reply
3/6gitlab: use .base_meson_job_template from crossbuild jobs.gitlab-ci.d/crossbuild-template.yml+3 -31 reply
4/6gitlab: pull ccache setup into .base_meson_ccache_job_template.gitlab-ci.d/base.yml .gitlab-ci.d/buildtest-template.yml .gitlab-ci.d/crossbuild-template.yml+24 -411 reply
5/6gitlab: pull before_script logic into .base_meson_job_template.gitlab-ci.d/base.yml .gitlab-ci.d/buildtest-template.yml .gitlab-ci.d/crossbuild-template.yml+11 -341 reply
6/6gitlab: greatly expand captured info about CI runner environment.gitlab-ci.d/base.yml .gitlab-ci.d/buildtest-template.yml+12 -11 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéPierrick Bouvier
1/6R-b R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/6] gitlab: expose more info about CI runner environment as artifacts

To repeat the commit message from patch 6..

This captures the mount list, CPU model, memory information, device node lists, kernel info, user identity and all environment variables. For more details see patch 6.

The first 5 patches are all refactoring of the job templates to reduce redundancy, so we have more consistency across jobs with less code.

Sample pipeline showing the new 'ci-runner-env' artifacts in jobs:

https://gitlab.com/berrange/qemu/-/pipelines/2626072516

Daniel P. Berrangé (6):
gitlab: remove unused .cross_test_artifacts template
gitlab: move .meson_job_template into base.yaml
gitlab: use .base_meson_job_template from crossbuild jobs
gitlab: pull ccache setup into .base_meson_ccache_job_template
gitlab: pull before_script logic into .base_meson_job_template
gitlab: greatly expand captured info about CI runner environment

 .gitlab-ci.d/base.yml                | 48 ++++++++++++++++++++++
 .gitlab-ci.d/buildtest-template.yml  | 58 ++++-----------------------
 .gitlab-ci.d/crossbuild-template.yml | 59 +++-------------------------
 3 files changed, 62 insertions(+), 103 deletions(-)
Signature · 1 line
2.54.0