Skip to content

Commit 1d9bea5

Browse files
committed
.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 <[email protected]>
1 parent 854fb52 commit 1d9bea5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ task:
1313
CIRRUS_WORKING_DIR: /home/runc
1414
GO_VER_PREFIX: "1.24."
1515
BATS_VERSION: "v1.9.0"
16-
RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux
16+
RPMS: gcc git-core iptables jq glibc-static libseccomp-devel make criu fuse-sshfs container-selinux
1717
# yamllint disable rule:key-duplicates
1818
matrix:
1919
DISTRO: almalinux-8
@@ -46,7 +46,7 @@ task:
4646
# Work around dnf mirror failures by retrying a few times.
4747
for i in $(seq 0 2); do
4848
sleep $i
49-
yum install -y $RPMS && break
49+
yum install -y --setopt=install_weak_deps=False --setopt=tsflags=nodocs $RPMS && break
5050
done
5151
[ $? -eq 0 ] # fail if yum failed
5252

0 commit comments

Comments
 (0)