class Baleen::Task::ImageUpdate

Public Class Methods

new(opt) click to toggle source
Calls superclass method Baleen::Task::Base::new
# File lib/baleen/task/image_update.rb, line 9
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