Commit graph

292 commits

Author SHA1 Message Date
Ilion Beyst
0f14dee499 refactor: rename save_code_bundle to save_code_string 2022-07-07 19:13:55 +02:00
Ilion Beyst
6ec792e3bd NewBotVersion 2022-07-07 18:57:46 +02:00
Ilion Beyst
d7b7585dd7 rename code_bundle to bot_version 2022-07-06 22:41:27 +02:00
Ilion Beyst
b3df5c6f8c migrate code_bundles to bot_versions 2022-07-05 20:34:20 +02:00
Ilion Beyst
8a47b948eb migrate code_bundles to bot_versions 2022-07-05 20:33:39 +02:00
Ilion Beyst
ea05674b44 remove obsolete create match route 2022-07-04 22:33:35 +02:00
Ilion Beyst
268e080ec1 Merge branch 'bot-api' into next 2022-07-04 20:16:42 +02:00
Ilion Beyst
bbed877554 cleanup and comments 2022-07-04 20:11:29 +02:00
Ilion Beyst
608d05bc16 update README 2022-07-03 22:01:00 +02:00
Ilion Beyst
7b88bb0502 use file metadata for returning data ranges and lengths 2022-07-01 20:45:26 +02:00
Ilion Beyst
419029738d verify blob digest on upload 2022-07-03 20:59:51 +02:00
Ilion Beyst
4d1c0a3289 make sure that all pushed data is actually written 2022-06-30 20:28:37 +02:00
Ilion Beyst
d7e4a1fd5c implement admin login 2022-06-27 21:20:05 +02:00
Ilion Beyst
f6fca3818a don't allow accessing non-existing repositories 2022-06-24 19:32:22 +02:00
Ilion Beyst
381ce040fd add auth to all registry routes 2022-06-21 22:45:59 +02:00
Ilion Beyst
059cd4fa0e implement basic auth checking 2022-06-20 22:14:15 +02:00
Ilion Beyst
951cb29311 upgrade to axum 0.5 2022-06-20 22:01:26 +02:00
Ilion Beyst
a2a8a41689 rename route handler methods 2022-06-20 20:27:51 +02:00
Ilion Beyst
478094abcf basic docker login PoC 2022-06-19 22:34:01 +02:00
Ilion Beyst
2cde7ec673 support docker pull 2022-06-18 12:42:03 +02:00
Ilion Beyst
b90b3d3635 store blobs in sha256 directory 2022-06-17 19:01:40 +02:00
Ilion Beyst
dde0bc820e accept docker push 2022-06-12 21:03:41 +02:00
Ilion Beyst
7a3b801f58 use RunMatch in bot_api service 2022-06-11 17:50:44 +02:00
Ilion Beyst
cf248ff41a replace 'target' with 'destination' in rules. Thanks @rien! 2022-06-11 13:30:09 +02:00
Ilion Beyst
a376698073 update RunMatch helper to allow for remote bots 2022-06-10 21:49:32 +02:00
Ilion Beyst
5ee66c9c9b allow match_player code_bundle_id to be null 2022-06-10 21:09:33 +02:00
Ilion Beyst
d1977b95c8 consistently use player_key and player_id 2022-06-09 20:57:45 +02:00
Ilion Beyst
e3cf0df450 update client to request matches 2022-06-08 23:24:32 +02:00
Ilion Beyst
1b2472fbfc implement grpc match creation PoC 2022-06-08 22:37:38 +02:00
Ilion Beyst
028d4a99e4 run bot process in client 2022-06-07 20:16:42 +02:00
Ilion Beyst
ff061f2a7a timeout when player never connects 2022-06-07 19:12:49 +02:00
Ilion Beyst
69421d7b25 bot api: handle timeouts and disconnects 2022-06-06 20:23:01 +02:00
Ilion Beyst
2f915af919 send player_id through request metadata 2022-06-06 14:25:56 +02:00
Ilion Beyst
d0faec7d1f implement PlayerRouter 2022-06-06 13:08:43 +02:00
Ilion Beyst
90ecb13a17 baby steps towards a working bot api 2022-06-05 21:22:38 +02:00
Ilion Beyst
b2bfe988b4 docker_runner: disable cpu limits 2022-06-04 17:21:50 +02:00
Ilion Beyst
9087daa205 ranker: implement weight and bias 2022-06-04 17:03:50 +02:00
Ilion Beyst
f899fba8ad implement MLE ranker 2022-06-04 15:08:45 +02:00
Ilion Beyst
c3d32e051c basic bot api proto definition 2022-06-03 21:24:18 +02:00
Ilion Beyst
0f80b19614 set up stub grpc client 2022-06-01 20:19:13 +02:00
Ilion Beyst
af5cd69f7b set up gprc server 2022-05-31 21:08:56 +02:00
Ilion Beyst
ef19e3a9e7 significantly lower max_update to obtain a stable ranking 2022-05-30 21:03:09 +02:00
Ilion Beyst
6e1167ee9e save match winner in database 2022-05-29 11:41:52 +02:00
Ilion Beyst
80c60ac69c Merge branch 'feature/leaderboard' 2022-05-28 11:22:44 +02:00
Ilion Beyst
fadcda8503 fix order of arguments in ranker 2022-05-28 11:22:00 +02:00
Ilion Beyst
06ac7a370c implement simple elo rating 2022-05-27 21:57:44 +02:00
Ilion Beyst
643c0e7706 set roboto as default font 2022-05-23 21:24:12 +02:00
Ilion Beyst
6885361204 show confirmation on succesful bot save 2022-05-23 21:13:09 +02:00
Ilion Beyst
4d6a9591d8 add scroll bar to match history 2022-05-22 15:01:02 +02:00
Ilion Beyst
b1151f6ac7 add resource limits to bots 2022-05-21 16:44:58 +02:00