drush-ops / drush

Drush is a command-line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those who spend their working hours hacking away at the command prompt.
https://www.drush.org
2.33k stars 1.08k forks source link

Remote drush with Bluemix / CloudFoundry? #2570

Open kentr opened 7 years ago

kentr commented 7 years ago

Any ideas on using remote drush alias with a CloudFoundry app on Bluemix?

I only know of the cf ssh app-name command for connecting to the app and running commands over SSH. Is there a way to configure drush to use that command instead of the standard ssh command, or another trick you know of?

onelittlebecca commented 4 years ago

did you ever get an answer to this @kentr ? I am looking for same answer now.

greg-1-anderson commented 4 years ago

We don't have a way at the moment of doing that in configuration, but you could add another transport to the site process library. PRs welcome.

You might consider looking at the ssh transport and see if it would make sense to add configuration to that rather than making a new transport. Basically right here