-
Notifications
You must be signed in to change notification settings - Fork 5
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
Improve builds/cache dir documentation #39
Conversation
Hello Jakub! 👋 Thanks for the PR, however, I'm pretty sure that the GitLab Tart Executor already does automatically what you're suggesting to add to the gitlab-tart-executor/internal/tart/vm.go Lines 100 to 108 in 17df0eb
Which version are you running, and is your GitLab Runner configuration file looks like in the |
You are right, seems like I am running in a different issue, seems like using custom buildsdir causes that issue for me. Both guest and host are running latest Sonoma 14.0 23A344. I am using version
When I use the following config I get the above mentioned error
The Gitlab job output is following
If i omit the We can probably move this conversation elsewhere as this PR is indeed unnecessary. Thanks. |
Thinking if this might be the cause 🤔 But I'm just throwing ideas 🤷♂️ |
In your tests do you run a single VM on the host? I see that your config is set to use two VMs. I'm not sure if there is some sort of collision/locking/something else might be happening since |
Yes there are two jobs running, I will try with just one if that fixes the error. |
Well, yeah, disabling concurrency fixed this particular issue, but another arose - various tools we use do not deal with spaces in buildsdir path. I already fixed that in Mint, I've ran into another cloning private package through SPM over SSH suddenly fails with host key verification failure. I think I have the cause, I use customized SSH command through I think we can close this thread if you feel it might be the cause as well 🙂 |
Yeah, let's close this PR and open issues and feature request for things like custom location of the mounted directories. 👌 |
👋 I have been implementing primarily local Gitlab CI caching, but when I was at it I also mounted builds dir from host.
Everything went pretty well until I ran to error:
I then played with config stage and found out that I actually need to mount buildsdir/cachedir using
--dir
argument for prepare stage, but I think that for others it would be useful to have it in the docs.