Skip to content

gitlab: expose installed package info in build logs

Daniel P. Berrangé qemu-devel 1 version Applied

Status from this message: Queued to maintainer/for-9.1, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2gitlab: record installed packages in /packages.txt in containerstests/docker/dockerfiles/debian-all-test-cross.docker tests/docker/dockerfiles/debian-hexagon-cross.docker tests/docker/dockerfiles/debian-legacy-test-cross.docker +3 more+12 -60 replies
2/2gitlab: display /packages.txt in build jobs.gitlab-ci.d/buildtest-template.yml .gitlab-ci.d/crossbuild-template.yml+3 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-Daudé
SeriesR-b
1/2
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 [PATCH 0/2] gitlab: expose installed package info in build logs

Many times we see a build job start failing, we wonder if the installed packages have changed since the last passing build. We can rarely diagnose this, however, since we only have the new container image, not the old one.

The lcitool generated containers create a /packages.txt file whose content is intended to be output in the build phase, so record the packages associated with the build.

This adds packages.txt to the manually written containers, and modifies the build jobs to display this content. This will improve our future debuggability of CI problems.

Daniel P. Berrangé (2):
gitlab: record installed packages in /packages.txt in containers
gitlab: display /packages.txt in build jobs

 .gitlab-ci.d/buildtest-template.yml                      | 1 +
 .gitlab-ci.d/crossbuild-template.yml                     | 2 ++
 tests/docker/dockerfiles/debian-all-test-cross.docker    | 3 ++-
 tests/docker/dockerfiles/debian-hexagon-cross.docker     | 3 ++-
 tests/docker/dockerfiles/debian-legacy-test-cross.docker | 3 ++-
 tests/docker/dockerfiles/debian-loongarch-cross.docker   | 3 ++-
 tests/docker/dockerfiles/debian-tricore-cross.docker     | 3 ++-
 tests/docker/dockerfiles/debian-xtensa-cross.docker      | 3 ++-
 8 files changed, 15 insertions(+), 6 deletions(-)
Signature · 1 line
2.45.2