Skip to content

Conversation

@yuvipanda
Copy link
Contributor

  • Don't require specific keys (like 'source') to be present, as there are mount types that don't need that (like https://docs.docker.com/engine/storage/tmpfs/)
  • Format all values, not just source and destination.
  • Remove two layers of indirection - mount_binds was only used in one place, so let's just use it there.

- Don't require specific keys (like 'source') to be present, as
  there are mount types that don't need that (like
  https://docs.docker.com/engine/storage/tmpfs/)
- Format all values, not just source and destination.
- Remove two layers of indirection - mount_binds was only used in
  one place, so let's just use it there.
@yuvipanda yuvipanda force-pushed the cleaner-mounts branch 3 times, most recently from a693d94 to 3c621f8 Compare April 4, 2025 20:23
@yuvipanda yuvipanda requested a review from minrk April 4, 2025 20:23
Copy link
Member

@minrk minrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Is there an easy test to add for this? I don't think mounts get exercised at all, yet. If it's not simple, no worries, we can add an Issue for test coverage of mounts and still merge this.

@minrk minrk merged commit 0835f46 into jupyterhub:main May 14, 2025
7 checks passed
@minrk minrk mentioned this pull request May 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants