QCDIS / NaaVRE-flavors

Flavors of NaaVRE
Apache License 2.0
0 stars 0 forks source link

Builds sometimes fail with with "no space left on device" #1

Closed gpelouze closed 8 months ago

gpelouze commented 8 months ago

We get the error message:

Error: buildx failed with: ERROR: failed to solve: failed to copy to tar: rpc error: code = Unknown desc = write /tmp/naavre-jupyter-laserfarm.tar: no space left on device

This already happened https://github.com/QCDIS/NaaVRE. While it happens less often here, it didn’t entirely disappear.

If it cannot be solved on GitHub runners, it could require to use self-hosted ones for building naavre-jupyter-*.

gpelouze commented 8 months ago

We can try:

    - name: Free Up GitHub Actions Ubuntu Runner Disk Space
      uses: jlumbroso/free-disk-space@main
      with:
        # This might remove tools that are actually needed, if set to "true" but frees about 6 GB
        tool-cache: false
        # All of these default to true, but feel free to set to "false" if necessary for your workflow
        android: true
        dotnet: true
        haskell: true
        large-packages: true
        swap-storage: true
gpelouze commented 8 months ago

This also exists: https://github.com/marketplace/actions/maximize-build-disk-space

gpelouze commented 8 months ago

We also have the issue on Push naavre-jupyter-laserfarm

gpelouze commented 8 months ago

Fixed by #4