Jan-Eric Hellenberg
94f02fad02
Add tests for LoadAvailableRunners method
2021-05-11 14:26:05 +02:00
Jan-Eric Hellenberg
bb757c7375
Only load available runners
2021-05-11 14:26:04 +02:00
Jan-Eric Hellenberg
bc2924666a
Reduce prewarming pool size of default execution environment
2021-05-11 14:20:08 +02:00
Sebastian Serth
035d1eb795
Remove error handling for fetching runner from /execute
2021-05-10 16:28:35 +02:00
Jan-Eric Hellenberg
ec1968ecf5
Add e2e-test for delete runner route
2021-05-10 16:28:35 +02:00
Jan-Eric Hellenberg
ba51956ec3
Add destroy runner route
2021-05-10 16:28:35 +02:00
Jan-Eric Hellenberg
e45cd92557
Fix bad import rebase artifacts
2021-05-10 12:59:18 +00:00
Jan-Eric Hellenberg
13052fa021
Throw fatal on wrong data type in runnerpool
2021-05-10 12:59:18 +00:00
Jan-Eric Hellenberg
abb1ce1bf8
Add EntityStore interface
2021-05-10 12:59:18 +00:00
Maximilian Paß
dba7160a41
Implement merge request review comments
2021-05-10 12:14:56 +02:00
Maximilian Paß
0dc4d28c1b
Add e2e tests in ci stage
2021-05-07 12:54:15 +02:00
Konrad Hanff
77f84ccf56
Fix execute response
2021-05-06 10:30:27 +02:00
Tobias Kantusch
c7433456d0
Add nomad address to deployment config
2021-05-06 07:49:25 +00:00
Konrad Hanff
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
Konrad Hanff
07cdf17eb4
Move execution request map to runners
2021-05-06 08:03:48 +02:00
Konrad Hanff
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
Konrad Hanff
6a00ea3165
Implement runners execute route
...
Co-authored-by: Tobias Kantusch <tobias.kantusch@student.hpi.uni-potsdam.de >
2021-05-06 08:03:48 +02:00
Felix Auringer
c571d4635d
Delete old example file "configuration.yaml.example"
2021-05-05 15:07:10 +02:00
sirkrypt0
e230ea854c
Properly reset global state in auth tests
2021-05-05 13:56:42 +02:00
Felix Auringer
9efd08a4c0
Add more tests to the config package, use test tables
2021-05-05 10:39:36 +00:00
Felix Auringer
0808245989
Adapt readme to new changes in configuration
2021-05-05 10:39:36 +00:00
Felix Auringer
7a2f434171
Change default port of Poseidon to 7200
2021-05-05 10:39:36 +00:00
Felix Auringer
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
Felix Auringer
da38f56f64
Use url from config
2021-05-05 11:37:48 +02:00
sirkrypt0
edfee24d1c
Move Nomad CI files to ci directory
2021-05-04 14:25:44 +00:00
sirkrypt0
3685077e8a
Add documentation on authentication
2021-05-04 15:22:36 +02:00
sirkrypt0
971074613e
Add tests for authenticated router
2021-05-04 15:22:36 +02:00
sirkrypt0
456ad4333d
Make health route unauthenticated
2021-05-04 15:11:37 +02:00
sirkrypt0
5891a8c48b
Use authentication middleware
2021-05-04 15:10:43 +02:00
sirkrypt0
99ee8c6dfb
Add authentication middleware
2021-05-04 15:08:06 +02:00
Maximilian Paß
c092199693
Add basic nomad integration and runner provider
2021-05-04 13:08:04 +02:00
sirkrypt0
40a22ecbb1
Move http server start from main to runServer
2021-05-04 09:35:57 +00:00
sirkrypt0
50b3836d25
Add TLS documentation
2021-05-04 09:35:57 +00:00
sirkrypt0
b744d7f16c
Add tls configuration
2021-05-04 09:35:57 +00:00
sirkrypt0
f401ebb3c4
Build nomad-ci image in pipeline
2021-05-04 08:15:34 +02:00
sirkrypt0
2c049afaa6
Make pipeline wait for successful Nomad deployment
2021-05-04 08:15:26 +02:00
sirkrypt0
b7009bee6c
Add badges to README
2021-04-30 15:49:14 +02:00
sirkrypt0
cff6997337
Add coverage report
2021-04-30 15:40:54 +02:00
Konrad Hanff
a23ed540ef
Add API definition
2021-04-30 07:14:02 +00:00
sirkrypt0
776152621e
Use new logger in config
2021-04-30 08:25:52 +02:00
sirkrypt0
5e336d4d4a
Add tests for logging middleware
2021-04-30 08:25:52 +02:00
sirkrypt0
5182873137
Add structured logging
2021-04-30 08:25:40 +02:00
Felix Auringer
b6425a45b5
Add documentation for all possible configuration possibilities
2021-04-29 12:20:41 +02:00
Felix Auringer
92981072f0
Add example for a configuration.yaml
2021-04-29 12:20:41 +02:00
Felix Auringer
edb609c1a9
Add tests for the configuration parsing
2021-04-29 12:20:34 +02:00
Felix Auringer
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
Tobias Kantusch
13c0752d99
Update .gitlab-ci.yml
2021-04-28 15:04:43 +00:00
sirkrypt0
8b6fef3c34
Change default port to 3000
2021-04-28 15:08:28 +02:00
tobias.kantusch
8504e1a749
Add automatic deployment
2021-04-28 15:08:28 +02:00
Felix Auringer
be04fb5abd
Add documentation for docker image
2021-04-28 11:13:01 +02:00