Commit graph

35 commits

Author SHA1 Message Date
Ilion Beyst
c7d9734067 client: don't freeze when bot does not produce output 2022-11-27 11:26:38 +01:00
Ilion Beyst
f777baa4f2 test playeroutcomes 2022-09-27 07:14:47 +02:00
Ilion Beyst
2a37b96da2 track player status and return player outcomes from match 2022-09-26 19:57:22 +02:00
Ilion Beyst
b7bcbdd3a6 propagate PlayerAction::Terminated 2022-09-25 11:06:50 +02:00
Ilion Beyst
f7261e165b detect bot crashes 2022-09-24 23:37:23 +02:00
Ilion Beyst
e86fbc7275 test regular docker runner operation 2022-09-24 22:21:38 +02:00
Ilion Beyst
6cc629a3b7 refactor: helpers for match setup 2022-09-24 22:14:36 +02:00
Ilion Beyst
332b3e4a13 remove unused function and file 2022-09-23 21:42:24 +02:00
Ilion Beyst
a1d81ac774 ensure bots cleanly stop before a match completes 2022-09-23 21:34:57 +02:00
Ilion Beyst
8f3621813e test docker runner timeouts 2022-09-22 19:38:09 +02:00
Ilion Beyst
9643ccf6d6 add a basic matchrunner test 2022-09-20 21:11:19 +02:00
Ilion Beyst
3be0cfa0ea log dispatches and timeouts 2022-09-18 13:00:32 +02:00
Ilion Beyst
518ad1d811 log initial state 2022-09-17 11:30:52 +02:00
Ilion Beyst
36c16aa8c7 log bad commands 2022-09-15 21:59:03 +02:00
Ilion Beyst
ecd378f0d9 remove obsolete test code 2022-09-15 18:07:28 +02:00
Ilion Beyst
0ce40a9f31 raise turn limit to 500 2022-08-28 15:47:31 +02:00
Ilion Beyst
93c4306b10 pull docker bots before running them 2022-07-24 23:08:51 +02:00
Ilion Beyst
0b9a9f0eaa tying it together: execute docker bots 2022-07-11 20:43:10 +02:00
Ilion Beyst
b2bfe988b4 docker_runner: disable cpu limits 2022-06-04 17:21:50 +02:00
Ilion Beyst
80c60ac69c Merge branch 'feature/leaderboard' 2022-05-28 11:22:44 +02:00
Ilion Beyst
b1151f6ac7 add resource limits to bots 2022-05-21 16:44:58 +02:00
Ilion Beyst
c873f3a1cb stop and remove bot containers after match is finished 2022-05-21 14:20:38 +02:00
Ilion Beyst
7b142554d8 move match running logic to separate module 2022-04-28 21:31:49 +02:00
Ilion Beyst
450d22758e return winner when running a match 2022-04-27 20:08:48 +02:00
Ilion Beyst
fd52e266c6 apply clippy suggestions 2022-03-13 15:20:03 +01:00
Ilion Beyst
54b9694f0d implement matchlogger 2022-02-23 21:08:56 +01:00
Ilion Beyst
0a102a9371 remove send_info method 2022-02-03 20:46:40 +01:00
Ilion Beyst
a79b338e90 run all bots in python docker for now 2022-01-23 13:23:23 +01:00
Ilion Beyst
f62196d983 implement docker runner 2022-01-22 14:32:43 +01:00
Ilion Beyst
3dd940321c define interface for running containerized bots 2022-01-22 12:41:29 +01:00
Ilion Beyst
c569070d5c mount a code bundle into executor container 2022-01-20 20:30:56 +01:00
Ilion Beyst
5f1c7385c7 docker bot runner PoC 2022-01-20 20:57:39 +01:00
Ilion Beyst
3e18c840d1 running a bot in docker PoC 2022-01-18 20:17:13 +01:00
Ilion Beyst
02c0e41b80 Bollard 2022-01-17 23:35:23 +01:00
Ilion Beyst
4a077c7c65 extract matchrunner crate from planetwars-cli 2022-01-01 12:10:02 +01:00