[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH stable-7.2 14/23] .gitlab-ci.d/cirrus: Remove the netbsd and open
From: |
Thomas Huth |
Subject: |
[PATCH stable-7.2 14/23] .gitlab-ci.d/cirrus: Remove the netbsd and openbsd jobs |
Date: |
Tue, 3 Dec 2024 11:53:37 +0100 |
During the past months, the netbsd and openbsd jobs in the Cirrus-CI
were broken most of the time - the setup to run a BSD in KVM on Cirrus-CI
from gitlab via the cirrus-run script was very fragile, and since the
jobs were not run by default, it used to bitrot very fast.
Now Cirrus-CI also introduce a limit on the amount of free CI minutes
that you get there, so it is not appealing at all anymore to run
these BSDs in this setup - it's better to run the checks locally via
"make vm-build-openbsd" and "make vm-build-netbsd" instead. Thus let's
remove these CI jobs now.
Message-ID: <20240426113742.654748-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit cc6cb422e09592158586279fddeef107df05ecbb)
---
.gitlab-ci.d/cirrus.yml | 37 -------------------------------
.gitlab-ci.d/cirrus/kvm-build.yml | 31 --------------------------
2 files changed, 68 deletions(-)
delete mode 100644 .gitlab-ci.d/cirrus/kvm-build.yml
diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml
index 28069cd9d2..abbef12a35 100644
--- a/.gitlab-ci.d/cirrus.yml
+++ b/.gitlab-ci.d/cirrus.yml
@@ -89,40 +89,3 @@ aarch64-macos-14-base-build:
PKG_CONFIG_PATH:
/opt/homebrew/curl/lib/pkgconfig:/opt/homebrew/ncurses/lib/pkgconfig:/opt/homebrew/readline/lib/pkgconfig
TEST_TARGETS: check-unit check-block check-qapi-schema check-softfloat
check-qtest-x86_64
QEMU_JOB_OPTIONAL: 1
-
-
-# The following jobs run VM-based tests via KVM on a Linux-based Cirrus-CI job
-.cirrus_kvm_job:
- extends: .base_job_template
- stage: build
- image: registry.gitlab.com/libvirt/libvirt-ci/cirrus-run:master
- needs: []
- timeout: 80m
- script:
- - sed -e "s|[@]CI_REPOSITORY_URL@|$CI_REPOSITORY_URL|g"
- -e "s|[@]CI_COMMIT_REF_NAME@|$CI_COMMIT_REF_NAME|g"
- -e "s|[@]CI_COMMIT_SHA@|$CI_COMMIT_SHA|g"
- -e "s|[@]NAME@|$NAME|g"
- -e "s|[@]CONFIGURE_ARGS@|$CONFIGURE_ARGS|g"
- -e "s|[@]TEST_TARGETS@|$TEST_TARGETS|g"
- <.gitlab-ci.d/cirrus/kvm-build.yml >.gitlab-ci.d/cirrus/$NAME.yml
- - cat .gitlab-ci.d/cirrus/$NAME.yml
- - cirrus-run -v --show-build-log always .gitlab-ci.d/cirrus/$NAME.yml
- variables:
- QEMU_JOB_CIRRUS: 1
- QEMU_JOB_OPTIONAL: 1
-
-
-x86-netbsd:
- extends: .cirrus_kvm_job
- variables:
- NAME: netbsd
- CONFIGURE_ARGS: --target-list=x86_64-softmmu,ppc64-softmmu,aarch64-softmmu
- TEST_TARGETS: check
-
-x86-openbsd:
- extends: .cirrus_kvm_job
- variables:
- NAME: openbsd
- CONFIGURE_ARGS: --target-list=i386-softmmu,riscv64-softmmu,mips64-softmmu
- TEST_TARGETS: check
diff --git a/.gitlab-ci.d/cirrus/kvm-build.yml
b/.gitlab-ci.d/cirrus/kvm-build.yml
deleted file mode 100644
index a93881aa8b..0000000000
--- a/.gitlab-ci.d/cirrus/kvm-build.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-container:
- image: fedora:35
- cpu: 4
- memory: 8Gb
- kvm: true
-
-env:
- CIRRUS_CLONE_DEPTH: 1
- CI_REPOSITORY_URL: "@CI_REPOSITORY_URL@"
- CI_COMMIT_REF_NAME: "@CI_COMMIT_REF_NAME@"
- CI_COMMIT_SHA: "@CI_COMMIT_SHA@"
-
-@NAME@_task:
- @NAME@_vm_cache:
- folder: $HOME/.cache/qemu-vm
- install_script:
- - dnf update -y
- - dnf install -y git make openssh-clients qemu-img qemu-system-x86 wget
meson
- clone_script:
- - git clone --depth 100 "$CI_REPOSITORY_URL" .
- - git fetch origin "$CI_COMMIT_REF_NAME"
- - git reset --hard "$CI_COMMIT_SHA"
- build_script:
- - if [ -f $HOME/.cache/qemu-vm/images/@NAME@.img ]; then
- make vm-build-@NAME@ J=$(getconf _NPROCESSORS_ONLN)
- EXTRA_CONFIGURE_OPTS="@CONFIGURE_ARGS@"
- BUILD_TARGET="@TEST_TARGETS@" ;
- else
- make vm-build-@NAME@ J=$(getconf _NPROCESSORS_ONLN) BUILD_TARGET=help
- EXTRA_CONFIGURE_OPTS="--disable-system --disable-user
--disable-tools" ;
- fi
--
2.47.0
- [PATCH stable-7.2 07/23] .gitlab-ci.d/cirrus: Upgrade macOS to 13 (Ventura), (continued)
- [PATCH stable-7.2 07/23] .gitlab-ci.d/cirrus: Upgrade macOS to 13 (Ventura), Thomas Huth, 2024/12/03
- [PATCH stable-7.2 10/23] tests/vm/freebsd: Update to FreeBSD 13.2, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 11/23] tests/vm/freebsd: Add additional library paths for libfdt, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 12/23] Update FreeBSD CI jobs FreeBSD 14.1, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 16/23] gitlab: switch from 'stable' to 'latest' docker container tags, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 13/23] ci: install meson in CirrusCI KVM build environment, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 18/23] tests: update most Debian images to Bookworm, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 21/23] tests: update lcitool to fix freebsd py311-yaml rename, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 20/23] testing: bump mips64el cross to bookworm and fix package list, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 17/23] tests/lcitool: add an explicit gcc-native package, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 14/23] .gitlab-ci.d/cirrus: Remove the netbsd and openbsd jobs,
Thomas Huth <=
- [PATCH stable-7.2 19/23] tests: bump libvirt-ci for libasan and libxdp, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 22/23] tests/docker: update debian i686 and mipsel images to bookworm, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 23/23] .gitlab-ci.d/qemu-project: Disable Cirrus-CI and MSYS2 in the 7.2 branch, Thomas Huth, 2024/12/03
- [PATCH stable-7.2 15/23] .gitlab-ci.d/cirrus: Drop support for macOS 13 (Ventura), Thomas Huth, 2024/12/03
- Re: [PATCH stable-7.2 00/23] Fixes for the CI in the 7.2 stable branch, Michael Tokarev, 2024/12/03