Sha256: 83f876842fbb7948641203aeae872c465e48f720b40e0fcbe316da34f6d85d40
Contents?: true
Size: 1.14 KB
Versions: 19
Compression:
Stored size: 1.14 KB
Contents
require "json" require "git" require "fileutils" require "pathname" require "ssh-base-cmd-class" class RemoteRun def doWire(publicIp, privateKey, solution, action, args, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=wire --raw --solution=#{solution} --action=#{action} --args='#{args}'", ref end def doTask(publicIp, privateKey, role, solution, task, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --task=#{task} --solution=#{solution}", ref end def do(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution}", ref end def doCommand(publicIp, privateKey, command, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, command, ref end def test(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=install --role=#{role} --solution=#{solution} --test", ref end end
Version data entries
19 entries across 19 versions & 1 rubygems