Commit Graph

15 Commits

Author SHA1 Message Date
44395b7792 Add ca file option for requests to Poseidon 2021-11-01 17:12:56 +01:00
30603cb7ab Generalize method and constant names for runner management 2021-11-01 17:12:53 +01:00
d0d1b1bffd 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.
2021-11-01 17:12:49 +01:00
8d968e01e6 Move RunnerConnection into class Runner
The old approach was to require the runner connection. This did
not work anymore with Zeitwerk in Rails 6. @sebastian.serth and I
moved the Connection class in `lib` into the ActiveRecord class
`Runner`. This will also work with future changes like specific
error classes. Furthermore the config was fixed and simplified.

Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
2021-11-01 17:12:47 +01:00
17bd2d8726 Reuse runners per user and execution environment
Co-authored-by: Jan-Eric Hellenberg <jan-eric.hellenberg@student.hpi.uni-potsdam.de>
Co-authored-by: Maximilian Pass <maximilian.pass@student.hpi.uni-potsdam.de>
2021-11-01 17:12:46 +01:00
2404c1c36c Rename variables from container to runner 2021-11-01 17:12:45 +01:00
44b32b6f6a #46 Add Prometheus exporter 2021-04-07 14:06:32 +02:00
293bcccc80 Introduce new enabled option for CodeHarbor
* Fix tests to ensure they work independent of config option
2021-02-16 14:29:54 +01:00
398bd67e1c Fix Flowr support and generic event framework 2020-10-14 14:34:25 +02:00
54a2a0df6e Add default for codeharbor link to config file 2020-01-14 10:33:51 +01:00
174db96081 Move magic number to config instead 2018-10-05 14:55:22 +02:00
890b73fe6e Remove old flowr url from example configuration 2018-09-18 11:01:33 +02:00
ccda18f321 Disable breaking standard enable of CodePilot 2015-03-28 18:52:31 +01:00
bad98cca1d merged qa into codeocean 2015-03-27 21:27:40 +01:00
cb2cd90fb0 added Flowr configuration 2015-03-07 16:00:20 +01:00