Skip to content

Fix export artifact volume permissions - #692

Open
ryan-mahoney wants to merge 1 commit into
mainfrom
rpm-export-bug
Open

Fix export artifact volume permissions#692
ryan-mahoney wants to merge 1 commit into
mainfrom
rpm-export-bug

Conversation

@ryan-mahoney

Copy link
Copy Markdown
Member

Summary

  • create the private export artifact directory in the release image
  • assign it to the unprivileged nobody runtime user so fresh Docker volumes inherit writable ownership
  • add a deployment regression test for the directory and ownership setup

Verification

  • mix test test/gtfs_planner/gtfs/task_artifact_config_test.exs — 5 tests, 0 failures
  • mix precommit — 3,471 tests, 0 failures, 5 skipped
  • corrected and verified the existing dev artifact volume without restarting the healthy container

Deployment note

Existing Docker volumes retain their current ownership when a new image is deployed. Any existing root-owned task-artifact volume requires a one-time ownership correction; fresh volumes inherit the image ownership.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant