Add strategy for DockerContainerPool
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>
This commit is contained in:

committed by
Sebastian Serth

parent
1d3f0d7ad8
commit
704407b9fc
@@ -1,8 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class Runner::Strategy
|
||||
def initialize(runner_id, environment)
|
||||
@runner_id = runner_id
|
||||
def initialize(_runner_id, environment)
|
||||
@execution_environment = environment
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user