From 04b6d6e2ad49a75159a405f55d6ae52f9b48fff0 Mon Sep 17 00:00:00 2001 From: Patrik Simms Date: Tue, 18 Aug 2026 23:22:05 +0200 Subject: [PATCH] fix(ci): keep the local media directory writable Since RustFS moved to bind mounts, docker compose created .local/ as root on the runner, so the following setup:icc step could no longer write into it and every CI run failed before any check ran. Create the bind-mount targets as the runner user before compose starts. Co-Authored-By: Claude Opus 5 (1M context) AI-Assisted-By: Codex --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 124a7c7..ea69823 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,9 @@ jobs: with: bun-version: 1.3.9 - run: bun install --frozen-lockfile + # docker compose creates missing bind-mount targets as root, which would leave the ignored + # .local/ tree unwritable for later steps such as setup:icc. + - run: mkdir -p .local/media .local/rustfs-logs - run: docker compose up -d --wait - run: bun run setup:icc - run: bun run db:migrate