From af4766b60250f8a52d0b9de730a2fd1919c0c48b Mon Sep 17 00:00:00 2001 From: Steven Palma Date: Mon, 1 Dec 2025 20:14:51 +0100 Subject: [PATCH] fix(ci): move hub artifacts to `/mnt` to avoid runners' `No space left on device` (#2564) * fix(ci): move hub & lerobot artefacts to /mnt to avoid No space left on device in the future * chore(ci): remove dh -h steps --- .github/workflows/fast_tests.yml | 7 +++++++ .github/workflows/full_tests.yml | 7 +++++++ .github/workflows/unbound_deps_tests.yml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/.github/workflows/fast_tests.yml b/.github/workflows/fast_tests.yml index ad49389..a39773b 100644 --- a/.github/workflows/fast_tests.yml +++ b/.github/workflows/fast_tests.yml @@ -60,12 +60,19 @@ jobs: runs-on: ubuntu-latest env: MUJOCO_GL: egl + HF_HOME: /mnt/cache/.cache/huggingface + HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot steps: - uses: actions/checkout@v4 with: persist-credentials: false lfs: true + # NOTE(Steven): Mount to `/mnt` to avoid the limited storage on `/home`. Consider cleaning default SDKs or using self-hosted runners for more space. + # (As of 2024-06-10, the runner's `/home` has only 6.2 GB free—8% of its 72 GB total.) + - name: Setup /mnt storage + run: sudo chown -R $USER:$USER /mnt + # TODO(Steven): Evaluate the need of these dependencies - name: Install apt dependencies run: | diff --git a/.github/workflows/full_tests.yml b/.github/workflows/full_tests.yml index 0155eec..0dba5e1 100644 --- a/.github/workflows/full_tests.yml +++ b/.github/workflows/full_tests.yml @@ -58,12 +58,19 @@ jobs: github.event_name == 'workflow_dispatch' env: MUJOCO_GL: egl + HF_HOME: /mnt/cache/.cache/huggingface + HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot steps: - uses: actions/checkout@v4 with: lfs: true persist-credentials: false + # NOTE(Steven): Mount to `/mnt` to avoid the limited storage on `/home`. Consider cleaning default SDKs or using self-hosted runners for more space. + # (As of 2024-06-10, the runner's `/home` has only 6.2 GB free—8% of its 72 GB total.) + - name: Setup /mnt storage + run: sudo chown -R $USER:$USER /mnt + - name: Install apt dependencies run: | sudo apt-get update && sudo apt-get install -y build-essential \ diff --git a/.github/workflows/unbound_deps_tests.yml b/.github/workflows/unbound_deps_tests.yml index b6fc5ea..92271ba 100644 --- a/.github/workflows/unbound_deps_tests.yml +++ b/.github/workflows/unbound_deps_tests.yml @@ -45,12 +45,19 @@ jobs: runs-on: ubuntu-latest env: MUJOCO_GL: egl + HF_HOME: /mnt/cache/.cache/huggingface + HF_LEROBOT_HOME: /mnt/cache/.cache/huggingface/lerobot steps: - uses: actions/checkout@v4 with: lfs: true persist-credentials: false + # NOTE(Steven): Mount to `/mnt` to avoid the limited storage on `/home`. Consider cleaning default SDKs or using self-hosted runners for more space. + # (As of 2024-06-10, the runner's `/home` has only 6.2 GB free—8% of its 72 GB total.) + - name: Setup /mnt storage + run: sudo chown -R $USER:$USER /mnt + - name: Install apt dependencies run: | sudo apt-get update && sudo apt-get install -y build-essential \