fix(ci): keep the local media directory writable - #59
Closed
patriksimms wants to merge 1 commit into
Closed
Conversation
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) <noreply@anthropic.com> AI-Assisted-By: Codex
patriksimms
marked this pull request as ready for review
August 18, 2026 21:31
Owner
Author
|
Duplicate of #61, which fixes the same For the record, the approach here was order-independent (create the bind-mount targets as the runner user before compose runs) rather than relying on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Every CI run has failed since `fix(dev): persist local RustFS media` (ddd2194), before a single check ran:
RustFS moved from named volumes to bind mounts under `.local/`. On the runner, `docker compose up` creates those missing directories as root, so `.local/` becomes unwritable and the next step cannot download the ICC profile.
Solution
Create the bind-mount targets as the runner user before compose starts, so `.local/` stays writable. Only `.local/media` and `.local/rustfs-logs` are handed to the container.
Validation
This pipeline itself: the run for this branch is the proof, since `main` fails at the same step.
No changes outside the repository are required.
Made with Claude Opus 5 (1M context) in Claude Code.