File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 4949 python3 -m pip install -r molecule/requirements.txt
5050 ansible-galaxy collection install community.general
5151 sudo apt update && sudo apt install -y podman
52+
53+ # we have to patch crun here because Ubuntu fails with the errors similar to the
54+ # github issue below.
55+ # https://github.com/containers/crun/issues/1308
56+ - name : patch crun
57+ run : |
58+ export CRUN_VER='1.14.3'
59+ mkdir -p "${HOME}/.local/bin"
60+ curl -L "https://github.com/containers/crun/releases/download/${CRUN_VER}/crun-${CRUN_VER}-linux-amd64" -o "${HOME}/.local/bin/crun"
61+ chmod +x "${HOME}/.local/bin/crun"
62+
63+ mkdir -p "${HOME}/.config/containers"
64+ cat << EOF > "${HOME}/.config/containers/containers.conf"
65+ [engine.runtimes]
66+ crun = [
67+ "${HOME}/.local/bin/crun",
68+ "/usr/bin/crun"
69+ ]
70+ EOF
5271 - name : run tests
5372 run : molecule test --scenario-name=${{ matrix.scenario }}
5473 env :
You can’t perform that action at this time.
0 commit comments