
In order to provide an alternative to Poseidon, a strategy for the DockerContainerPool is added that is used by the runner model. Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
24 lines
419 B
Ruby
24 lines
419 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Runner::Strategy
|
|
def initialize(_runner_id, environment)
|
|
@execution_environment = environment
|
|
end
|
|
|
|
def self.request_from_management
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def destroy_at_management
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def copy_files(_files)
|
|
raise NotImplementedError
|
|
end
|
|
|
|
def attach_to_execution(_command)
|
|
raise NotImplementedError
|
|
end
|
|
end
|