Introduce strategy for runner behavior
The runner model is only a class responsible for storing information now. Based on the configuration it picks a strategy for the runner management. The Poseidon strategy is already implemented and tested. The Docker strategy will follow.
This commit is contained in:

committed by
Sebastian Serth

parent
cf58be97ee
commit
d0d1b1bffd
@ -10,5 +10,6 @@ test:
|
||||
prometheus_exporter:
|
||||
enabled: false
|
||||
runner_management:
|
||||
strategy: poseidon
|
||||
url: https://runners.example.org
|
||||
unused_runner_expiration_time: 180
|
||||
|
@ -12,6 +12,7 @@ default: &default
|
||||
prometheus_exporter:
|
||||
enabled: false
|
||||
runner_management:
|
||||
strategy: poseidon
|
||||
url: https://runners.example.org
|
||||
unused_runner_expiration_time: 180
|
||||
|
||||
|
Reference in New Issue
Block a user