You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I love tomo, and it replaced mina and capistrano for me. But nowdays things like Github actions are getting more popular and SSH based deplyoments seem to be moving to the background.
Thats why im asking if there is any way to use tomo without the remote SSH part. Because we already have a GitHub runner on the machine that can execute commands, so there is no need to have a separate SSH authentication. Sometimes the host can't even be reached via SSH. Still i would not want to rewrite what tomo currently does completely in some GitHub Actions but use tomo instead to setup the machine and deploy new versions.
The text was updated successfully, but these errors were encountered:
Hi @webbastelbude , thanks for opening this issue. Sorry for not responding sooner.
I think tomo could support local execution. Most of the SSH-specific logic is contained within Tomo::Runtime::TaskRunner#connect, which initializes and yields a Remote object. The connect → Remote API contract could probably be satisfied by an alternate implementation acts locally instead of using SSH.
That said, opening the door to local execution would make tomo's core user-facing APIs a bit confusing. For example, the pattern of implementing tasks is:
If remote is not "remote" at all, but is running on localhost without SSH, then this API is misleading at best.
Is there a word other than remote that would make sense in both an SSH and non-SSH scenario? Maybe target?
So my biggest concern is keeping tomo easy to understand and intuitive to use. I wouldn't want local execution to feel like it was hacked in.
Is this something you'd be willing to help with, in terms of code contributions? It would be great to have another maintainer/contributor on the project.
I love tomo, and it replaced mina and capistrano for me. But nowdays things like Github actions are getting more popular and SSH based deplyoments seem to be moving to the background.
Thats why im asking if there is any way to use tomo without the remote SSH part. Because we already have a GitHub runner on the machine that can execute commands, so there is no need to have a separate SSH authentication. Sometimes the host can't even be reached via SSH. Still i would not want to rewrite what tomo currently does completely in some GitHub Actions but use tomo instead to setup the machine and deploy new versions.
The text was updated successfully, but these errors were encountered: