From c991b26619d21877c8bbd4029fa29ebd210d8886 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 10 Mar 2025 14:20:41 -0700 Subject: [PATCH] .cirrus.yml: install less dependencies In a nutshell: - use git-core instead of git; - do not install weak deps; - do not install docs. This results in less packages to install: - 25 instead of 72 for almalinux-8 - 24 instead of 90 for almalinux-9 Signed-off-by: Kir Kolyshkin (cherry picked from commit 1d9bea537812e3a1ac18b072bd3ef5faab5f17fb) Signed-off-by: Kir Kolyshkin --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index cae54569fc9..9123e678906 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -13,7 +13,7 @@ task: CIRRUS_WORKING_DIR: /home/runc GO_VER_PREFIX: "1.24." BATS_VERSION: "v1.9.0" - RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux + RPMS: gcc git-core iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux # yamllint disable rule:key-duplicates matrix: DISTRO: almalinux-8 @@ -46,7 +46,7 @@ task: # Work around dnf mirror failures by retrying a few times. for i in $(seq 0 2); do sleep $i - yum install -y $RPMS && break + yum install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break done [ $? -eq 0 ] # fail if yum failed