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

Support sshkit.default_env #1279

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

filipesilva
Copy link

Enables deploy to MacOS hosts.

Will still need further configuration though:

  • default_env needs to be set to a PATH that contains docker and coreutils cp
  • desktop docker config needs to have no credsStore
  • shell needs to be changed to bash

All this can be done by the user though, whereas passing on default_env to SSHKit needed to happen on Kamal.

cc @dhh, @HLFH

See #432 (comment) for details.

@filipesilva
Copy link
Author

I don't have any Ruby experience, so if I'm doing something very silly here please let me know so I can fix it.

Enables deploy to MacOS hosts.

Will still need further configuration though:
- `default_env` needs to be set to a PATH that contains docker and coreutils `cp`
- desktop docker config needs to have no `credsStore`
- shell needs to be changed to `bash`

All this can be done by the user though, whereas passing on `default_env` to SSHKit needed to happen on Kamal.

cc @dhh, @HLFH

See basecamp#432 (comment) for details.
@filipesilva filipesilva marked this pull request as ready for review December 9, 2024 13:01
@HLFH
Copy link
Contributor

HLFH commented Dec 11, 2024

@filipesilva I have fixed the zsh issue in this PR: #1281. You can probably keep zsh?

@filipesilva
Copy link
Author

Oh sweet, that's even better!

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.

2 participants