From afa3da7677ed4d484612b820d8f09642d5821bd4 Mon Sep 17 00:00:00 2001 From: Ales Musil Date: Fri, 16 Feb 2024 14:40:46 +0100 Subject: [PATCH] ci: Update crun in Cirrus CI cloud image. There are some issues with older crun and newer kernel combination [0]. Unfortunately Ubuntu 23.10 falls into this category and the jobs will often time fail. Temoprarily use newer crun from git that has the fix [1]. [0] https://github.com/containers/crun/pull/1309 [1] https://noobient.com/2023/11/15/fixing-ubuntu-containers-failing-to-start-with-systemd/ Signed-off-by: Ales Musil Acked-by: Dumitru Ceara Signed-off-by: Numan Siddique (cherry picked from commit 891cf5840154db57f8fc5b0e39d78f1d6d7e930f) Signed-off-by: Dumitru Ceara --- .cirrus.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index 636ac144a0..3b53c45aec 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -54,6 +54,12 @@ arm_unit_tests_task: - sudo apt update - sudo apt install -y podman + # XXX This should be removed when native crun >=1.9.1 + update_crun_script: + - crun --version + - curl -L "https://github.com/containers/crun/releases/download/1.14.1/crun-1.14.1-linux-arm64" -o /usr/bin/crun + - chmod +x /usr/bin/crun + download_cache_script: - curl http://$CIRRUS_HTTP_CACHE_HOST/${CIRRUS_CHANGE_IN_REPO} -o /tmp/image.tar