Sha256: 54e6b1a799d2001b7f06c478b65018bcb780c4792c9eb49d2a0b3362a1204ffa

Contents?: true

Size: 587 Bytes

Versions: 4

Compression:

Stored size: 587 Bytes

Contents

require File.dirname(__FILE__) + "/../../deep_test"
options = DeepTest::Options.from_command_line(ENV['OPTIONS'])
ENV['DEEP_TEST_LOG_LEVEL'] = options.environment_log_level
options.ssh_client_connection_info = DeepTest::Distributed::SshClientConnectionInfo.new

DeepTest.logger.debug { "mirror establish_beachhead for #{options.origin_hostname}" }

STDIN.close

beachhead_port = DeepTest::Distributed::Beachhead.new(
  File.join(options.mirror_path, File.basename(options.sync_options[:source])), 
  options
).daemonize

puts "Beachhead port: #{beachhead_port}"
$stdout.flush

exit!(0)

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
deep_test_pre-2.0 lib/deep_test/distributed/establish_beachhead.rb
jstorimer-deep-test-2.0.0 lib/deep_test/distributed/establish_beachhead.rb
jstorimer-deep-test-0.2.0 lib/deep_test/distributed/establish_beachhead.rb
jstorimer-deep-test-0.1.0 lib/deep_test/distributed/establish_beachhead.rb