Class: Proxy::RemoteExecution::Ssh::Actions::ScriptRunner

Inherits:
Dynflow::Action::Runner
  • Object
show all
Defined in:
lib/smart_proxy_remote_execution_ssh/actions/run_script.rb

Instance Method Summary collapse

Instance Method Details

#initiate_runnerObject



19
20
21
22
23
24
25
26
# File 'lib/smart_proxy_remote_execution_ssh/actions/run_script.rb', line 19

def initiate_runner
  additional_options = {
    :step_id => run_step_id,
    :uuid => execution_plan_id,
  }
  Proxy::RemoteExecution::Ssh::Plugin.runner_class.build(input.merge(additional_options),
                                                         suspended_action: suspended_action)
end

#runner_dispatcherObject



28
29
30
# File 'lib/smart_proxy_remote_execution_ssh/actions/run_script.rb', line 28

def runner_dispatcher
  Dispatcher.instance
end