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

Daniel P. Berrangé posted 6 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260624124657.2725376-1-berrange@redhat.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
.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(-)
[PATCH v2 0/6] gitlab: expose more info about CI runner environment as artifacts
Posted by Daniel P. Berrangé 1 month ago
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(-)

-- 
2.54.0


Re: [PATCH v2 0/6] gitlab: expose more info about CI runner environment as artifacts
Posted by Pierrick Bouvier 4 weeks, 1 day ago
On 6/24/2026 5:46 AM, Daniel P. Berrangé wrote:
> 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(-)
> 

This was merged into master (8f1d3b586f1265023f75ea9c227c35d463321aef).
Thank you for your contribution!

Regards,
Pierrick