Commit Graph

67 Commits

Author SHA1 Message Date
b48b45de9f Refactor error classes
All runner errors are now in a single file. The not found error
has been splitted into an error for runner not found and for
environment not found.
2021-11-01 17:12:50 +01:00
413f9b2705 Improve error resilience and handling
Timeouts are now handled correctly and the Runner automatically
creates the execution environment if it could not be found in
Poseidon. The runner is deleted locally if Poseidon returns
a bad request error.
2021-11-01 17:12:50 +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
08d7b89108 Merge pull request #930 from openHPI/own-project
Rebrush action sidebar for implement view
2021-06-01 17:38:55 +02:00
f32661ad78 Rework left sidebar
* Move Buttons from left sidebar to JSTree
* Use light style for collapse sidebar buttons
2021-05-28 17:49:59 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
8378070bc2 Upgrade to Rails 6.0 and apply new framework defaults 2021-05-12 16:47:05 +02:00
be3ec82bd4 Add new file role teacher_defined_linter 2020-10-15 00:43:57 +02:00
fae60a21e5 Sync DockerClient with DockerContainerPool
Fix failing specs after upgrade
2020-09-28 16:53:15 +02:00
df8ea4045c Fix spec 2020-05-12 18:20:29 +02:00
31500bf297 Fix final failing spec 2020-04-14 15:32:05 +02:00
28d40605c8 Fix specs 2020-04-14 15:20:15 +02:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
ac31afbd2a Clean Gemfile and perform bundle update
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
1f56f8fb78 Always create workspace path dir for DockerClient specs 2018-02-22 17:19:54 +01:00
eb4e620775 Allow folders to be created during DockerClient Spec 2018-02-22 17:19:54 +01:00
2a38db6e75 Move workspace path to subdir of /tmp to prevent deleting other files 2018-02-22 17:19:53 +01:00
fc873cb053 second run of replacement regex from https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md ...
Nested calls seem to be fun..
2017-11-15 15:37:42 +01:00
0e26ab98c8 rename factory_girl_(rails) to factory_bot_(rails) 2017-11-15 15:18:07 +01:00
5fe12bfa78 fixing tests p1 2017-01-12 18:12:36 +01:00
3842509275 removed comments that had no value for me. 2016-11-11 16:44:55 +01:00
c937a1a9ef clean pull request 2016-10-24 23:02:44 +02:00
46cdbc3b4b change workspace path to /tmp 2016-10-16 17:28:57 +02:00
043ece68f4 enable container tests 2016-10-16 16:55:24 +02:00
7a76c4c6f1 try out new code 2016-10-11 13:12:00 +02:00
7efcfa632b come back to green light! 2016-08-04 16:54:55 +02:00
edbb043b44 Merge branch 'rspec-tests-controllers' of github.com:openHPI/codeocean into rspec-tests-controllers 2016-06-07 13:53:05 +02:00
ed20a30517 reverse some changes 2016-06-07 13:52:01 +02:00
f7e7db54ec fixed issues with deleting files and issue with json method not defined for the mock-double for rspec-tests in lib 2016-06-02 14:27:49 +02:00
ef441930a4 Fix in py_unit_adapter_spec 2016-05-24 16:32:15 +02:00
03053bb923 Tests in py_unit_adapter_spec and junit_adapter_spec repaired 2016-05-24 16:28:09 +02:00
2564041378 test py_unit_adapter repaired 2016-05-24 14:01:06 +02:00
bc51948ada fixed some tests.. 2015-08-25 16:02:14 +02:00
6af614ca7c use stdout 2015-06-18 20:13:43 +02:00
35b2177c71 Add mocha adpater 2015-06-17 15:29:35 +02:00
eac54da11a Clean Working Folder without Threads
Disabled some tests that are not matching our current code base
2015-04-28 15:04:54 +02:00
b8e35274ac Added some roadmap 2015-04-28 13:46:56 +02:00
a7087824b1 added a null check, removed setting status to used due to test problems, fixed mocking of container object. 2015-04-22 11:38:07 +02:00
04891167c3 Adapt test to new pooling 2015-04-16 10:06:48 +02:00
ba3476cfec some refactoring 2015-03-19 14:33:51 +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
8c6490c9f7 improved the Docker client's robustness regarding random errors 2015-03-16 16:23:52 +01:00
c260d4f2ea fixed absent initiation of refill task 2015-03-14 14:34:38 +01:00
af22ee1a54 added tests 2015-03-05 11:59:56 +01:00
ce00be77e6 added tests 2015-02-27 09:30:26 +01:00
fab95d6f31 added tests 2015-02-26 15:37:24 +01:00
eea6800eff minor change for consistency 2015-02-24 14:36:39 +01:00