c7606f3d5f
Fix a lot of linting issues
...
After we introduced the linter we haven't really touched the old code.
This commit now fixes all linting issue that exist right now.
2021-07-13 08:59:25 +02:00
2e4a975588
Implement even more merge request comments
2021-06-15 12:05:51 +02:00
87f823756b
Implement merge request comments
2021-06-15 11:37:47 +02:00
25d78df557
Restore existing jobs and fix rebase (7c99eff3) issues
2021-06-15 11:37:35 +02:00
d0a2a1d96c
Add tests for receiving allocation updates from Nomad
2021-06-09 08:35:20 +00:00
3f572261c2
Add updating cached allocations
2021-06-09 08:35:20 +00:00
83ea552cf7
Refactor interfaces to use a runner manager and an environment manager.
...
See https://gitlab.hpi.de/codeocean/codemoon/poseidon/-/issues/44 .
2021-05-19 14:52:03 +02:00
6da9080bce
Add option to configure Nomad namespace
2021-05-18 12:10:39 +00:00
fde334a610
Perform a few renamings
2021-05-11 14:26:05 +02:00
ba51956ec3
Add destroy runner route
2021-05-10 16:28:35 +02:00
e45cd92557
Fix bad import rebase artifacts
2021-05-10 12:59:18 +00:00
abb1ce1bf8
Add EntityStore interface
2021-05-10 12:59:18 +00:00
0dc4d28c1b
Add e2e tests in ci stage
2021-05-07 12:54:15 +02:00
52b80583b5
Implement review suggestions
...
Improve logging, constants for routes, RWMutex for ExerciseRunners,
use url.URL for websocket url building
2021-05-06 09:38:00 +02:00
612bc55bdd
Add tests for runners execute route
...
Co-authored-by: Tobias Kantusch <tobias.kantusch@student.hpi.uni-potsdam.de >
2021-05-06 08:03:48 +02:00
c497e2f19c
Improve configuration with config file
...
This adds explanations to the example config file, renames the file
in order to enable yaml syntax highlighting and fixes the parsing of
the flag specifying where to find the configuration file.
2021-05-05 10:39:36 +00:00
c092199693
Add basic nomad integration and runner provider
2021-05-04 13:08:04 +02:00
40a22ecbb1
Move http server start from main to runServer
2021-05-04 09:35:57 +00:00
b744d7f16c
Add tls configuration
2021-05-04 09:35:57 +00:00
5182873137
Add structured logging
2021-04-30 08:25:40 +02:00
f95d96acd8
Add option to configure poseidon
...
It exists a default configuration. It can be overwritten by adding
a configuration.yaml. This can again be overwritten by environment
variables.
2021-04-29 12:10:38 +02:00
8b6fef3c34
Change default port to 3000
2021-04-28 15:08:28 +02:00
2d71584464
Change project name to Poseidon
2021-04-28 10:26:59 +02:00
78668ad430
Add graceful shutdown option to webserver
2021-04-27 08:42:35 +02:00
38ecc02a79
Add api package serving our api routes using gorilla/mux
2021-04-26 12:46:38 +02:00
be93c36cc8
Add Hello CodeMoon with test
2021-04-26 11:15:50 +02:00