You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/06/17 19:43:51 UTC
(superset) branch master updated: ci(docker): free disk space before image build to fix "no space left on device" (#41068)
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new b18fab7fc19 ci(docker): free disk space before image build to fix "no space left on device" (#41068)
b18fab7fc19 is described below
commit b18fab7fc19f1b7f572b2222c6a7b41d2663a75a
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Wed Jun 17 12:43:43 2026 -0700
ci(docker): free disk space before image build to fix "no space left on device" (#41068)
Co-authored-by: Claude Code <no...@anthropic.com>
---
.github/workflows/docker.yml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 924e40d4318..54cab025f09 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -75,6 +75,24 @@ jobs:
with:
persist-credentials: false
+ - name: Free up disk space
+ shell: bash
+ run: |
+ # Reclaim large preinstalled toolchains we don't use. The image
+ # build, and especially the docker-compose sanity check (which
+ # rebuilds from scratch whenever the registry cache image
+ # apache/superset-cache is unavailable), can otherwise exhaust the
+ # runner's root disk and fail with "no space left on device".
+ echo "Disk before cleanup:"; df -h /
+ sudo rm -rf \
+ /usr/share/dotnet \
+ /usr/local/lib/android \
+ /opt/ghc \
+ /usr/local/.ghcup \
+ /opt/hostedtoolcache/CodeQL \
+ /usr/local/share/boost || true
+ echo "Disk after cleanup:"; df -h /
+
- name: Setup Docker Environment
uses: ./.github/actions/setup-docker
with:
@@ -162,6 +180,21 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
+ - name: Free up disk space
+ shell: bash
+ run: |
+ # The sanity check rebuilds the image from scratch whenever the
+ # registry cache image apache/superset-cache is unavailable, which
+ # can exhaust the runner's root disk ("no space left on device").
+ echo "Disk before cleanup:"; df -h /
+ sudo rm -rf \
+ /usr/share/dotnet \
+ /usr/local/lib/android \
+ /opt/ghc \
+ /usr/local/.ghcup \
+ /opt/hostedtoolcache/CodeQL \
+ /usr/local/share/boost || true
+ echo "Disk after cleanup:"; df -h /
- name: Setup Docker Environment
uses: ./.github/actions/setup-docker
with: