Commit Graph

4068 Commits

Author SHA1 Message Date
f577fed03c Fix nil for @execution_environments 2021-11-09 19:25:00 +01:00
3608856397 Merge pull request #1079 from openHPI/sync_execution_environments
Sync execution environments
2021-11-09 18:44:35 +01:00
58f51ed295 Merge pull request #1082 from openHPI/fix/initial_migrate
Fix issues when migrating empty database
2021-11-09 18:43:07 +01:00
fb92d382ac Skip verification of Docker image if pool size is empty 2021-11-09 17:49:51 +01:00
e210795277 Regenrate schema with latest Rails 6.1 framework 2021-11-09 17:39:16 +01:00
72501211a6 Fix issue when migrating an empty database 2021-11-09 17:38:58 +01:00
7d032e5c0d Buffer: Prevent replacement of "\r" message 2021-11-08 23:33:37 +01:00
e224e41564 Exercise view: Re-use @execution_environments 2021-11-08 22:39:10 +01:00
1dce6c59ab Add note about default ACL for Docker mount dir 2021-11-08 22:39:10 +01:00
5401ebb54d Revert "DCP: previous_data match should be non-greedy"
This reverts commit 328055e6e8 due to dramatically slower processing.
2021-11-08 20:06:55 +01:00
61d564eb33 Update bundle 2021-11-08 10:14:56 +01:00
3ad4890ad4 Use JSON as default for remote evaluation 2021-11-08 10:14:49 +01:00
ed4a6fc0c7 Merge pull request #1081 from openHPI/dependabot/bundler/rubocop-rspec-2.6.0
Bump rubocop-rspec from 2.5.0 to 2.6.0
2021-11-08 10:10:24 +01:00
bc1e85556b Bump rubocop-rspec from 2.5.0 to 2.6.0
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 03:01:12 +00:00
9a541998e4 Optimize RegEx 2021-11-06 02:15:03 +01:00
d26947f724 Update jQuery plugins 2021-11-06 02:00:16 +01:00
75d0d28e8b Shell: Refactor usage of methods and const 2021-11-06 01:05:45 +01:00
59d2a8ecdb Junit5: Specify line to search for assertion error 2021-11-06 00:03:45 +01:00
49d8bebb48 Merge pull request #1080 from openHPI/codeql-analysis
Create codeql-analysis.yml
2021-11-05 09:46:42 +01:00
0a552cac44 Create codeql-analysis.yml 2021-11-05 09:32:56 +01:00
b179dadce6 Mock CodeOcean::Config for Poseidon strategy 2021-11-04 20:09:20 +01:00
79e8caea45 Remove outdated execution environments after syncing all 2021-11-04 20:09:20 +01:00
054d35b8d3 Add environments method to all strategies 2021-11-04 20:09:19 +01:00
79da2781e3 Restructure methods in execution_environment.rb 2021-11-04 20:09:19 +01:00
94170ea742 DCP: Improve error handling for destroy_at_management 2021-11-04 20:09:19 +01:00
c1ac401a49 Add retries to working_docker_image?
* Also synchronize images during save
2021-11-04 20:09:19 +01:00
ecf470bddd Refactor sync_environment methods
* Add delete_environment method
* Change return value to allow raising an exception
2021-11-04 20:06:40 +01:00
38e1f5b486 Show error details of available_images 2021-11-04 20:06:40 +01:00
7f47af99cb Fix order-dependent specs 2021-11-04 19:15:33 +01:00
d033f71ae3 Catch Runner::Error in RemoteEvaluationController 2021-11-04 18:43:16 +01:00
4cd70f2bad Add comment for retries to Runner#execute_command 2021-11-04 18:43:16 +01:00
92eafa145c Swap runner during score if timeout occurred 2021-11-04 18:43:16 +01:00
107ff03eec Bundle update 2021-11-04 17:19:45 +01:00
eb69697b9a Fix missing routes incompatible with a subpath 2021-11-03 16:02:21 +01:00
7bda3f1950 JUnit 4: Allow "exit" at the end of tests 2021-11-02 22:42:38 +01:00
91af20b5ce Disallow assessment files during run 2021-11-02 16:19:24 +01:00
0b4217b12d Memoize collect_files 2021-11-02 16:19:01 +01:00
e37683a1b2 Fix linting issue for PyLint adapter 2021-11-02 15:53:49 +01:00
3d3478d859 Test Adapters: Always use the last output for score runs
* This prevents learners from cheating by printing the required status line themselves
2021-11-02 15:52:49 +01:00
d7e515f1c6 Fix rubocop offense 2021-11-02 10:46:48 +01:00
620dac935a Fix bug that prevented binary file uploads 2021-11-02 10:31:50 +01:00
ebec5bac04 Merge pull request #1078 from openHPI/dependabot/bundler/net-http-persistent-4.0.1 2021-11-02 03:08:42 +00:00
5cda6d3ce8 Merge pull request #1077 from openHPI/dependabot/bundler/js-routes-2.1.2 2021-11-02 03:07:48 +00:00
c6bbd4f28e Bump net-http-persistent from 4.0.0 to 4.0.1
Bumps [net-http-persistent](https://github.com/drbrain/net-http-persistent) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/drbrain/net-http-persistent/releases)
- [Changelog](https://github.com/drbrain/net-http-persistent/blob/master/History.txt)
- [Commits](https://github.com/drbrain/net-http-persistent/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: net-http-persistent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 03:01:37 +00:00
fe0a1e2887 Bump js-routes from 2.1.1 to 2.1.2
Bumps [js-routes](https://github.com/railsware/js-routes) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/railsware/js-routes/releases)
- [Changelog](https://github.com/railsware/js-routes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/railsware/js-routes/compare/v2.1.1...v2.1.2)

---
updated-dependencies:
- dependency-name: js-routes
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 03:01:26 +00:00
7b834b420b Merge pull request #1076 from openHPI/runner_management
Enable support for runner management
2021-11-01 19:33:59 +01:00
c3642b5d0c Add an empty line before printing exit message
* The empty line is only added if the output is not empty
2021-11-01 17:52:44 +01:00
328055e6e8 DCP: previous_data match should be non-greedy 2021-11-01 17:13:15 +01:00
2c10b48b70 Execute Command: Guard requesting new runner
* If any exception is thrown, these will be caught now and handled appropriately
2021-11-01 17:13:15 +01:00
65fe1d902d DCP: Match java@hostname output 2021-11-01 17:13:15 +01:00