Sha256: 8e48ce6bd95d3dd1dd0f7ef1d9b3dcbdc36f2a547ebb7508bb867b8cff85c985

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

#!/usr/bin/env ruby

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

cli = Evrone::CI::Worker::CLI.new

if RUBY_PLATFORM =~ /darwin/ # developer
  Evrone::CI::Worker.configure do |c|
    c.webdav_cache_url = 'http://10.0.2.15:8080'
    c.docker.ssh.port = 2223
    c.docker.ssh.host = 'localhost'
    c.docker.create_options = {
      'PortSpecs' => ['2022:22']
    }
  end
end

cli.run

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
evrone-ci-worker-0.2.0.pre4 bin/evrone-ci-worker
evrone-ci-worker-0.2.0.pre3 bin/evrone-ci-worker