cirruslabs / gitlab-tart-executor

GitLab Runner executor to run jobs in Tart VMs
MIT License
60 stars 5 forks source link

Config stage should check cache_dir exists #21

Closed waddles closed 1 year ago

waddles commented 1 year ago

I was trying to use the --cache-dir option (currently unreleased) in latest HEAD but getting permission denied at the end of the job when it tries to write the cache.zip

FATAL: mkdir ../../../../../../../Volumes/My Shared Files: permission denied 
Failed to create cache

Turns out I had the wrong path configured in config_args but I think the driver should exit with error if the path does not exist.

edigaryev commented 1 year ago

Which macOS version and Tart VM image are you using? Tart's directory mounting feature requires both host and guest to run at least macOS 13 (Ventura).

waddles commented 1 year ago

Both host and guest are Ventura 13.3

ProductName:        macOS
ProductVersion:     13.3
BuildVersion:       22E252