qemu/.gitlab-ci.d
Peter Maydell c59ce9fef6 .gitlab-ci.d/buildtest.yml: Work around htags bug when environment is large
Sometimes the CI "pages" job fails with a message like this from
htags:

$ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU sourcecode"
htags: Negative exec line limit = -371

This is due to a bug in hflags where if the environment is too large it
falls over:
https://lists.gnu.org/archive/html/bug-global/2024-01/msg00000.html

This happens to us because GitLab CI puts the commit message of the
commit under test into the CI_COMMIT_MESSAGE and/or CI_COMMIT_TAG_MESSAGE
environment variables, so the job will fail if the commit happens to
have a verbose commit message.

Work around the htags bug by unsetting these variables while running
htags.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2080
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240111125543.1573473-1-peter.maydell@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 52a21689cd)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-01-13 11:30:27 +03:00
..
cirrus ci: replace x86_64 macos-11 with aarch64 macos-12 2022-11-17 09:58:11 +01:00
custom-runners gitlab-ci: update aarch32/aarch64 custom runner jobs 2022-09-20 17:22:08 +01:00
edk2 edk2/docker: use ubuntu 18.04 2022-03-15 09:32:22 +01:00
opensbi gitlab-ci.yml: Add jobs to build OpenSBI firmware binaries 2020-03-16 17:03:50 -07:00
base.yml gitlab: compare CIRRUS_nn vars against 'null' not "" 2022-06-14 00:15:06 +01:00
buildtest-template.yml gitlab: convert build/container jobs to .base_job_template 2022-06-01 15:47:43 +01:00
buildtest.yml .gitlab-ci.d/buildtest.yml: Work around htags bug when environment is large 2024-01-13 11:30:27 +03:00
check-dco.py gitlab-ci: check-dco.py: switch from master to stable-7.2 branch 2023-09-11 10:53:50 +03:00
check-patch.py .gitlab-ci.d/check-patch: tweak output for CI logs 2020-11-16 11:08:40 +00:00
cirrus.yml ci: replace x86_64 macos-11 with aarch64 macos-12 2022-11-17 09:58:11 +01:00
container-core.yml tests/docker: remove the Debian base images 2022-09-20 17:22:08 +01:00
container-cross.yml tests/docker: update and flatten debian-amd64-cross 2022-09-20 17:22:08 +01:00
container-template.yml gitlab: convert build/container jobs to .base_job_template 2022-06-01 15:47:43 +01:00
containers.yml tests/docker: remove the Debian base images 2022-09-20 17:22:08 +01:00
crossbuild-template.yml gitlab: reduce targets in cross_user_build_job 2022-09-20 15:14:59 +01:00
crossbuilds.yml Deprecate 32 bit big-endian MIPS 2022-09-20 17:22:08 +01:00
custom-runners.yml gitlab-ci: update aarch32/aarch64 custom runner jobs 2022-09-20 17:22:08 +01:00
edk2.yml gitlab: honour QEMU_CI variable in edk2/opensbi jobs 2022-07-05 09:33:58 +02:00
opensbi.yml gitlab: honour QEMU_CI variable in edk2/opensbi jobs 2022-07-05 09:33:58 +02:00
qemu-project.yml gitlab: introduce a common base job template 2022-06-01 15:47:43 +01:00
stages.yml gitlab: drop 'containers-layer2' stage 2022-07-29 09:48:01 +01:00
static_checks.yml python: drop pipenv 2023-09-11 10:53:50 +03:00
windows.yml target/hexagon: manually add flex/bison/glib2 to remaining containers 2022-10-06 11:53:20 +01:00