Sha256: 292f479bb5cba1d03864ffb932d6038c3b9d3a21138fbe536a5c6f629eed1b95
Contents?: true
Size: 674 Bytes
Versions: 5
Compression:
Stored size: 674 Bytes
Contents
require "baleen/task/task" module Baleen module Task class ImageUpdate < Base include Serializable def initialize(opt) super() @params[:shell] = opt[:shell] ||="/bin/bash" @params[:opt] = opt[:opt] ||="-c" @params[:image] = opt[:image] ||="kimh/baleen-poc" @params[:command] = opt[:command] @params[:work_dir] = opt[:work_dir] @params[:files] = "" # Without this, #start_runner raises exception. Need to think what to do. @params[:concurrency] = 1 @params[:commit] = true end end end end
Version data entries
5 entries across 5 versions & 1 rubygems