Sha256: eeb5d63085f08b1aabb951cc341586e4ea6724b39bd5965ce0bd1c756962d6b2
Contents?: true
Size: 1.37 KB
Versions: 4
Compression:
Stored size: 1.37 KB
Contents
require "json" require "git" require "fileutils" require "pathname" require "canzea/core/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 doConfigure(publicIp, privateKey, role, solution, ref="") remote = RemoteCall.new remote.exec publicIp, privateKey, "canzea --lifecycle=configure --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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
escli-1.0.3 | lib/canzea/commands/remote-run.rb |
escli-1.0.2 | lib/canzea/commands/remote-run.rb |
escli-1.0.1 | lib/canzea/commands/remote-run.rb |
escli-1.0.0 | lib/canzea/commands/remote-run.rb |