Sha256: 5f94dd25051b05b1d3cab5ba9b38975f1429d45581a1f51e4bb825adcceaebe1
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
require 'vx/common' module Vx module Worker class Docker include Common::Helper::Middlewares attr_reader :job middlewares do use LogJob use UpdateJobStatus use Timeout use StartConnector use RunScript end def initialize(job, _) @job = job end def perform env = OpenStruct.new job: job run_middlewares(env){ |_| 0 } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vx-worker-0.3.0.pre1 | lib/vx/worker/docker.rb |