Commit Graph

15 Commits

Author SHA1 Message Date
1d3f0d7ad8 Handle Faraday errors 2021-11-01 17:12:50 +01:00
90fac7b94c Copy execution environment to Poseidon on create and update
When creating or updating an execution environment, an API call to
Poseidon is made with the necessary information to create the
corresponding Nomad job.

If runner management is configured, his will display a warning
(currently in the same color as if it were a success) in the UI, if the
API call fails. The environment is saved even if it fails.
If runner management is not configured, this warning will not be created.
2021-11-01 17:12:48 +01:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
e70897e560 working_docker_image?: Modify behavior to match spec 2018-02-22 17:19:54 +01:00
872611bff6 Update schema to reflect re-usable error_template_attributes, descriptions, hints, and sorting 2017-07-11 19:22:12 +02:00
d109663cb9 extracted boolean validation logic into stand-alone validator 2015-03-18 09:10:58 +01:00
15d8984a9e added the ability to prohibit network access for code submissions executed using Docker 2015-03-17 17:14:25 +01:00
b1218e0b80 added the ability to limit memory consumption of code submissions executed using Docker 2015-03-17 15:51:59 +01:00
48f1b97aea extracted method 2015-03-12 11:07:29 +01:00
3ae749bfc5 extended execution environments by a default file type that is used as the default for associated exercises' files 2015-03-10 18:14:26 +01:00
240c570698 minor improvement 2015-03-10 17:15:13 +01:00
5f0815b140 implemented pooling for Docker containers 2015-02-06 15:59:51 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00