]> git.proxmox.com Git - mirror_qemu.git/commit - .gitlab-ci.yml
gitlab-ci: Do not use the standard container images from gitlab
authorThomas Huth <thuth@redhat.com>
Wed, 20 May 2020 08:38:37 +0000 (10:38 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 28 May 2020 09:00:39 +0000 (11:00 +0200)
commitb5d621ff4a7d86e82a58104d5706bda2b4238626
treef290c92e198470af36ab9b8f850d1f83cb6c25f8
parent922febe2af0a636636d3b0fd4309f26072cfd2cc
gitlab-ci: Do not use the standard container images from gitlab

Currently all pipelines of the gitlab CI are failing, except for the
"build-user" pipeline. There is an issue with the default container
image (likely Debian stable) where they imported something bad in one
of the system headers:

 /usr/include/linux/swab.h: In function '__swab':
 /builds/huth/qemu/include/qemu/bitops.h:20:34: error: "sizeof" is not
  defined, evaluates to 0 [-Werror=undef]
 #define BITS_PER_LONG           (sizeof (unsigned long) * BITS_PER_BYTE)

We could maybe work-around this issue or wait for the default containers
to get fixed, but considering that we use Ubuntu (and thus Debian-style)
CI in Travis already to a very large extent, we should consider to use
some RPM-based distros in our gitlab CI instead. Thus let's change the
failing pipelines to use Fedora and CentOS (and also one Ubuntu 19.10,
since 20.04 is broken, too) now.

Message-Id: <20200525131823.715-6-thuth@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.yml