|
5bb3c6745e
|
Add tests for job store, Len and Sample method of pool
|
2021-05-19 14:52:03 +02:00 |
|
|
17c9839fac
|
Refactor runners and websocket tests
|
2021-05-19 14:52:03 +02:00 |
|
|
fe2ec4df35
|
Incorporate review comments
|
2021-05-19 14:52:03 +02:00 |
|
|
0590f31200
|
Refactor setup of runner manager test suite
|
2021-05-19 14:52:03 +02:00 |
|
|
5d5f175f52
|
Implement http.Hijack interface in HTTPLoggingMiddleware
|
2021-05-19 14:52:03 +02: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 |
|
|
0d697bfd67
|
Merge e2e and deploy-review Nomad job for CI
This way we don't have to manage two separate job files.
|
2021-05-18 12:10:39 +00:00 |
|
|
24b7f1a2fa
|
Create demo job when deploying for review
|
2021-05-18 12:10:39 +00:00 |
|
|
b141a6870e
|
Use Nomad namespace in CI
|
2021-05-18 12:10:39 +00:00 |
|
|
6da9080bce
|
Add option to configure Nomad namespace
|
2021-05-18 12:10:39 +00:00 |
|
|
d83e0e4548
|
Adjust README to use make targets
|
2021-05-18 06:16:09 +00:00 |
|
|
3b8e757ba8
|
Use make in CI
|
2021-05-18 06:16:09 +00:00 |
|
|
676d5f1e8d
|
Add Makefile
|
2021-05-18 06:16:09 +00:00 |
|
|
1f921b2ce2
|
Resolve merge conflicts
|
2021-05-12 12:02:12 +02:00 |
|
|
cee5eee622
|
Rename job scale functions to be consistent in naming
|
2021-05-12 10:46:15 +02:00 |
|
|
a2a9ed367a
|
Add tests for api client creation
|
2021-05-12 10:46:11 +02:00 |
|
|
9879b152e5
|
Add tests for Nomad job registration
|
2021-05-12 07:52:22 +00:00 |
|
|
dfd34144f8
|
Store default Nomad job in apiClient to cache it
|
2021-05-12 07:52:22 +00:00 |
|
|
9a5d982dfc
|
Parse default job on client side
|
2021-05-12 07:52:22 +00:00 |
|
|
1aaad5c5fe
|
Add default Nomad job and job creation
|
2021-05-12 07:52:22 +00:00 |
|
|
5a5ab8f02b
|
Implement merge request review comments
|
2021-05-12 09:01:25 +02:00 |
|
|
ed735f284f
|
Add tests for websocket connection
Co-authored-by: Konrad Hanff <konrad.hanff@student.hpi.uni-potsdam.de>
|
2021-05-12 09:01:25 +02:00 |
|
|
465577fea6
|
Add basic websocket structure and request upgrader
|
2021-05-12 09:01:25 +02:00 |
|
|
e07e8216f2
|
Deploy review only manually
|
2021-05-11 13:52:02 +00:00 |
|
|
deb4a8b116
|
Build Docker image and deploy API only if tests succeed
|
2021-05-11 13:52:02 +00:00 |
|
|
c455353925
|
Increase timeout for golang ci lint
|
2021-05-11 14:29:26 +02:00 |
|
|
fde334a610
|
Perform a few renamings
|
2021-05-11 14:26:05 +02:00 |
|
|
54df1e8ec8
|
Move api querier to own file
|
2021-05-11 14:26:05 +02:00 |
|
|
9a2181afc9
|
Add note to readme about how to generate mocks which follow the naming scheme
|
2021-05-11 14:26:05 +02:00 |
|
|
c9a5299f0c
|
Exclude Mock files from coverage
|
2021-05-11 14:26:05 +02:00 |
|
|
94f02fad02
|
Add tests for LoadAvailableRunners method
|
2021-05-11 14:26:05 +02:00 |
|
|
bb757c7375
|
Only load available runners
|
2021-05-11 14:26:04 +02:00 |
|
|
bc2924666a
|
Reduce prewarming pool size of default execution environment
|
2021-05-11 14:20:08 +02:00 |
|
|
035d1eb795
|
Remove error handling for fetching runner from /execute
|
2021-05-10 16:28:35 +02:00 |
|
|
ec1968ecf5
|
Add e2e-test for delete runner route
|
2021-05-10 16:28:35 +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 |
|
|
13052fa021
|
Throw fatal on wrong data type in runnerpool
|
2021-05-10 12:59:18 +00:00 |
|
|
abb1ce1bf8
|
Add EntityStore interface
|
2021-05-10 12:59:18 +00:00 |
|
|
dba7160a41
|
Implement merge request review comments
|
2021-05-10 12:14:56 +02:00 |
|
|
0dc4d28c1b
|
Add e2e tests in ci stage
|
2021-05-07 12:54:15 +02:00 |
|
|
77f84ccf56
|
Fix execute response
|
2021-05-06 10:30:27 +02:00 |
|
|
c7433456d0
|
Add nomad address to deployment config
|
2021-05-06 07:49:25 +00: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 |
|
|
07cdf17eb4
|
Move execution request map to runners
|
2021-05-06 08:03:48 +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 |
|
|
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 |
|
|
c571d4635d
|
Delete old example file "configuration.yaml.example"
|
2021-05-05 15:07:10 +02:00 |
|
|
e230ea854c
|
Properly reset global state in auth tests
|
2021-05-05 13:56:42 +02:00 |
|
|
9efd08a4c0
|
Add more tests to the config package, use test tables
|
2021-05-05 10:39:36 +00:00 |
|