diff --git a/.github/workflows/e2e-crc-okd-tests.yml b/.github/workflows/e2e-crc-okd-tests.yml index 735cdad7..0facdab1 100644 --- a/.github/workflows/e2e-crc-okd-tests.yml +++ b/.github/workflows/e2e-crc-okd-tests.yml @@ -66,7 +66,9 @@ jobs: - name: Install required virtualization software run: | sudo apt-get update - sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system virtiofsd + sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system + # This package may not be present depending on Ubuntu version + sudo apt install virtiofsd || true sudo usermod -a -G libvirt $USER - name: Remove unwanted stuff to free up disk image run: | @@ -75,6 +77,19 @@ jobs: sudo rm -rf /opt/ghc sudo rm -rf "/usr/local/share/boost" sudo rm -rf /opt/hostedtoolcache/CodeQL + sudo rm -rf \ + /opt/google/chrome \ + /opt/microsoft/msedge \ + /opt/microsoft/powershell \ + /opt/pipx \ + /usr/lib/mono \ + /usr/local/julia* \ + /usr/local/lib/android \ + /usr/local/lib/node_modules \ + /usr/local/share/chromium \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift sudo docker image prune --all --force