-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
495b3cd
commit 561e33e
Showing
5 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
class Kamal::Configuration::Validator::Sshkit < Kamal::Configuration::Validator | ||
def validate! | ||
validate_against_example! \ | ||
config.except("default_env"), | ||
example.except("default_env") | ||
|
||
if config["default_env"] | ||
validate_hash_of!(config["default_env"], String) | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters