Sha256: 112933552e112c9c81ff9211431a98a9395ca4cc3f71c0a75c7b120e251eb4e4
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 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 DockerBeforeScript 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.pre0 | lib/evrone/ci/worker/docker.rb |