RLovelett / gitlab-fusion

A Swift Package that implements a GitLab Runner custom executor for VMware Fusion
MIT License
10 stars 0 forks source link

User `buildbot` is assumed to exist #8

Closed UebelAndre closed 3 years ago

UebelAndre commented 3 years ago

When running a build where the user in the VM is named runner there's a permissions error

mkdir: /Users/buildbot/builds/runner-37/concurrent-0/externals/test/externals/test.tmp: Permission denied
Error: buildFailure

This appears to be caused by: https://github.com/RLovelett/gitlab-fusion/blob/7a19fdbf3f713d722ab6b9266238a5add779f4e0/Sources/gitlab-fusion/Stages/Config.swift#L38

I think the --ssh-username should be used here instead.

RLovelett commented 3 years ago

Check the config help. Use --builds-dir to override this path. You may also need to override the cache directory as well (e.g., --cache-dir).

UebelAndre commented 3 years ago

I think this is worth updating the top level README https://github.com/RLovelett/gitlab-fusion/blame/main/README.md#L157-L159

RLovelett commented 3 years ago

If you'd like to submit an update to the README I would review it.