Sha256: 039c74e65a402960c27c4b48c8d27b323246790fc9ab6060b566385c854f43b9

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

#!/usr/bin/env ruby

require File.expand_path("../../lib/evrone/ci/worker", __FILE__)

trap('INT') {
  Thread.new do
    Evrone::Common::AMQP.shutdown
  end.join
}

Evrone::CI::Worker.configure do |c|
  c.docker.ssh.port = 2223
  c.docker.ssh.host = 'localhost'
  c.docker.create_options = {
    'PortSpecs' => ['2022:22']
  }
end

Evrone::Common::AMQP::Supervisor::Threaded.build(
  Evrone::CI::Worker::JobsConsumer => 4,
).run

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
evrone-ci-worker-0.2.0.pre0 bin/evrone-ci-worker