[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/14] gitlab: display /packages.txt in build jobs
From: |
Alex Bennée |
Subject: |
[PULL 02/14] gitlab: display /packages.txt in build jobs |
Date: |
Tue, 30 Jul 2024 17:22:25 +0100 |
From: Daniel P. Berrangé <berrange@redhat.com>
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>
diff --git a/.gitlab-ci.d/buildtest-template.yml
b/.gitlab-ci.d/buildtest-template.yml
index 8f7ebfaed8..844c26623d 100644
--- a/.gitlab-ci.d/buildtest-template.yml
+++ b/.gitlab-ci.d/buildtest-template.yml
@@ -9,6 +9,7 @@
when: always
before_script:
- JOBS=$(expr $(nproc) + 1)
+ - cat /packages.txt
script:
- export CCACHE_BASEDIR="$(pwd)"
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
diff --git a/.gitlab-ci.d/crossbuild-template.yml
b/.gitlab-ci.d/crossbuild-template.yml
index d9f81b7061..53051ec793 100644
--- a/.gitlab-ci.d/crossbuild-template.yml
+++ b/.gitlab-ci.d/crossbuild-template.yml
@@ -8,6 +8,8 @@
key: "$CI_JOB_NAME"
when: always
timeout: 80m
+ before_script:
+ - cat /packages.txt
script:
- export CCACHE_BASEDIR="$(pwd)"
- export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
--
2.39.2
- [PULL for 9.1-rc1 00/14] Minor bug fixes and documentation cleanups, Alex Bennée, 2024/07/30
- [PULL 02/14] gitlab: display /packages.txt in build jobs,
Alex Bennée <=
- [PULL 03/14] tests/tcg: Use --noexecstack with assembler files, Alex Bennée, 2024/07/30
- [PULL 04/14] tests/tcg/loongarch64: Use --no-warn-rwx-segments to link system tests, Alex Bennée, 2024/07/30
- [PULL 05/14] tests/tcg: update README, Alex Bennée, 2024/07/30
- [PULL 01/14] gitlab: record installed packages in /packages.txt in containers, Alex Bennée, 2024/07/30
- [PULL 07/14] docs/devel: document how to run individual TCG tests, Alex Bennée, 2024/07/30
- [PULL 08/14] tests/avocado: remove tcg_plugins virt_mem_icount test, Alex Bennée, 2024/07/30
- [PULL 12/14] contrib/plugins: be more vocal building, Alex Bennée, 2024/07/30
- [PULL 06/14] docs/devel: update the testing introduction, Alex Bennée, 2024/07/30
- [PULL 13/14] contrib/plugins: add compat for g_memdup2, Alex Bennée, 2024/07/30
- [PULL 11/14] contrib/plugins/cache.c: Remove redundant check of l2_access, Alex Bennée, 2024/07/30