Sha256: a7a5f690bd9913c35394941d7ad3cb939d0f5455b6631c0bc7fdd5ffc78dc2d4
Contents?: true
Size: 545 Bytes
Versions: 2
Compression:
Stored size: 545 Bytes
Contents
require "baleen/task/task" module Baleen module Task class ImageUpdate < Base include Serializable def initialize(opt) super() @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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
baleen-0.2.5 | lib/baleen/task/image_update.rb |
baleen-0.2.4 | lib/baleen/task/image_update.rb |