Commit Graph

  • e34656eb0f Modify buffer line breaking behavior Sebastian Serth 2021-11-15 00:30:32 +01:00
  • 695c3de40e Ensure users are signed in before creating a submission Sebastian Serth 2021-11-14 23:07:44 +01:00
  • c2ea27b3ee Add annotation about exceptions to submission.rb Sebastian Serth 2021-11-14 22:45:37 +01:00
  • 991fdef8bc Handle depleted containers for submit Sebastian Serth 2021-11-14 22:45:12 +01:00
  • a08e2c276d Merge pull request #1083 from openHPI/dependabot/bundler/sentry-rails-4.8.0 Sebastian Serth 2021-11-12 10:15:32 +01:00
  • d0161adbaf Bump sentry-rails from 4.7.3 to 4.8.0 dependabot[bot] 2021-11-12 03:01:46 +00:00
  • 46e0bb73a7 Fix initial sync with Poseidon Sebastian Serth 2021-11-10 08:56:33 +01:00
  • f577fed03c Fix nil for @execution_environments Sebastian Serth 2021-11-09 19:25:00 +01:00
  • 3608856397 Merge pull request #1079 from openHPI/sync_execution_environments Sebastian Serth 2021-11-09 18:44:35 +01:00
  • 58f51ed295 Merge pull request #1082 from openHPI/fix/initial_migrate Sebastian Serth 2021-11-09 18:43:07 +01:00
  • fb92d382ac Skip verification of Docker image if pool size is empty Sebastian Serth 2021-11-09 17:37:11 +01:00
  • e210795277 Regenrate schema with latest Rails 6.1 framework Sebastian Serth 2021-11-09 17:39:16 +01:00
  • 72501211a6 Fix issue when migrating an empty database Sebastian Serth 2021-11-09 17:38:58 +01:00
  • 7d032e5c0d Buffer: Prevent replacement of "\r" message Sebastian Serth 2021-11-08 23:33:37 +01:00
  • e224e41564 Exercise view: Re-use @execution_environments Sebastian Serth 2021-11-08 22:29:18 +01:00
  • 1dce6c59ab Add note about default ACL for Docker mount dir Sebastian Serth 2021-11-08 22:28:59 +01:00
  • 5401ebb54d Revert "DCP: previous_data match should be non-greedy" Sebastian Serth 2021-11-08 20:06:24 +01:00
  • 61d564eb33 Update bundle Sebastian Serth 2021-11-08 10:14:56 +01:00
  • 3ad4890ad4 Use JSON as default for remote evaluation Sebastian Serth 2021-11-08 10:14:49 +01:00
  • ed4a6fc0c7 Merge pull request #1081 from openHPI/dependabot/bundler/rubocop-rspec-2.6.0 Sebastian Serth 2021-11-08 10:10:24 +01:00
  • bc1e85556b Bump rubocop-rspec from 2.5.0 to 2.6.0 dependabot[bot] 2021-11-08 03:01:12 +00:00
  • 9a541998e4 Optimize RegEx Sebastian Serth 2021-11-06 02:15:03 +01:00
  • d26947f724 Update jQuery plugins Sebastian Serth 2021-11-06 02:00:16 +01:00
  • 75d0d28e8b Shell: Refactor usage of methods and const Sebastian Serth 2021-11-06 01:05:45 +01:00
  • 59d2a8ecdb Junit5: Specify line to search for assertion error Sebastian Serth 2021-11-06 00:03:45 +01:00
  • 49d8bebb48 Merge pull request #1080 from openHPI/codeql-analysis Sebastian Serth 2021-11-05 09:46:42 +01:00
  • 0a552cac44 Create codeql-analysis.yml Sebastian Serth 2021-11-05 09:23:55 +01:00
  • b179dadce6 Mock CodeOcean::Config for Poseidon strategy Sebastian Serth 2021-11-04 11:25:32 +01:00
  • 79e8caea45 Remove outdated execution environments after syncing all Sebastian Serth 2021-11-04 10:40:55 +01:00
  • 054d35b8d3 Add environments method to all strategies Sebastian Serth 2021-11-04 10:40:01 +01:00
  • 79da2781e3 Restructure methods in execution_environment.rb Sebastian Serth 2021-11-04 01:05:28 +01:00
  • 94170ea742 DCP: Improve error handling for destroy_at_management Sebastian Serth 2021-11-04 01:05:08 +01:00
  • c1ac401a49 Add retries to working_docker_image? Sebastian Serth 2021-11-04 01:04:52 +01:00
  • ecf470bddd Refactor sync_environment methods Sebastian Serth 2021-11-04 01:03:12 +01:00
  • 38e1f5b486 Show error details of available_images Sebastian Serth 2021-11-04 01:00:54 +01:00
  • 7f47af99cb Fix order-dependent specs Sebastian Serth 2021-11-04 18:34:44 +01:00
  • d033f71ae3 Catch Runner::Error in RemoteEvaluationController Sebastian Serth 2021-11-04 17:08:43 +01:00
  • 4cd70f2bad Add comment for retries to Runner#execute_command Sebastian Serth 2021-11-04 17:08:19 +01:00
  • 92eafa145c Swap runner during score if timeout occurred Sebastian Serth 2021-11-04 17:07:58 +01:00
  • 107ff03eec Bundle update Sebastian Serth 2021-11-04 17:19:45 +01:00
  • eb69697b9a Fix missing routes incompatible with a subpath Sebastian Serth 2021-11-03 16:02:21 +01:00
  • 7bda3f1950 JUnit 4: Allow "exit" at the end of tests Sebastian Serth 2021-11-02 22:42:38 +01:00
  • 91af20b5ce Disallow assessment files during run Sebastian Serth 2021-11-02 16:19:24 +01:00
  • 0b4217b12d Memoize collect_files Sebastian Serth 2021-11-02 16:19:01 +01:00
  • e37683a1b2 Fix linting issue for PyLint adapter Sebastian Serth 2021-11-02 15:53:49 +01:00
  • 3d3478d859 Test Adapters: Always use the last output for score runs Sebastian Serth 2021-11-02 15:52:49 +01:00
  • d7e515f1c6 Fix rubocop offense Sebastian Serth 2021-11-02 10:46:48 +01:00
  • 620dac935a Fix bug that prevented binary file uploads Sebastian Serth 2021-11-02 10:31:38 +01:00
  • ebec5bac04 Merge pull request #1078 from openHPI/dependabot/bundler/net-http-persistent-4.0.1 dependabot[bot] 2021-11-02 03:08:42 +00:00
  • 5cda6d3ce8 Merge pull request #1077 from openHPI/dependabot/bundler/js-routes-2.1.2 dependabot[bot] 2021-11-02 03:07:48 +00:00
  • c6bbd4f28e Bump net-http-persistent from 4.0.0 to 4.0.1 dependabot[bot] 2021-11-02 03:01:37 +00:00
  • fe0a1e2887 Bump js-routes from 2.1.1 to 2.1.2 dependabot[bot] 2021-11-02 03:01:26 +00:00
  • 7b834b420b Merge pull request #1076 from openHPI/runner_management Sebastian Serth 2021-11-01 19:33:59 +01:00
  • c3642b5d0c Add an empty line before printing exit message Sebastian Serth 2021-11-01 17:52:44 +01:00
  • 328055e6e8 DCP: previous_data match should be non-greedy Sebastian Serth 2021-11-01 14:03:12 +01:00
  • 2c10b48b70 Execute Command: Guard requesting new runner Sebastian Serth 2021-11-01 13:31:11 +01:00
  • 65fe1d902d DCP: Match java@hostname output Sebastian Serth 2021-11-01 12:44:13 +01:00
  • d16917261b Prevent inactivityTimeout from being smaller than permitted_execution_time Sebastian Serth 2021-11-01 09:48:16 +01:00
  • bdfcb0da19 Reset previous exception if retrying command execution Sebastian Serth 2021-10-31 15:07:27 +01:00
  • 6ff14d6fc7 Connection Buffer: Replace \r in run and score output with \n Sebastian Serth 2021-10-31 14:34:55 +01:00
  • 1e7cf1c622 Prevent parallel execution of run and test during RfC creation Sebastian Serth 2021-10-31 12:57:23 +01:00
  • 475aa8c512 DCP: Allow increasing the pool size when previously empty Sebastian Serth 2021-10-31 12:39:56 +01:00
  • 447860892a Always remove exposed_ports_list if present Sebastian Serth 2021-10-31 12:39:06 +01:00
  • 56d219ad8e [ci-skip] Improve comment for unused_runner_expiration_time Sebastian Serth 2021-10-31 11:50:07 +01:00
  • de83843496 Combine no_output and exit_status messages Sebastian Serth 2021-10-31 11:34:11 +01:00
  • eaa06ee528 DCP: Prevent double deletion of runner Sebastian Serth 2021-10-31 01:03:07 +02:00
  • 6a902c41db DCP: Refactor container method and usage Sebastian Serth 2021-10-31 01:02:48 +02:00
  • 537d8bfc95 DCP: Add handling of inactivity timer Sebastian Serth 2021-10-31 01:02:18 +02:00
  • dcafbb9d46 DCP: Change HTTP verbs Sebastian Serth 2021-10-31 01:01:50 +02:00
  • 6209e25ee2 DCP: Move pool location to code_ocean.yml Sebastian Serth 2021-10-31 01:00:59 +02:00
  • 7bb2ef8588 DCP: Forward data before matching stdout termination Sebastian Serth 2021-10-30 14:22:45 +02:00
  • dfdec92c6e Use ping option only for DCP WebSocket Sebastian Serth 2021-10-30 12:26:16 +02:00
  • 570809bfe9 Allow whitespace for JSON exit Sebastian Serth 2021-10-30 12:23:24 +02:00
  • b62a7ad129 Prevent non-existing runner_management config to be read Sebastian Serth 2021-10-30 11:23:10 +02:00
  • 3c8017f23e JS: Ensure to print status messages for score Sebastian Serth 2021-10-30 01:14:55 +02:00
  • 1609bd2e0e Change default of raise_exception for execute_command Sebastian Serth 2021-10-30 01:13:32 +02:00
  • 4f1a7cde27 Add null strategy for runners Sebastian Serth 2021-10-30 01:12:16 +02:00
  • 5550183d7e [Spec] openhpi/co_execenv_python:3.4 is no longer required Sebastian Serth 2021-10-29 22:34:31 +02:00
  • 01ec9343cf Remove usage of DockerClient Sebastian Serth 2021-10-29 22:33:35 +02:00
  • 20064b0715 DockerClient: Cleanup usage of config Sebastian Serth 2021-10-29 22:32:55 +02:00
  • b13a3b084d Use new available_images routes from DCP Sebastian Serth 2021-10-29 22:32:15 +02:00
  • 2551ea709b Remove 'previous' DockerContainerPool implementation Sebastian Serth 2021-10-29 20:05:28 +02:00
  • 9d833e37b3 Use Net::HTTP::Persistent for requests to Poseidon Sebastian Serth 2021-10-29 00:13:29 +02:00
  • 25b007dfda [Spec] Fix return value of image_tags for mocked DockerClient Sebastian Serth 2021-10-25 21:13:30 +02:00
  • e8c686ce75 [Spec] Clean seed_secs with truncation Sebastian Serth 2021-10-25 19:19:32 +02:00
  • c1cff29147 [Spec] Initialize environment for Docker testing Sebastian Serth 2021-10-25 17:31:01 +02:00
  • 953643f05e [Spec] Use strings for image names Sebastian Serth 2021-10-25 17:30:39 +02:00
  • 28c74bc9a5 Improve memoization of @strategy_class Sebastian Serth 2021-10-24 13:01:17 +02:00
  • 288c7693f7 Remove dump_docker method for admins Sebastian Serth 2021-10-24 13:01:00 +02:00
  • af93603ba3 Use strategy release in admin dashboard Sebastian Serth 2021-10-24 13:00:35 +02:00
  • ada438b230 Add release and pool_size methods to DCP Sebastian Serth 2021-10-24 12:59:55 +02:00
  • 6d1b388e3c Reorder methods in strategy classes Sebastian Serth 2021-10-24 12:36:01 +02:00
  • f3b4be3006 Fix deprecation warning for raise_on_missing_translations Sebastian Serth 2021-10-24 11:39:58 +02:00
  • e33af5760d Delegate initialization to Runner::Strategy Sebastian Serth 2021-10-24 11:39:19 +02:00
  • 2b98905acb Remove usage of DockerClient from execution_environments_controller.rb Sebastian Serth 2021-10-24 11:21:24 +02:00
  • 541afa92f3 Remove ws_client_protocol option Sebastian Serth 2021-10-24 10:23:28 +02:00
  • 0db6f20933 Move MemoryLimit to Execution Environment Sebastian Serth 2021-10-24 09:55:12 +02:00
  • 8a4bd84d04 Add note about using hostnames on IPv6 systems Sebastian Serth 2021-10-21 10:07:19 +02:00
  • 87c5302336 Switch logging to milliseconds and add more details Sebastian Serth 2021-10-21 10:06:30 +02:00
  • 1dfee31079 Fix order-dependent execution_environments_controller_spec.rb Sebastian Serth 2021-10-19 23:52:59 +02:00