From 6c15f20a833abe7d5ea5b49a00c27baeadc9713a Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Thu, 18 Apr 2024 14:45:10 +0200 Subject: [PATCH] fixing disk size limit --- .github/workflows/devcontainer-all.yaml | 7 +++++++ .github/workflows/devcontainer-azurertos.yaml | 9 ++++++++- .github/workflows/devcontainer-chibios.yaml | 7 +++++++ .github/workflows/devcontainer-esp32.yml | 7 +++++++ .github/workflows/devcontainer-freertos-nxp.yaml | 8 ++++++++ .github/workflows/devcontainer-smoketest.yaml | 7 +++++++ .github/workflows/devcontainer-ti.yaml | 7 +++++++ 7 files changed, 51 insertions(+), 1 deletion(-) diff --git a/.github/workflows/devcontainer-all.yaml b/.github/workflows/devcontainer-all.yaml index a05b31a963..2056a4bcfc 100644 --- a/.github/workflows/devcontainer-all.yaml +++ b/.github/workflows/devcontainer-all.yaml @@ -25,6 +25,13 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 + + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # when set to "true" but frees about 6 GB + tool-cache: true - name: Get container version run: | diff --git a/.github/workflows/devcontainer-azurertos.yaml b/.github/workflows/devcontainer-azurertos.yaml index a843611501..c2772935b8 100644 --- a/.github/workflows/devcontainer-azurertos.yaml +++ b/.github/workflows/devcontainer-azurertos.yaml @@ -22,10 +22,17 @@ jobs: if: ${{ vars.PUBLISH_DOCKER_IMAGE == 'true' }} runs-on: ubuntu-latest steps: - + - name: Checkout Repository uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # when set to "true" but frees about 6 GB + tool-cache: true + - name: Get container version run: | $dockerfileContent = Get-Content(".devcontainer/AzureRTOS/Dockerfile.AzureRTOS") diff --git a/.github/workflows/devcontainer-chibios.yaml b/.github/workflows/devcontainer-chibios.yaml index 52f4bf4471..5a2449b46a 100644 --- a/.github/workflows/devcontainer-chibios.yaml +++ b/.github/workflows/devcontainer-chibios.yaml @@ -26,6 +26,13 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # when set to "true" but frees about 6 GB + tool-cache: true + - name: Get container version run: | $dockerfileContent = Get-Content(".devcontainer/ChibiOS/Dockerfile.ChibiOS") diff --git a/.github/workflows/devcontainer-esp32.yml b/.github/workflows/devcontainer-esp32.yml index 327c3fb794..7bff46d2be 100644 --- a/.github/workflows/devcontainer-esp32.yml +++ b/.github/workflows/devcontainer-esp32.yml @@ -26,6 +26,13 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # when set to "true" but frees about 6 GB + tool-cache: true + - name: Get container version run: | $dockerfileContent = Get-Content(".devcontainer/ESP32/Dockerfile.ESP32") diff --git a/.github/workflows/devcontainer-freertos-nxp.yaml b/.github/workflows/devcontainer-freertos-nxp.yaml index 20baaf3216..94f49bc76f 100644 --- a/.github/workflows/devcontainer-freertos-nxp.yaml +++ b/.github/workflows/devcontainer-freertos-nxp.yaml @@ -27,8 +27,16 @@ jobs: packages: write steps: + - name: Checkout Repository uses: actions/checkout@v4 + + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # when set to "true" but frees about 6 GB + tool-cache: true - name: Get container version shell: pwsh diff --git a/.github/workflows/devcontainer-smoketest.yaml b/.github/workflows/devcontainer-smoketest.yaml index aaa8a03eb8..97adcde9ba 100644 --- a/.github/workflows/devcontainer-smoketest.yaml +++ b/.github/workflows/devcontainer-smoketest.yaml @@ -36,6 +36,13 @@ jobs: with: submodules: true + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # when set to "true" but frees about 6 GB + tool-cache: true + - name: Update repo submodules run: | git submodule update --init diff --git a/.github/workflows/devcontainer-ti.yaml b/.github/workflows/devcontainer-ti.yaml index 4baf392cd2..6231c15b97 100644 --- a/.github/workflows/devcontainer-ti.yaml +++ b/.github/workflows/devcontainer-ti.yaml @@ -26,6 +26,13 @@ jobs: - name: Checkout Repository uses: actions/checkout@v4 + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + with: + # this might remove tools that are actually needed, + # when set to "true" but frees about 6 GB + tool-cache: true + - name: Get container version run: | $dockerfileContent = Get-Content(".devcontainer/TI/Dockerfile.TI")