CircleCI-Public / circleci-cli

Use CircleCI from the command line
https://circleci-public.github.io/circleci-cli/
MIT License
404 stars 233 forks source link

feat: configure temporary directory for local execute #967

Closed loderunner closed 7 months ago

loderunner commented 11 months ago

Checklist

=========

Internal Checklist

Changes

During circleci local execute, make it possible to configure temporary directory to store config file.

Rationale

This was needed to support alternative (aka "not Docker") container distributions on macOS, particularly lima-based distributions, such as colima or Rancher Desktop, that do not support mounting /tmp (or other "system paths") to their Linux VM.

Considerations

rolandcrosby-columntax commented 10 months ago

Thanks for making this PR -- it seems to resolve the "/tmp/local_build_config.yml: is a directory" issue with Rancher Desktop.

brunkb commented 10 months ago

Would like to see this change go in, or if someone could point me to the workaround. I'm on Intel Mac and Rancher Desktop.

mjftw commented 7 months ago

+1

this would solve issues I see related to https://github.com/CircleCI-Public/circleci-cli/issues/716