Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to override VirtioFS tag for shared directories #733

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

fkorotkov
Copy link
Contributor

Resolves #730

@torarnv
Copy link
Contributor

torarnv commented Feb 19, 2024

Thumbs up! 😄

@fkorotkov fkorotkov enabled auto-merge (squash) February 19, 2024 19:21
…734)

* Simpler DirectoryShare parsing and --dir documentation improvements

* Invert the argument.count logic to be similar to the old code

For easier comparison.

* Ensure we can parse /Users/admin/build:tag=foo-bar,ro

* Document that options are comma-separated
@fkorotkov fkorotkov merged commit 7dcebf9 into main Feb 19, 2024
5 checks passed
@fkorotkov fkorotkov deleted the override-virtiofs-tag branch February 19, 2024 20:51
fkorotkov added a commit to cirruslabs/gitlab-tart-executor that referenced this pull request Mar 6, 2024
After introducing of cirruslabs/tart#733 we can use different VirtioFS tags for different directories and precisely mount them into exact locations.

`/Volumes/My Shared Files/` default path is error-prone since some tools don't like whitespaces in paths. With this change directories will be directly mounted into `$HOME`.

Fixes #64
edigaryev pushed a commit to cirruslabs/gitlab-tart-executor that referenced this pull request Apr 2, 2024
* Mount directories directly into `$HOME`

After introducing of cirruslabs/tart#733 we can use different VirtioFS tags for different directories and precisely mount them into exact locations.

`/Volumes/My Shared Files/` default path is error-prone since some tools don't like whitespaces in paths. With this change directories will be directly mounted into `$HOME`.

Fixes #64

* Fixed lint issue

* Don't forget to `mkdir -p`

* Introduce `mountPoint`
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.

None yet

3 participants