mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-27 11:53:40 +08:00
ci: install newer criu for almalinux-8
We are seeing a ton on flakes on almalinux-8 CI job, all caused by criu inability to freeze a cgroup. This was worked around in criu [1], but obviously we can't rely on a distro vendor to update the package. Let's use a copr (thanks to Adrian Reber!) [1]: https://github.com/checkpoint-restore/criu/pull/2545 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
11
.cirrus.yml
11
.cirrus.yml
@@ -31,7 +31,7 @@ task:
|
|||||||
install_dependencies_script: |
|
install_dependencies_script: |
|
||||||
case $DISTRO in
|
case $DISTRO in
|
||||||
*-8)
|
*-8)
|
||||||
yum config-manager --set-enabled powertools # for glibc-static
|
dnf config-manager --set-enabled powertools # for glibc-static
|
||||||
;;
|
;;
|
||||||
*-9)
|
*-9)
|
||||||
dnf config-manager --set-enabled crb # for glibc-static
|
dnf config-manager --set-enabled crb # for glibc-static
|
||||||
@@ -50,6 +50,15 @@ task:
|
|||||||
done
|
done
|
||||||
[ $? -eq 0 ] # fail if yum failed
|
[ $? -eq 0 ] # fail if yum failed
|
||||||
|
|
||||||
|
case $DISTRO in
|
||||||
|
*-8)
|
||||||
|
# Use newer criu (with https://github.com/checkpoint-restore/criu/pull/2545).
|
||||||
|
# Alas we have to disable container-tools for that.
|
||||||
|
dnf -y module disable container-tools
|
||||||
|
dnf -y copr enable adrian/criu-el8
|
||||||
|
dnf -y install criu
|
||||||
|
esac
|
||||||
|
|
||||||
# Install Go.
|
# Install Go.
|
||||||
URL_PREFIX="https://go.dev/dl/"
|
URL_PREFIX="https://go.dev/dl/"
|
||||||
# Find out the latest minor release URL.
|
# Find out the latest minor release URL.
|
||||||
|
Reference in New Issue
Block a user