Class: Hive::Worker::Shell

Inherits:
Hive::Worker show all
Defined in:
lib/hive/worker/shell.rb

Overview

The Shell worker

Instance Attribute Summary

Attributes inherited from Hive::Worker

#device_api, #queues

Instance Method Summary collapse

Methods inherited from Hive::Worker

#allocate_port, #checkout_code, #cleanup, #detect_res_file, #device_status, #diagnostics, #execute_job, #hive_mind_device_identifiers, #job_message_klass, #keep_running?, #lion_config, #mind_meld_klass, #poll_queue, #post_script, #process_xunit_results, #release_all_ports, #release_port, #reservation_details, #reserve_job, #set_device_status, #set_job_state_to, #signal_safe_post_script, #testmine_config, #update_queue_log, #update_queues, #upload_files, #upload_results

Constructor Details

#initialize(options = {}) ⇒ Shell

Returns a new instance of Shell.



7
8
9
# File 'lib/hive/worker/shell.rb', line 7

def initialize(options = {})
  super
end

Instance Method Details

#autogenerated_queuesObject

List of autogenerated queues for the worker



15
16
17
# File 'lib/hive/worker/shell.rb', line 15

def autogenerated_queues
  @options['queues']
end

#pre_script(job, file_system, script) ⇒ Object



11
12
# File 'lib/hive/worker/shell.rb', line 11

def pre_script(job, file_system, script)
end