Sha256: fe6b4b75b3a4bb7faba9696bad77fc74c7899152daec75b562cac5b03b0c96c5
Contents?: true
Size: 528 Bytes
Versions: 10
Compression:
Stored size: 528 Bytes
Contents
require 'evrone/ci/common' module Evrone module CI module Worker class Docker include Common::Helper::Middlewares attr_reader :job middlewares do use LogJob use UpdateJobStatus use DockerStartContainer use DockerScript end def initialize(job, _) @job = job end def perform env = OpenStruct.new job: job run_middlewares(env){ |_| 0 } end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems