mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
gitlab: display /packages.txt in build jobs
The lcitool created containers save the full distro package list details into /packages.txt. The idea is that build jobs will 'cat' this file, so that the build log has a record of what packages were used. This is important info, because when it comes to debug failures, the original container is often lost. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20240724095505.33544-3-berrange@redhat.com> Acked-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240729144414.830369-3-alex.bennee@linaro.org>
This commit is contained in:
parent
c1d822ca34
commit
b86a46980b
2 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
when: always
|
when: always
|
||||||
before_script:
|
before_script:
|
||||||
- JOBS=$(expr $(nproc) + 1)
|
- JOBS=$(expr $(nproc) + 1)
|
||||||
|
- cat /packages.txt
|
||||||
script:
|
script:
|
||||||
- export CCACHE_BASEDIR="$(pwd)"
|
- export CCACHE_BASEDIR="$(pwd)"
|
||||||
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
|
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
key: "$CI_JOB_NAME"
|
key: "$CI_JOB_NAME"
|
||||||
when: always
|
when: always
|
||||||
timeout: 80m
|
timeout: 80m
|
||||||
|
before_script:
|
||||||
|
- cat /packages.txt
|
||||||
script:
|
script:
|
||||||
- export CCACHE_BASEDIR="$(pwd)"
|
- export CCACHE_BASEDIR="$(pwd)"
|
||||||
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
|
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue