Sha256: ee42bbd527b48f410d9f34e49f6c9a32536904e184c64e8c6105a7a29f0dc1ff
Contents?: true
Size: 633 Bytes
Versions: 3
Compression:
Stored size: 633 Bytes
Contents
require 'net/scp' require 'open3' require 'droplet_kit' class WcoHosting::Runner def self.create_ecs_task end TASK_REDEPLOY_ECS_TASK_DEFINITION = 'redeploy-ecs-task-definition' TASK_REDEPLOY_ECS_TASK = 'redeploy-ecs-task' TASKS = [] def self.do_exec cmd Wco::Log.puts! cmd, '#do_exec', obj: @obj stdout, stderr, status = Open3.capture3(cmd) status = status.to_s.split.last.to_i Wco::Log.puts! stdout, 'stdout', obj: @obj Wco::Log.puts! stderr, 'stderr', obj: @obj Wco::Log.puts! status, 'status', obj: @obj return { stdout: stdout, stderr: stderr, status: status } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wco_models-3.1.0.151 | app/models/wco_hosting/runner.rb |
wco_models-3.1.0.150 | app/models/wco_hosting/runner.rb |
wco_models-3.1.0.149 | app/models/wco_hosting/runner.rb |