qemu/.gitlab-ci.d
Stefan Hajnoczi 6340af7a94 gitlab: fall back to commit hash in qemu-setup filename
Personal repos may not have release tags (v6.0.0, v6.1.0, etc) and this
causes cross_system_build_job to fail when pretty-printing a unique
qemu-setup-*.exe name:

  version="$(git describe --match v[0-9]*)";
             ^^^^^^^^^^ fails ^^^^^^^^^^^
  mv -v qemu-setup*.exe qemu-setup-${version}.exe;

Fall back to the short commit hash if necessary. This fixes CI failures
that Greg Kurz and I experienced in our personal repos.

Cc: Greg Kurz <groug@kaod.org>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220125173454.10381-1-stefanha@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220204204335.1689602-14-alex.bennee@linaro.org>
2022-02-09 12:08:42 +00:00
..
cirrus tests/lcitool: Refresh submodule and remove libxml2 2022-02-09 12:08:42 +00:00
custom-runners gitlab-ci: Split custom-runners.yml in one file per runner 2021-11-16 16:19:53 +00:00
edk2 MAINTAINERS: Change philmd's email address 2021-12-31 13:42:54 +01:00
opensbi gitlab-ci.yml: Add jobs to build OpenSBI firmware binaries 2020-03-16 17:03:50 -07:00
buildtest-template.yml tests/acceptance: rename tests acceptance to tests avocado 2021-11-08 17:00:22 +01:00
buildtest.yml ci: explicitly skip I/O tests on alpine 2022-01-18 16:42:41 +00:00
check-dco.py gitlab: add a CI job to validate the DCO sign off 2020-10-13 12:48:17 +02:00
check-patch.py .gitlab-ci.d/check-patch: tweak output for CI logs 2020-11-16 11:08:40 +00:00
cirrus.yml FreeBSD: Upgrade to 12.3 release 2022-01-18 16:44:16 +00:00
container-core.yml gitlab: Extract core container jobs to container-core.yml 2021-05-27 16:39:23 +02:00
container-cross.yml tests/docker: promote debian-riscv64-cross to a full image 2021-10-12 08:37:05 +01:00
container-template.yml gitlab: Extract container job template to container-template.yml 2021-05-27 16:39:23 +02:00
containers.yml tests/docker: remove ubuntu.docker container 2022-01-18 16:42:42 +00:00
crossbuild-template.yml gitlab: fall back to commit hash in qemu-setup filename 2022-02-09 12:08:42 +00:00
crossbuilds.yml gitlab: Add cross-riscv64-system, cross-riscv64-user 2021-10-12 08:37:05 +01:00
custom-runners.yml gitlab-ci: Split custom-runners.yml in one file per runner 2021-11-16 16:19:53 +00:00
edk2.yml roms/edk2: Only initialize required submodules 2021-10-20 16:26:19 -07:00
opensbi.yml roms/opensbi: Remove ELF images 2022-01-21 15:52:57 +10:00
qemu-project.yml gitlab-ci: Test compilation on Windows with MSYS2 2021-12-15 08:08:59 +01:00
stages.yml gitlab: Extract build stages to stages.yml 2021-05-27 16:39:23 +02:00
static_checks.yml gitlab: Disable check-python-tox 2022-01-03 08:55:55 -08:00
windows.yml tests: Manually remove libxml2 on MSYS2 runners 2022-02-09 12:08:42 +00:00