Sha256: 22bd20e59b88a451bb15cf733b47f36072efce7c5dd8c0f56621877a290bdc94
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 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 DockerFetchRepo 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evrone-ci-worker-0.2.0.pre1 | lib/evrone/ci/worker/docker.rb |