From b0903426371a0a775c42391ee3187c726c2825aa Mon Sep 17 00:00:00 2001 From: Thomas SharedInbox Date: Tue, 19 May 2026 19:11:40 +0200 Subject: [PATCH] =?UTF-8?q?fix(ci):=20revert=20bad=20/root/.flutter=20cach?= =?UTF-8?q?e=20mount=20=E2=80=94=20it=20is=20a=20file,=20not=20a=20directo?= =?UTF-8?q?ry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WithMountedCache requires a directory. /root/.flutter in the cirruslabs/flutter image is a plain text file (Flutter SDK marker), causing "not a directory" at container startup. Reverts to the pre-365 Base() so run-364 exec cache entries are still valid. Co-Authored-By: Claude Sonnet 4.6 --- ci/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/main.go b/ci/main.go index ba5a038..fe6039e 100644 --- a/ci/main.go +++ b/ci/main.go @@ -186,7 +186,6 @@ func (m *Ci) Base() *dagger.Container { WithExec([]string{"apt-get", "install", "-y", "clang", "cmake", "ninja-build", "pkg-config", "libgtk-3-dev", "liblzma-dev", "libsecret-1-dev", "libgcrypt20-dev", "libjsoncpp-dev", "sqlite3", "iproute2", "netcat-openbsd", "xvfb", "libosmesa6", "libegl1", "lld"}). WithMountedCache("/root/.pub-cache", dag.CacheVolume("flutter-pub-cache")). WithMountedCache("/root/.gradle", dag.CacheVolume("gradle-cache")). - WithMountedCache("/root/.flutter", dag.CacheVolume("flutter-user-cache")). WithEnvVariable("PUB_CACHE", "/root/.pub-cache"). WithExec([]string{"/bin/sh", "-c", `yes | sdkmanager "ndk;28.2.13676358" "cmake;3.22.1" "build-tools;35.0.0" "platforms;android-34"`}) }