diff --git a/.cirrus.yml b/.cirrus.yml index 1832e51f21..2a4cf09614 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -57,6 +57,23 @@ 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 + - mkdir -p "/root/.local/bin" + - curl -L "https://github.com/containers/crun/releases/download/1.14.1/crun-1.14.1-linux-arm64" -o "/root/.local/bin/crun" + - chmod +x "/root/.local/bin/crun" + - mkdir -p "/root/.config/containers" + + containers_conf_file: + path: /root/.config/containers/containers.conf + from_contents: | + [engine.runtimes] + crun = [ + "${HOME}/.local/bin/crun", + "/usr/bin/crun" + ] + download_cache_script: - curl http://$CIRRUS_HTTP_CACHE_HOST/${CIRRUS_CHANGE_IN_REPO} -o /tmp/image.tar